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 13517 times)
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 # 40 on 12/20/2010 1:01 PM >
Reply with Quote
Posted on Forum: UER Forum
Silly Problem:



Silly Solution:


Continue using AdBlockPlus to kill reindeer, music, BG graphics, unwanted icons's, etc as I've been doing the past two Christmas's.

Use macro software already installed on my PC to disable JS only when navigating to UER but toggle it back on for any other websites.
EDIT: Or install the no-script Firefox plugin and let it deal with blocking UER's JS while allowing it on other sites. Also set it to allow UER JS & Flash as long as it isn't Christmas crap.



[last edit 12/20/2010 4:03 PM by trent - edited 2 times]

He who rules the underground, rules the city above.
Avatar-X 

Alpha Husky


Location: West Coast
Gender: Male
Total Likes: 765 likes


yay!

 |  |  | AvBrand
Re: UER Clientside Tools
< Reply # 41 on 12/20/2010 3:02 PM >
Reply with Quote
Posted on Forum: UER Forum
*shrug* but then other Javascript features don't work on UER. Whatever




huskies - such fluff.
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 # 42 on 12/20/2010 3:28 PM >
Reply with Quote
Posted on Forum: UER Forum
Posted by Avatar-X
*shrug* but then other Javascript features don't work on UER. Whatever



I haven't noticed a loss in functionality. As long as posts can be read/edited/posted I'm assuming most of the JS is for cosmetic purposes or other miscellaneous uses.




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 # 43 on 12/23/2010 8:51 PM >
Reply with Quote
Posted on Forum: UER Forum
A ) I appreciate the lack of lemonparty.

B ) New version up. My excuse for the delay is that I've been travelling to/around Atlanta for the holidays- I just pushed the update from a Borders coffee shop.



[last edit 12/23/2010 9:08 PM by makman - edited 1 times]

Be careful, not safe.

"Urbex- so much fun that it should be illegal."
\/adder 


Location: DunkarooLand
Gender: Male
Total Likes: 24 likes


I'm the worst of the best but I'm in this race.

 |  |  | 
Re: UER Clientside Tools
< Reply # 44 on 12/23/2010 9:03 PM >
Reply with Quote
Posted on Forum: UER Forum
Posted by trent


I haven't noticed a loss in functionality. As long as posts can be read/edited/posted I'm assuming most of the JS is for cosmetic purposes or other miscellaneous uses.


It screws up readstates (everything stays marked as unread until I log out) and some buttons ... such as the italicize button doesn't work I have to type
[i][/i]
by hand.

None of the alternate FIDs have a conveniently placed "New Posts/Recent Posts" button except the mobile one.




"No risk, no reward, no fun."
"Go all the way or walk away"
escensi omnis...
hyphen 


Location: Ontario, Canada
Gender: Male
Total Likes: 1 like




 |  | 
Re: UER Clientside Tools
< Reply # 45 on 12/24/2010 2:38 PM >
Reply with Quote
Posted on Forum: UER Forum
So I thought I'd check the new Humbug release to see if Av had outsmarted it yet, and I noticed that using it transports me to the future! Yes, that's right folks. Sans Humbug it's Dec 24, 2010, but when I have it enabled it magically becomes January 11, 2011!

Dunno if this is a bug, or Av's joke, but it sure messed with my head for a minute before I realized what was causing it.




Avatar-X 

Alpha Husky


Location: West Coast
Gender: Male
Total Likes: 765 likes


yay!

 |  |  | AvBrand
Re: UER Clientside Tools
< Reply # 46 on 12/24/2010 2:50 PM >
Reply with Quote
Posted on Forum: UER Forum
Who has time? It's christmas. Spend your time with your family and friends.

-av




huskies - such fluff.
Avatar-X 

Alpha Husky


Location: West Coast
Gender: Male
Total Likes: 765 likes


yay!

 |  |  | AvBrand
Re: UER Clientside Tools
< Reply # 47 on 12/24/2010 3:04 PM >
Reply with Quote
Posted on Forum: UER Forum
See, this is why I was against this stuff. Now you have gone too far, makman. Your newest version completely disables all of UER's javascript and then replaces it with a cached copy. This means that, even after XMAS is done, I can't release a new version of any of the JS on my site, because anyone who is still running your extension will see the old JS because it has been overwritten.

Your code also inserts UER's javascript onto every page, not just the ones that originally had it. This causes all sorts of other problems.

Playing with the XMAS theme is fun. But you've just unconditionally broken the site for all time.

-av




huskies - such fluff.
makman 


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


I live alone with a criminal

 |  | 
Re: UER Clientside Tools
< Reply # 48 on 12/24/2010 3:42 PM >
Reply with Quote
Posted on Forum: UER Forum
Posted by Avatar-X
See, this is why I was against this stuff. Now you have gone too far, makman. Your newest version completely disables all of UER's javascript and then replaces it with a cached copy. This means that, even after XMAS is done, I can't release a new version of any of the JS on my site, because anyone who is still running your extension will see the old JS because it has been overwritten.

Your code also inserts UER's javascript onto every page, not just the ones that originally had it. This causes all sorts of other problems.

