slow! / WebEraser

Published:

Version: 1.4.9+b0c831f updated

Summary: Erase parts of any webpage --annoyances, logos, ads, images, etc., permanently with just, Ctrl + Left-Click.

Groups:

Copyright: 2018, slow! (https://openuserjs.org/users/slow!)

License: GPL-3.0-only

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.

How To Use

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.

Installing on Chromium

Start Chromium from the command line and pass it a special switch, the full command to use is "chromium --enable-easy-off-store-extension-install".
This is only needed when first installing the script.

Alternatively install the TamperMonkey extension for Chromium

To use the switch method, 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.

Screenshot One:

Large banner ad at the StackOverflow website has been erased whilst preserving layout




================================================================================

Screenshot Two:

================================================================================

Stackoverflow as it normally is with banner ad.

WebEraser, Nuke Anything on the web with Weberaser.

Rating: 0

8 Votes
-4