Navigation

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Adblocker contol

    Suggestions and feature requests
    1
    1
    482
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Former User
      A Former User last edited by

      So basically what i would like to add is a feature allowing a specific element of a page to be removed (excluded) when the page loads, for example:

      www.mitti.se doesn't allow ad blockers and i don't really care so i wan't to remove this code from their website when it's loaded with an adblocker.

      <div class="adblocker-full-overlay" style="display: block;"><div class="adblocker-popup"><h2 class="adblocker-popup__title">Oj då ...</h2><div class="adblocker-popup__description"><p>Det verkar som att du har en adblocker installerad.</p><p>Mitt i:s journalistik är gratis och finansieras helt av annonser. Därför måste du stänga av din adblocker för att kunna besöka mitti.se</p></div> <a href="#" class="adblocker-popup__button adblocker-popup__button--deepblue">Ladda om sidan</a></div></div>

      Basically how this would work would be:

      Add rule > URL > Element > reload

      When that URL is loaded If element is "what ever i want to remove" exclude

      like this:

      Add rule > www.mitti.se > Element = <div class="adblocker-full-overlay" style="display: block;"><div class="adblocker-popup"><h2 class="adblocker-popup__title">Oj då ...</h2><div class="adblocker-popup__description"><p>Det verkar som att du har en adblocker installerad.</p><p>Mitt i:s journalistik är gratis och finansieras helt av annonser. Därför måste du stänga av din adblocker för att kunna besöka mitti.se</p></div> <a href="#" class="adblocker-popup__button adblocker-popup__button--deepblue">Ladda om sidan</a></div></div> > reload

      Reply Quote 1
        1 Reply Last reply
      • First post
        Last post

      Computer browsers

      • Opera for Windows
      • Opera for Mac
      • Opera for Linux
      • Opera beta version
      • Opera USB

      Mobile browsers

      • Opera for Android
      • Opera Mini
      • Opera Touch
      • Opera for basic phones

      • Add-ons
      • Opera account
      • Wallpapers
      • Opera Ads

      • Help & support
      • Opera blogs
      • Opera forums
      • Dev.Opera

      • Security
      • Privacy
      • Cookies Policy
      • EULA
      • Terms of Service

      • About Opera
      • Press info
      • Jobs
      • Investors
      • Become a partner
      • Contact us

      Follow Opera

      • Opera - Facebook
      • Opera - Twitter
      • Opera - YouTube
      • Opera - LinkedIn
      • Opera - Instagram

      © Opera Software 1995-