Unfortunately some websites rely on pop-ups for legit purposes (e.g. payment process, 2-factor authentication, etc. in a pop-up). However, an easy workaround would be to use a separate Firefox Portable installation with this tweak that has a Desktop shortcut titled “Firefox no pop-ups” for accessing unfamiliar websites, including those known to use pop-ups. [/QUOTE]
You are correct there are certain websites that will cease to function correctly when this fix is applied, I’ve personally ran into this issue when I tried to view the recorded proceedings in the U.S. House of Representatives website (house.gov). They have a multi-purpose button to start the live feed which would normally work with LMB but obviously this fix wouldn’t allow that, so I had to disable it for that session.
Your suggestion would benefit anyone who runs into such issues more often, but I would just like to add that there’s no need to download a separate Firefox binary just for this purpose. You can actually achieve the same effect by closing off all running firefox.exe processes, then opening the Run dialog and typing “firefox.exe -P” which will take you to the Firefox Profile manager. You would create a new profile without starting it immediately (otherwise it will become default). Then you would create the shortcut on the desktop and point it to “<firefox location>\firefox.exe -p <profile name> -no-remote”. You now have a link to an alternative firefox profile which you can configure separately from your default profile. Saves some disk space and makes it easier when updating Firefox, as you won’t have to update 2 installations separately.
Another trick I have used is right-click, then left-click. When the mouse is right-clicked, the pop-up event is cleared and then left clicking will work as usual until the next webpage is opened. On the other hand, I still get caught if I’m not aware that a website I’m on has a pop-up event armed.[/QUOTE]
I actually forgot to mention I had been using this method as well. An issue that arose was that the websites that generated popups from mouse activity also generally had a script blocking the right click context menu (I mean if you’re gonna be unethical why not go all out, right?) which would render this ineffective. However this method becomes fully effective if you change the following parameter to FALSE in about:config: [B]dom.event.contextmenu.enabled[/B]. That disables websites from having the ability to change the context menu behavior or block it out right. I don’t see any legitimate use in a website having the ability to block your context menu so I don’t think it will have any negative side effects.