Universal Adblock and Website Modification Tool

By billythegates Last update May 28, 2008 — Installed 4,434 times.

Script Summary: Not only removes all web site elements you would like to get rid of, but also gives you the power to set unlimited styles on a website of your choice via XML! Will be expanded to your personal website skinning platform... What do you think of that?



This is more than just an ordinary ad blocker. You can even use it to apply a completely different skin to a website of your choice...

Description

If your web site is not already included, you just need to add the respective elements to the config XML, which is by default located on my web server:

You can replace it with your own file, hosted on your own web space and just change the server URL and filename in the userscript, or - and I would appreciate this - post new sites and elements (also "excluded" elements) right here.

Specified elements will be removed completely from the DOM, once a website is loaded (and thus save memory;). Certainly this means that also the space which the removed ads usually occupy within the website is freed.

This is a styler, too!

If after removal the website layout is messed up, you can easily define style in the XML (as done for leo.org and google search results in my default XML config file). Naturally you can add as much global or inline style definitions as you want - on any website and independently from element removal

You can find a documentation in the standard config file (linked above). If you have any questions, just ask!

You can also send me an eMail if you have a bunch of additions (see script source)!

Changelog

05/18/2008: Updated XML definitions, using keyword "banner" in the "all" section proofed to be a bad idea;) Added some ad blocking definitions

05/18/2008: Script now compatible with new Firefox 3 RC! Thanks 4 your bug report, lazka!

05/15/2008: !important: implemented caching function for all included domains and global styles (except general and inline definitions). Now changes on cached sites will be applied almost instantly while loading the most recent xml definitions (once they had been cached:) For elements you wish to be removed with (almost) no delay and which can be addressed distinctly by style definitions, you can just set the global style definition of kind "display:none"!

05/13/2008: Added max-width property to wikipedia for better readability on big screens!

05/13/2008: Fixed some minor code issues

05/09/2008: Applied important changes in XML structure!

05/08/2008: Initial (but well tested) version

ToDo...

Implement more powerful web page modification support, including to inject XHTML (CDATA) into any element, moving DOM Elements (e.g. switching form horizontal to vertical navigation) etc.

Implement php/mySQL backend to generate dynamic XML for registered users.

Implement admin frontend for registered users to log in, alter web pages on-the-fly and save the results

Implement optional "click-recorder" for usability purposes

If you like this script, please honor it with your participation or recommendation! Try my other scripts too!

Currently supported domains include...

And much more using "universal" element definitions!