Below you will find two screenshots of a typical website that uses banner ads.
The first screenshot shows the page after using this script to erase the ad.
The second screenshot shows the page as it normally appears without using this script.
Runs on Firefox and on Google Chrome browsers as of Nov 2017.
Sept 2020: Moving to use of TamperMonkey, however, for now it still works under GreaseMonkey. Added Export/Import function to allow for traversal. Firefox was crashing in GreaseMonkey during script editing and appears to
be left without recent updates.
After installing this script clicking on any advert/image etc., whilst holding down the "Ctrl" key, erases it by drawing curtains over it. Upon revisiting the page at another time, the advert/image etc. will still be erased. A double Click on an erased (curtained) space temporarily reveals that which was erased.
The script also adds to the GM menu a command that gives access to the scripts options. One of which allows one to set the 'curtain' image to a http image address or a base64 string. It also allows manual alteration of the selectors used to find elements for erasure. Another option allows for complete erasure of items leaving more space for other items on the page (for this, untick the "preserve layout" tickbox).
See this option menu by using a right click on any webpage, this brings up the context menu.
Choose the option there called "Erase Web Elements". Use the GM menu on older firefox editions.
On the Google Chrome browser this menu must be accessed without GM menu, so, to access this script's menu command: ctrl-click anywhere, you should see a small popup, then click on link named 'Erase Web Elements' that appears within the small popup.
Save this script by clicking the right mouse button upon the "install" button at the top of this page and choose "Save link as...". Then drag and drop the downloaded script from a file manager onto chrome's "extensions" page. Chrome's extensions page is accessible from the Chrome menu "More tools->Extensions.", also switch the top right "Developer mode" button to the "on" position and reload the page before drag-drop operation.
The script's menu is then accessible from any webpage in Chrome via the small 'Monkey' icon at the top right of any page.
WebEraser, Nuke Anything on the web with Weberaser.