Subj : Re: Enable Javascript only for selected windows/tabs? To : Dennis McCunney From : Brendan Eich Date : Wed Jun 02 2004 11:01 pm Dennis McCunney wrote: > A conversation on another forum brought up a question. The chap I was > talking to wants Java/Javascript enabled only when he specifically says > so. Well, fair enough, and Mozilla/Firefox provide finer grained > control over Javascript than any other browser I've seen. > > I've occasionally wished for the ability to store seperate meta-data for > sites that would include the config options I wanted for that specific > site, like whether Javscript was enabled and what it was permitted to do. > > Therein lies the issue: right now, whether Java or Javascript is enabled > is a global setting that affects all open windows/tabs. (With the > exception of the Popup manager that enables/disables the "Open an > unrequested window" function on a site by site basis.) Is it even > *possible* to have settings that are specific to a tab/window, and only > affect that instance? I know it can't be done now. I just wonder > whether it's doable at all. My suspiscion is that it would require some > major architectural changes in the Moz code if it could be done. It wouldn't be that hard, but you are posting to the wrong newsgroup. The JS engine is below the level of code that would worry about such a feature. See headers, not followup-to: setting. /be > > Since Popup manager exists, I assume it's easier done for Javascript > (though probably not easy, all told), and I'm guessing it *isn't* > possible for Java, which requires a third-party plugin to work at all. > > Comments? References? > > Thanks! > ______ > Dennis > > .