Animation fun

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
User avatar
chewey
Posts: 501
Joined: Wed Jun 14, 2006 10:34 pm
Location: somewhere in Europe

Post by chewey »

Is the browser's language setting accessible via JS?
That could be used to preset the language selection.

By the way, it is more than time for me to overhaul my Adblock documentation
dating early 2006 - I should probably just replace it with a link to http://adblockplus.org/en/documentation ;-)

You really are making me unemployed. This is a good thing of course.
Wladimir Palant

Post by Wladimir Palant »

Browser's language settings are accessible via JS but they often aren't what the user wants to see. Anyways, this is only a test page - in the end the animation should use the language of the page the user is currently viewing.
Wladimir Palant

Post by Wladimir Palant »

The first four animations are now live on http://adblockplus.org/en/faq_basics (and the corresponding German and French pages). The other three should find their place as well soon.
Varamin

Post by Varamin »

Apologies for resurrecting an old thread, but I've just discovered Adblock Plus, read the documentation, and found the animation to be simply beautiful. Were they created ("recorded") using a tool of some sort? Was it all done by hand? This sort of thing looks very useful for writing guides, etc.
User avatar
Stupid Head
Posts: 214
Joined: Sat Aug 26, 2006 8:11 pm
Location: USA

Post by Stupid Head »

Varamin wrote:Were they created ("recorded") using a tool of some sort? Was it all done by hand?
I think the only recording that was done was taking a few screenshots. There might have been some tool that recorded the coordinates of where the pointer moves into XML, but not a total solution like Wink.
What, me worry?
Varamin

Post by Varamin »

Thanks for the reply, and in that case kudos to the author for going to the trouble; the documentation, as well as the extension itself, is really top notch.
Wladimir Palant

Post by Wladimir Palant »

No tools involved. The entire animation is stored in a human-readable XML file, e.g. http://adblockplus.org/en/loadAnimation?blockbanner (ignore the data: URLs, these are originally regular links to images but the server replaces them to improve performance). These XML files are processed by http://adblockplus.org/animation.js, that's it. I write the XML files manually, it isn't particularly hard.
elvisthepelvis
Posts: 23
Joined: Sat Aug 18, 2007 7:50 am

Post by elvisthepelvis »

cool stuff - very cool thanks !
Post Reply