Playing with the XMAS theme is fun. But you've just unconditionally broken the site for all time.

-av

There's no reason it would kill it for all time. My plan for some time, regardless of what humbug actually does by the end, has been to push an update that does nothing (pretty much just all code commented out or something) shortly after christmas. If you're really pissed enough despite that, I can just that now, though.

Failing that, I see what you mean with regards to the cached javascript being inserted in all pages, though- I'll have to look into another approach. Might not happen in time, though, tonight being Christmas Eve.



[last edit 12/24/2010 3:42 PM by makman - edited 1 times]

Be careful, not safe.

"Urbex- so much fun that it should be illegal."
Avatar-X 

Alpha Husky


Location: West Coast
Gender: Male
Total Likes: 765 likes


yay!

 |  |  | AvBrand
Re: UER Clientside Tools
< Reply # 49 on 12/24/2010 5:29 PM >
Reply with Quote
Posted on Forum: UER Forum
People are less likely to update your extension once the UER Xmas theme is switched off. Thus, the old code could hang around for a long, long time.

-av




huskies - such fluff.
\/adder 


Location: DunkarooLand
Gender: Male
Total Likes: 24 likes


I'm the worst of the best but I'm in this race.

 |  |  | 
Re: UER Clientside Tools
< Reply # 50 on 12/24/2010 5:42 PM >
Reply with Quote
Posted on Forum: UER Forum
Posted by Avatar-X
People are less likely to update your extension once the UER Xmas theme is switched off. Thus, the old code could hang around for a long, long time.

-av


Can't you just log who is using the foreign code and who isn't and then PM them to fix it? I can't imagine a lot of people are using makmans code to begin with.




"No risk, no reward, no fun."
"Go all the way or walk away"
escensi omnis...
Intrinsic 


Location: Collingwood
Gender: Male
Total Likes: 412 likes




 |  | 
Re: UER Clientside Tools
< Reply # 51 on 12/24/2010 6:35 PM >
Reply with Quote
Posted on Forum: UER Forum
Posted by Avatar-X
Playing with the XMAS theme is fun. But you've just unconditionally broken the site for all time.



Or until the Christmas theme is removed and we can return to a regular browser without special scripts.




makman 


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


I live alone with a criminal

 |  | 
Re: UER Clientside Tools
< Reply # 52 on 12/24/2010 7:18 PM >
Reply with Quote
Posted on Forum: UER Forum
Ok, I've pushed a blank update (ie, killed the script in the next update), as I probably won't have time to work on it until a few days after christmas. I might fix it to work for myself, but I probably won't publish it, since I just don't have the time right now.

Notes to self for next year:

- Add in a remote kill switch- maybe a callback to a server I control or something- so that I can shut it off after christmas without relying on people updating
- Configurable options for what to turn on/off (eg, mouse stuff, music, background)
- Set up a build/push script, as packaging/ftping was getting annoying.
- The kill-everything-and-replace-it system was, for the reasons AV pointed out, flawed. There'd need to be a system to gather all javascript content from all pages and store which ones go to which; this is ultimately more complex than a few other options.
- Look into the chrome/firefox extension system, and consider something more powerful than content scripts
- Try parsing the page in a document_start content script before it's loaded and analyze the code before it's run.
- Dynamic analysis of function bodies gets around any eval-related obfuscation, but it becomes boring fight as AV modifies the text of the function and I modify the text analysis. Consider lexing and parsing the bodies by hand, or alternately, screwing with native functions/objects (eg, window.location = "") to prevent redirects or other undesirable actions.





[last edit 12/24/2010 7:27 PM by makman - edited 2 times]

Be careful, not safe.

"Urbex- so much fun that it should be illegal."
Avatar-X 

Alpha Husky


Location: West Coast
Gender: Male
Total Likes: 765 likes


yay!

 |  |  | AvBrand
Re: UER Clientside Tools
< Reply # 53 on 12/24/2010 8:17 PM >
Reply with Quote
Posted on Forum: UER Forum
Or you could just use my recommended solution, which is to use one of the other FID's.

I'll have you know that I always use UER with all of the XMAS stuff going, and I often listen to the music while I work. I find it soothing, and it's only for a few days anyway.

-av




huskies - such fluff.
makman 


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


I live alone with a criminal

 |  | 
Re: UER Clientside Tools
< Reply # 54 on 12/24/2010 8:41 PM >
Reply with Quote
Posted on Forum: UER Forum
Posted by Avatar-X
Or you could just use my recommended solution, which is to use one of the other FID's.

I'll have you know that I always use UER with all of the XMAS stuff going, and I often listen to the music while I work. I find it soothing, and it's only for a few days anyway.

-av


That's a lot less fun.

I don't really mind it *that* much- The only things that annoy me are the music (when I'm listening to something else) and when the mouse-following stuff blocks what I'm reading or what I'm trying to click on. Clearing it out with javascript has been a fun challenge, though, and has been hella-educational.




Be careful, not safe.

"Urbex- so much fun that it should be illegal."
UER Forum > Private Boards Index > Tech Talk > UER Clientside Tools (Viewed 13517 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 93 milliseconds. Since June 23, 2002, a total of 737100304 pages have been generated.