Mozzarella

Home

Persistent Element Remover

This addon can remove elements (annoyances) which are inserted dynamically after pageload.

Q: Why do i need this when i have an Adblocker like uBlock Origin or similar.
A: To my knowledge, no blocker as of yet has the feature to continuously monitor for and remove elements

Usage

  1. Visit the page you want to create a rule for
  2. write a matching url_regex for the site, for example ^https://www.<domain>.<ext>.* , replace <domain> and <ext> with fitting values.
    (can be tested via https://regex101.com/ )
  3. Next, open the "Tools" -> "Web Developer Tools" menu (shortcut: CTRL+SHIFT+I)
  4. Use the element picker (at top left corner of the development
    tools window) to inspect the element you want to remove
  5. Find a unique identifiert for the elements.
    => This can be difficult but in most cases it will just be a "class" name (for example "promotedlink")
    found inside the html element ("div")
    More infos about css selectors: https://en.wikipedia.org/wiki/CSS
  6. Add and save the css selector (code) and the url regex (url_regex) as a rule to via the add-ons preference page.
  7. Open or Reload the page, and the elements should be removed

EdgeCase:
Q: What can i do if there is no unique css identifier for the elements i want removed?
A: Besides using css selectors, you can also use javascript code to identify the page element. Example: ' "return (document.querySelectorAll("div.promotedlink"));")

Notes:
  1. Permissions:
    This add-on tries to use the minimal number of required permissions to successfully fullfill its intended purpose.
    If you think this could be improved please let me know by opening an issue and i will try to look into it.
    More Details on the individual permission can be found here: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions
  2. Cost/Payment:
    This Add-on is and forever will be subscription and payment free to use for everyone however they like.
    If you are feeling generous you can send me a tip via my bitcoin address 35WK2GqZHPutywCdbHKa9BQ52GND3Pd6h4
  3. Stars/Reviews:
    If you found this add-on useful leave some stars or a review so others have an easier time finding it.
  4. Bugs, Suggestions or Requests:
    If you have any issues (for example a site it does not work but you think it should) or have improvement suggestions or a feature request please open an issue at the Support Site

Install
element picker Web Developer Tools opened opening Web Developer Tools Web Development Tools