Disable specific javascripts?
Date: 08/11/06
(Mozilla) Keywords: browser, java
Is there any way to disable a specific javascript command in Firefox?
I'm not sure if it's actually possible to do something like this, but I am looking for a way to have Firefox disable a specific javascript command. I would like to disable the "window.location.replace" javascript. If I surf from page X to page Y and it uses "window.location.replace" to redirect me to page Z, then page Y does not appear in my history. I would like a way to prevent the javascript from modifying my browser history in that manner (and I am willing to disable automatic redirection if necessary).
Ultimately what I am after is to have an accurate record of what URLs I have visited, regardless of whether I was automatically redirected or not. Anyone have any ideas/suggestions?
Source: http://community.livejournal.com/mozilla/372923.html