OT: Stop Firefox from asking to install flash

Joe Zeff joe at zeff.us
Sat Aug 30 02:36:47 UTC 2014


On 08/29/2014 07:22 PM, Kevin Cummings wrote:
> Be careful here.  There exists a form of mal-ware which is a pop-up that
> tells you to "update" your flash player, but in fact, its an attempt to
> get you to install the mal-ware.  The point that sticks out here is that
> the "flash" player that they are trying to install does not come from
> Adobe/Shockwave.

Some of these sites ask you to confirm that you want to leave the site. 
  Brain damaged ones even ask if you click on a link.  Dain bramaged 
ones will keep asking forever until you agree to stay on the site, to 
the point that you need to use kill -9 in a terminal to kill firefox 
completely.

If you've ever had a problem with that, here's what you do.  First, you 
bookmark a page.  When the dialog comes up, name it Escape, or whatever 
you think will remind you of what it's doing.  Replace the url with this:

javascript:window.onbeforeunload=null;document.body.onbeforeunload=null;window.onunload=null;document.body.onunload=null;window.onblur=null;document.body.onblur=null;window.onkeypress=null;window.onkeyup=null;document.body.onkeypress=null;document.body.onkeyup=null;document.body.outerHTML='<body>Try%20closing%20now.</body>';document.getElementsByTagName('head')[0].outerHTML='<head></head>';void%200;

Save the bookmark and go back to surfing.  The next time this happens, 
confirm that you want to leave; if it doesn't let you, click on this 
special bookmark.  Then, when the popup comes back, confirm that you 
want to leave and it will now let you.


More information about the users mailing list