4

I keep (against my better judgment) attempting to read articles online, and as soon as I decide not to read an article and reach for the close tab button (or, in one memorable instance, move my mouse to click on an external link in the article), I find that the site on which I was reading the article employs a technology like BounceExchange to deliver so-called "exit intent pop-ups": JavaScript pop-overs that come up when the site estimates (based on cursor position and velocity, I assume) that the user is trying to leave, interrupt the user's attempt to leave (because who keeps going for a tiny close tab button when your eyes are forcibly removed from it by a sudden whole-page lightbox coming up?), and try to convince them to stay on the site, or sign up for an e-mail newsletter, or any number of other things I would have already been doing if I had any desire to do them.

Strangely, AdBlock Plus seems relatively ineffective against these exit intent popups.

Can someone recommend an AdBlock filter list, user script, or browser extension that will prevent these exit-intent popups from poping up, or from detecting my intent to exit? I would presume something that prevented the page from determining my to-the-pixel cursor position (by zeroing the relevant fields of events presented to the page) would be fairly effective, but in some cases it might be necessary to disable mouse motion events altogether.

Does anything exist to do this, or do I have to make something myself? Preferably for Firefox or Chrome, but for any browser that has extensions would be fine.

2

1 Answer 1

2

Note:

  1. The solution uses a browser addon (for Firefox only) to block said exit intent popup (Overlay Popup, to be precise).

  2. The addon works perfectly well on website (received from the comments).

  3. The solution uses images under instructions. Enable images in your browser if they are disabled via Preferences or an addon.


There are two addons that can achieve the goal (individually) with pros and cons mentioned below.

YesScript

Description from Developer

YesScript lets you make a blacklist of sites that aren't allowed to run JavaScript. Use YesScript on sites that annoy you or hog your system resources. One click to the icon in the status bar turns scripts on or off for the current site.

The icon looks like .

How to use YesScript?

Whenever you reach a website which uses such Overlay Popup,

  1. Click the YesScript icon once to activate the addon. The icon of the addon will look like , once activated.
  2. Reload the website using reload icon in Firefox, or by pressing Ctrl + R, or Fn+F5 (Fn is subjected to Laptops only).
  3. You can click the icon again to deactivate the addon on the website.

Pros

One-click solution to disable/enable the popup.

Cons

Possibly will break the functionality of the website since all the javascripts will be blocked.


Precisely because of the Cons of the last addon, I prefer the following addon with better control on the elements of the webpage.

Yet Another Remove It Permanently (YARIP)

Description from Developer

Yarip allows users to modify Web pages in a number of different ways. It works by injecting and applying user created code-snippets onto a Web page in order to change the look and feel and by using rule-based matching in order to remove elements (DOM) and block or redirect content (URLs).

This addon is usable from the context menu. Right-click anywhere on any website,

and the relevant entry in the menu will look like

How to use "Yet Another Remove It Permanently"?

  1. Load the website and let the popup appear.

  2. Right-click on any part of the popup (I did on red colored section) and move the cursor (highlight) on Yarip to open its sub-menu.

  3. Go to DIV and choose Blacklist element. (Note that there can be more than one DIV entries under Yarip and the one to choose is mostly the last said entry.)

  4. A windows will appear having details like

  5. The details under Xpath may vary on other websites and Page will definitely vary on another website. Anyhow, click OK.

  6. Reload the website using reload icon in Firefox, or by pressing Ctrl + R, or Fn+F5 (Fn is subjected to Laptops only).

  7. Move the cursor towards Status bar or close tab icon and a transparent popup may come up like

  8. Repeat step 2 and 3, and following image will show up. (Note that some websites will not need steps after step 7. This seems to be a different case.)

  9. Click OK and repeat step 6. The popup won't appear again.

How to manage "Yet Another Remove It Permanently"?

  1. Right-click anywhere on the website, highlight Yarip and select Manage Pages

  2. A window will appear like (Note that black colored section will not be there -- other website entries, hence privacy issue)

  3. The controls are obvious to use by now. Anyhow, if you choose to deactivate this addon on a website, choose the website entry in the left panel, go to bottom of the same panel and click Remove pages. You can remove individual DIV or other entries using the options at the bottom below right panel. Highlight and click desired option.

Pros

  1. Absolutely wonderful addon. Gives fine grained control on the elements and allows you tinker with them.

  2. Saves the settings so that in future (if you visit website again), you don't have to repeat the steps to hide the popup.

  3. Works on most of the websites. (Worked on everyone I tried so far.)

  4. Doesn't breaks functionality (if used wisely) of the website unlike aforementioned addon.

Cons

  1. Can be bit tricky to use for a newbie but nothing substantial I noticed.

Status: Objective Completed. Done!


Note that there are extensions for Google Chrome available to achieve the objective but they don't save the settings, and thus, resets whenever the page is refreshed. Let me know via comments if you find anything useful for Chrome

2
  • Wow, this is a very fancy answer. It looks like YARIP might be the way to go; I will have to try it out and see if the filters it produces on one web site can generalize to others using the same exit intent popup library.
    – interfect
    May 19, 2015 at 20:52
  • @interfect Do let me know if the solution fails to work for you.
    – Firelord
    May 19, 2015 at 21:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.