We need a cure for javascript overlays aside from disabling javascript

Discussion in 'Software for Windows' started by stockwiz, Nov 22, 2016.

  1. stockwiz

    stockwiz Senior member

    Joined:
    Sep 8, 2013
    Messages:
    376
    Likes Received:
    3
    By far the most annoying thing to happen to the web are those overlays that block the whole page and ask you for an email address. They must work otherwise sites wouldn't use them as much as they do... some of the worst examples would include gardenweb's website which will stop your ability to scroll the page if you try to use a program to block the overlays from showing up. I've tried using anti-scrolljacking plugins on chrome to fix that to no avail.

    It makes me want to stop using the internet for researching and blacklisting any site that has any overlay appear at any time... but then I noticed Amazon has started doing it when it asked me for a zipcode for something when I was ALREADY LOGGED IN and it had my account information stored in the cookie. I just shook my head. If I wanted to give you my zipcode, sign up for your site, or do any other action you're annoying me to do, I would have done it on my own without you bugging me about it.

    I should offer a $2500 bounty for the person who can create a program that can block these without affecting the website functionality in any other way. I'm sure a more wealthy person could offer a bigger bounty. haha. By far the worst implementation they made to HTML/javascript.
     
    VirtualLarry likes this.
  2. Loading...

    Similar Threads - cure javascript overlays Forum Date
    What happens if you disable JavaScript? Software for Windows Aug 12, 2017
    Cure for Creative's bloated software package. Software for Windows Aug 18, 2005
    1st person shooters...motion sickness...any cures? Software for Windows Apr 28, 2002
    microsoft office to have cancer curing feature? Software for Windows Dec 26, 2000
    Any way to cure hesitation in Diablo 2? Software for Windows Jul 13, 2000

  3. lxskllr

    lxskllr Lifer

    Joined:
    Nov 30, 2004
    Messages:
    46,872
    Likes Received:
    785
    Could you use the element hider from an adblocker to get rid of it?
     
  4. bruceb

    bruceb Diamond Member

    Joined:
    Aug 20, 2004
    Messages:
    8,393
    Likes Received:
    41
    Just went to: gardenweb.com ... no issues here with Firefox 47.0.1 .. But I do have Adblock Plus installed ... did not need to do anything. Site seems fine here.
     
  5. pyonir

    pyonir Lifer

    Joined:
    Dec 18, 2001
    Messages:
    40,849
    Likes Received:
    303
    Try clicking on one of the questions with a lot of comments/answers. If you scroll down more than a quarter of the way, you get the overlay.

    OP - On Firefox I have NoScript installed. If you disallow the main site (gardenweb.com) it disables the overlay. There are add-ons for Chrome similar "ScriptSafe" and "uMatrix" by the looks of it. I know you said you don't want to have to disable javascript globally, but it's better than nothing.
     
  6. bruceb

    bruceb Diamond Member

    Joined:
    Aug 20, 2004
    Messages:
    8,393
    Likes Received:
    41
    Okay , I tried that and it went to the forum part of that site. Yes, it did pop up an overlay, but it had a No Thanks button which promptly closed it.
     
  7. pyonir

    pyonir Lifer

    Joined:
    Dec 18, 2001
    Messages:
    40,849
    Likes Received:
    303
    But it comes back up each different thread you go to if you scroll down. Hitting no thanks once should disable it for that day (with a cookie) but doesn't. So it could get quite annoying if you are viewing multiple threads per day.
     
  8. TheRyuu

    TheRyuu Diamond Member

    Joined:
    Dec 3, 2005
    Messages:
    5,459
    Likes Received:
    13
    There's a generic overlay buster that ships with uBlock Origin[1] (works on all browsers). Not sure if that'll work but may as well give it a shot.

    Install the extension and then under the my filters tab add something like this as a seperate line:
    Code:
    example.com##script:inject(overlay-buster.js)
    Replace example.com with whatever site you want to inject the overlay buster script into. To create multiple rules just copy and paste it on multiple lines inserting the specific site you want to inject the overlay buster code into. You can find the overlay-buster.js code here[2]. If that doesn't work you may consider creating an issue at the uAsset issue page[3]. Just make sure you include all relevant information for reproduction.

    Edit:
    I'm not sure but

    [1] https://github.com/gorhill/uBlock
    [2] https://github.com/uBlockOrigin/uAssets/blob/master/filters/resources.txt#L1030
    [3] https://github.com/uBlockOrigin/uAssets/issues
     
    #7 TheRyuu, Dec 4, 2016
    Last edited: Dec 4, 2016
    pyonir likes this.