Bypass ads and pop-ups on link shorteners and image servers with AdsBypasser script

Some people here frequent torrent and other questionable websites (not me, except for the occasional Linux ISO) and encounter aggravating non-closing pop-ups that may take over your browser and count downs (e.g. ad.fly). Others have computer illiterate family members that actually click those random shortened links in comment sections…

ublock and other adblockers may shut down the pop-ups after opening but it's often inconsistent.

Since some of you may be stealing a file anyway you don't deserve this trick (since then you'll be stealing twice) but on the other hand you're preventing your facilitator from profiting as well.

Basically, in Google Chrome you install TamperMonkey (https://chrome.google.com/webstore/detail/tampermonkey/dhdgf…) and then go to https://adsbypasser.github.io/ to install the AdsBypasser script ("Full Edition" blocks image sites as well).

For Firefox and lengthier installation details you could check out http://www.weteachtech.net/bypass-shorten-links-without-wait…

Comments

  • This seems like a lot of work for a fairly limited scenario.

    I use a hosts file based blocker on my desktop (can't remember if it is Adblock or Adblock+) and Adaway on an Android phone. This script handles any other time where I need to follow a link that the blocker refuses to open (easier than disabling on Android)

    curl -I -L -s "$urlhere" | grep -i location | cut -c 11-

    • It's designed for those limited scenarios not handled by adblockers, which is why I explicitly mentioned people that visit shady sites. Basically, it's for skipping or reducing the waiting time on link shorteners like ad.fly and linkbucks, which you obviously can't block outright since you wouldn't know the target URL. This extension can still function when a website forces you turn off your ad blocker.

      Installing two extensions (Tampermonkey and the script) instead of one doesn't take much longer since script installation is automated (just a few extra clicks). The positive is that the script is open-source so you can check for nefarious code. The negative is that most people won't or can't check the code and the script isn't vetted by Chrome.

      For people like us that would rarely or never click paid-per-click shortened links we can wait 5 seconds once in a blue moon. I recently needed abandonware for a client and encountered this issue (4 consecutive link shorteners). Yes, the minute for script installation still exceeds waiting 4 times by 3x :)

      • I use Pale Moon and with GreaseMonkey 3.8, the scripts don't seem to work for me. Bummer.

        • You could go to about:config and try setting dom.promise.enabled to true but I wouldn't bother since the side-effects in other, more useful websites could be compromised.

Login or Join to leave a comment