News for hackers. Stuff that matters.
Re:Hacker News for Hackers by jpl56 on Friday October 27, 2017 @11:20AM (#15569242)
Pop-ins : here is what I do

1) I found here, on Hacker News, a nice "kill sticky" javascript function to put in my shortcuts

2) In Firefox, I gave it a shortcut keyword

3) In my AutoHotKey script, I assigned a key to "type the shortcut keyword in the address bar" to run it quickly

4) when a pop-in occurs, I reflexively press my kill key

The script is

  javascript:(function()%7B(function%20()%20%7Bvar%20i%2C%20elements%20%3D%20document.querySelectorAll('body%20*')%3Bfor%20(i%20%3D%200%3B%20i%20%3C%20elements.length%3B%20i%2B%2B)%20%7Bif%20(getComputedStyle(elements%5Bi%5D).position%20%3D%3D%3D%20'fixed')%20%7Belements%5Bi%5D.parentNode.removeChild(elements%5Bi%5D)%3B%7D%7D%7D)()%7D)()
Enjoy!
Re:Hacker News for Hackers by Retr0spectrum on Friday October 27, 2017 @12:45PM (#15570039)
For those curious, this is what that script is doing:

    var i, elements = document.querySelectorAll('body *');
    for (i = 0; i < elements.length; i++) {
    	if (getComputedStyle(elements[i]).position === 'fixed') {
    		elements[i].parentNode.removeChild(elements[i]);
    	}
    }
Re:Hacker News for Hackers by lj3 on Saturday October 28, 2017 @11:50AM (#15575509)
Using stylish is easier and automatic.

  .overlay {
     display: none;
  }
Re:Hacker News for Hackers by jasonkostempski on Friday October 27, 2017 @01:51PM (#15570656)
I find it's much better to just blacklist and never see a link to those sites again.