forums
new posts
donate
UER Store
events
location db
db map
search
members
faq
terms of service
privacy policy
register
login




1 2 3  
UER Forum > Private Boards Index > Tech Talk > UER Clientside Tools (Viewed 13540 times)
makman 


Location: Rochester, NY
Gender: Male
Total Likes: 0 likes


I live alone with a criminal

 |  | 
UER Clientside Tools
< on 12/7/2010 12:55 AM >
Reply with Quote
Posted on Forum: UER Forum
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."
makman 


Location: Rochester, NY
Gender: Male
Total Likes: 0 likes


I live alone with a criminal

 |  | 
Re: UER Clientside Tools
< Reply # 1 on 12/7/2010 12:57 AM >
Reply with Quote
Posted on Forum: UER Forum
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."
makman 


Location: Rochester, NY
Gender: Male
Total Likes: 0 likes


I live alone with a criminal

 |  | 
Re: UER Clientside Tools
< Reply # 2 on 12/7/2010 6:45 AM >
Reply with Quote
Posted on Forum: UER Forum
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."
jacunda 


Location: Toledo area
Gender: Male
Total Likes: 12 likes




 |  |  | Yahoo! IM
Re: UER Clientside Tools
< Reply # 3 on 12/7/2010 1:03 PM >
Reply with Quote
Posted on Forum: UER Forum
Sounds like a sweet project.




trent 

I'm Trent! Get Bent!


Location: Drainwhale hunting
Gender: Male
Total Likes: 9 likes


Not on UER anymore.

 |  |  | infinitedecay
Re: UER Clientside Tools
< Reply # 4 on 12/7/2010 3:17 PM >
Reply with Quote
Posted on Forum: UER Forum
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.
makman 


Location: Rochester, NY
Gender: Male
Total Likes: 0 likes


I live alone with a criminal

 |  | 
Re: UER Clientside Tools
< Reply # 5 on 12/8/2010 3:23 AM >
Reply with Quote
Posted on Forum: UER Forum
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."
nostra-YOUPPI! 

Umpire


Location: Shahre:'on Kaybec
Total Likes: 165 likes


Bonsoir et cest partie

 |  | 
Re: UER Clientside Tools
< Reply # 6 on 12/8/2010 4:35 AM >
Reply with Quote
Posted on Forum: UER Forum
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
makman 


Location: Rochester, NY
Gender: Male
Total Likes: 0 likes


I live alone with a criminal

 |  | 
Re: UER Clientside Tools
< Reply # 7 on 12/8/2010 5:45 AM >
Reply with Quote
Posted on Forum: UER Forum
Posted by nostra-YOUPPI!
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


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."
pianissimo357 


Total Likes: 0 likes




 |  | 
Re: UER Clientside Tools
< Reply # 8 on 12/10/2010 7:36 PM >
Reply with Quote
Posted on Forum: UER Forum
Working on porting this to Greasemonkey for Firefox.




pianissimo357 


Total Likes: 0 likes




 |  | 
Re: UER Clientside Tools
< Reply # 9 on 12/10/2010 8:54 PM >
Reply with Quote
Posted on Forum: UER Forum
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.




trent 

I'm Trent! Get Bent!


Location: Drainwhale hunting
Gender: Male
Total Likes: 9 likes


Not on UER anymore.

 |  |  | infinitedecay
Re: UER Clientside Tools
< Reply # 10 on 12/10/2010 8:55 PM >
Reply with Quote
Posted on Forum: UER Forum
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.
jacunda 


Location: Toledo area
Gender: Male
Total Likes: 12 likes




 |  |  | Yahoo! IM
Re: UER Clientside Tools
< Reply # 11 on 12/10/2010 9:11 PM >
Reply with Quote
Posted on Forum: UER Forum
Great Job!




pianissimo357 


Total Likes: 0 likes




 |  | 
Re: UER Clientside Tools
< Reply # 12 on 12/13/2010 2:54 AM >
Reply with Quote
Posted on Forum: UER Forum
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.




makman 


Location: Rochester, NY
Gender: Male
Total Likes: 0 likes


I live alone with a criminal

 |  | 
Re: UER Clientside Tools
< Reply # 13 on 12/13/2010 4:56 AM >
Reply with Quote
Posted on Forum: UER Forum
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."
trent 

I'm Trent! Get Bent!


Location: Drainwhale hunting
Gender: Male
Total Likes: 9 likes


Not on UER anymore.

 |  |  | infinitedecay
Re: UER Clientside Tools
< Reply # 14 on 12/13/2010 1:12 PM >
Reply with Quote
Posted on Forum: UER Forum
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.
jacunda 


Location: Toledo area
Gender: Male
Total Likes: 12 likes




 |  |  | Yahoo! IM
Re: UER Clientside Tools
< Reply # 15 on 12/13/2010 1:21 PM >
Reply with Quote
Posted on Forum: UER Forum
You guys are my hero's!




makman 


Location: Rochester, NY
Gender: Male
Total Likes: 0 likes


I live alone with a criminal

 |  | 
Re: UER Clientside Tools
< Reply # 16 on 12/13/2010 4:29 PM >
Reply with Quote
Posted on Forum: UER Forum
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."
makman 


Location: Rochester, NY
Gender: Male
Total Likes: 0 likes


I live alone with a criminal

 |  | 
Re: UER Clientside Tools
< Reply # 17 on 12/15/2010 3:43 AM >
Reply with Quote
Posted on Forum: UER Forum
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."
pianissimo357 


Total Likes: 0 likes




 |  | 
Re: UER Clientside Tools
< Reply # 18 on 12/15/2010 4:08 AM >
Reply with Quote
Posted on Forum: UER Forum
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.




makman 


Location: Rochester, NY
Gender: Male
Total Likes: 0 likes


I live alone with a criminal

 |  | 
Re: UER Clientside Tools
< Reply # 19 on 12/15/2010 4:13 AM >
Reply with Quote
Posted on Forum: UER Forum
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."
UER Forum > Private Boards Index > Tech Talk > UER Clientside Tools (Viewed 13540 times)
1 2 3  


Add a poll to this thread



This thread is in a public category, and can't be made private.



All content and images copyright © 2002-2024 UER.CA and respective creators. Graphical Design by Crossfire.
To contact webmaster, or click to email with problems or other questions about this site: UER CONTACT
View Terms of Service | View Privacy Policy | Server colocation provided by Beanfield
This page was generated for you in 203 milliseconds. Since June 23, 2002, a total of 738475782 pages have been generated.