I finally got fed up with clickbait headlines. You won't believe what happens next!

This is brief.

I absolutely revile click bait headlines.

Not only because they are such blatantly obvious attempts at overselling the content within a link, but also that people are still stupid enough to click on them.

I hate that they have become visible on actual news websites, utilized by people who consider themselves ‘respectable journalists.’

If they had faces, I would punch each of them.

I know, right?

You won’t believe what people say about it!

What really sucks is when you are leaving a site, and at the last minute before the page disappears you see a clickbait you actually want to check out, but when you go back in you can’t get that one back in the random cycler.

What bothers me is that people probably don’t bother clicking, but they remember the inflammatory headlines. So the effect of clickbait can be pretty poisonous, because people don’t drill down to detect the bullshit.

Plus when you try to leave a site and a pop-up goes “ARE YOU SURE YOU WANT TO LEAVE THIS SITE?” Bonus points if there’s a few pop-ups before the page actually closes.

I see these links on Facebook and I hardly ever click on them. Also I dislike the photos in which a person or animal is holding a sign or next to one that says something to the effect of who said a single mom or whatever can’t get 1000 likes or shares…or whatever.

…Have you guys seen the latest episode of South Park?

Inspired by this I looked up how to prevent that thing.
Mozilla Forums has a Greasemonkey script in a post here

Firefox > File > Open File… > Browse to Block exit page prompt.user.js > Open > Install > OK
// ==UserScript==
// @name BlockUnloadEvents
// @namespace http://theaceoffire.8k.com/STOPTHEMADDNESS
// @description This stops ANY AND ALL javascript that stops you from leaving a page. Inspired by this greasemonky script: Dance Party
// @include *
// ==/UserScript==
(function() {
unsafeWindow.onbeforeunload = null;

  unsafeWindow.onunload = null;

  //unsafeWindow.alert = null;

  //unsafeWindow.confirm = null;

  //unsafeWindow.prompt = null;

  //unsafeWindow.open = null;  

})();Save this file
open Kate or any other text editor and paste that in.

Entitle it:

Block exit page prompt.user.js


Greasemonkey works on most browsers. Still I had to find out how to do a local install instead of fetching a script from Greasespot. Firefox is getting dumber and dumber.*
Open Manage User Scripts from Firefox/Tools/Greasemonkey, and then drag&drop from wherever you saved the script.
This installed it all right, but I dunno how to test it since the offending page will show no evidence of having existed…