|
I've recently found myself hacking together a few tools to make life on UER a bit nicer. These have generally taken the form of javascripts (chrome extensions and/or greasemonkey scripts). It seems like it might be useful to post these in one place. Since I'm currently working on a local-storage version of the old advanced read-states and I'll soon have to put together another anti-christmas script, now seems as good a time as any. If anyone else has any tools they've written for UER, feel free to post them if you want.
Be careful, not safe. "Urbex- so much fun that it should be illegal." |
|
Read State Restorer It should be possible to implement the old read-state system using javascript and the new web storage spec. I'll update this post as I work on it. Current State: Nearly working for the New Posts page. Doing the forums is going to be trickier. HG repo: https://sse.se.rit...7/uer_read_states/
[last edit 12/7/2010 4:55 AM by makman - edited 1 times]
Be careful, not safe. "Urbex- so much fun that it should be illegal." |
|
Humbug A de-christmasifying extension. I really only care about the really obnoxious ones (the following santa, mainly), but I'll try to tackle all of it, just as an exercise. It looks like the few changes so far are just replacing various image sources, swapping "/forum/whatever.gif" for "/forum-xmas/whatever.gif". Kills all christmas stuff as of 12/7/10. HG Repo: https://sse.se.rit...mk3817/uer_humbug/ I'll package it to a chrome extension shortly. Update: http://kevinkuchta...mbug1_0/humbug.crx
[last edit 12/8/2010 3:23 AM by makman - edited 3 times]
Be careful, not safe. "Urbex- so much fun that it should be illegal." |
|
Sounds like a sweet project.
|
|
Keep on keeping on man. Lemme know if you need any help? I haven't used JS in a couple years, but there's definitely some fun things that can be done.
He who rules the underground, rules the city above. |
|
Humbug 1.0 (chrome plugin) released: http://kevinkuchta...mbug1_0/humbug.crx
Be careful, not safe. "Urbex- so much fun that it should be illegal." |
|
has anyone ever thought to just use one of the other UER skins, http://www.uer.ca/...showcats.asp?fid=3 the infiltration.org skin never gets Christmasfied, the others only get a diet Christmasification http://www.uer.ca/...showcats.asp?fid=7 http://www.uer.ca/...showcats.asp?fid=5 http://www.uer.ca/...showcats.asp?fid=9
Montreal Expos 1969-2004 Forever Proud Lets Keep The Dream Alive |
|
Heh- can't believe I didn't think of that. However, I'm already invested in moding the current theme, so I'm going to keep going anyway for fun.
Be careful, not safe. "Urbex- so much fun that it should be illegal." |
|
Working on porting this to Greasemonkey for Firefox.
|
|
Greasemonkey port of makman's Humbug extension: Initial version @ http://pastebin.ca/2015856 Copy/paste the contents into a text file Save the file as UER_Humbug.user.js <- make sure your text editor isn't adding .txt to the end Download & install Greasemonkey plugin for Firefox if you don't have it already Drag & drop the .js file you saved into Firefox & accept the installation
Currently, you'll get a flash of the christmas spirit on page load, but once Greasemonkey kicks in it disappears.
|
|
Awesome sauce. Edit: Just got around to trying it at home. Slick shit. Nice work guys.
[last edit 12/10/2010 9:40 PM by trent - edited 1 times]
He who rules the underground, rules the city above. |
|
Great Job!
|
|
Update for reindeer and music: http://pastebin.ca/2017913
In the code for the forum: // idiot reindeer script written by av // merry xmas, you fuckers! mwahahahaha // I also updated the names to screw with makman.
|
|
Posted by pianissimo357 Update for reindeer and music: http://pastebin.ca/2017913
In the code for the forum: // idiot reindeer script written by av // merry xmas, you fuckers! mwahahahaha // I also updated the names to screw with makman.
|
Beat me to it; Same thing, but jqueryish:
$("#rAin1").hide(); $("#rAin2").hide(); $("#rAin3").hide(); $("#rAin4").hide(); $("#rAin5").hid e(); $("#rAin6").hide(); $("#rAin7").hide(); $("#rAin8").hide(); $("#rAin9").hide(); $("object#m usic1").hide();
|
Also, updated version of the chrome plugin: http://kevinkuchta...mbug1_0/humbug.crx
Be careful, not safe. "Urbex- so much fun that it should be illegal." |
|
Posted by pianissimo357 In the code for the forum: // idiot reindeer script written by av // merry xmas, you fuckers! mwahahahaha // I also updated the names to screw with makman.
|
Wasn't that from last year?
He who rules the underground, rules the city above. |
|
You guys are my hero's!
|
|
Posted by trent
Wasn't that from last year?
|
Yep. I was doing a greasemonkey script to remove the reindeer only. A bit more ambitious now.
Be careful, not safe. "Urbex- so much fun that it should be illegal." |
|
A heads-up to anyone running my script- AV's got a nice little script in place that detects the presence of the santa image. If it fails (eg, if my extension is in place), it'll redirect to lemonparty.com (very nsfw). Should be fixed pretty soon.
Be careful, not safe. "Urbex- so much fun that it should be illegal." |
|
He'll just keep updating his code to break ours. Hope you're in for a fight. You might want to move updates to by-PM-request-only to keep prying eyes away.
|
|
Hey, I'm up for a battle . My js-foo is pretty weak- I could use the practice. The last version of the chrome script included an update url, so I should be able to push updates to anyone using it. Also, his scripts can be killed with:
$("body").append( $('<script language="javascript">checkHack=function(){}</script>') ); |
I'll update as soon as I can. Edit: All fixed. Newest versions in the hg repo- I'll package it and post it as an update shortly.
[last edit 12/15/2010 4:24 AM by makman - edited 1 times]
Be careful, not safe. "Urbex- so much fun that it should be illegal." |