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