rem: if(!m_prefs.getBoolPref("extensions.torbutton.allow_plugins")) { getBrowser().docShell.allowPlugins = false; 
add: if (torbutton_check_status()) { if(m_prefs.getBoolPref("extensions.torbutton.no_tor_plugins")) { getBrowser().docShell.allowPlugins = false; } TagDocshellForJS(getBrowser(), false, false); } else { TagDocshellForJS(getBrowser(), true, true); 
context: function NewWindowEvent(event){    if (!m_wasinited) {        torbutton_init();    }    torbutton_log(1, "New window");    if(!m_prefs.getBoolPref("extensions.torbutton.allow_plugins")) {        getBrowser().docShell.allowPlugins = false;    }    getBrowser().addProgressListener(myListener,      Components.interfaces.nsIWebProgress.NOTIFY_STATE_DOCUMENT|      Components.interfaces.nsIWebProgress.NOTIFY_LOCATION);}
meta: 3444	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3444/0b6b81fd07ee0b417fedeacbf38c0832ce0b6667/torbutton.js/clean/src/chrome/content/torbutton.js