add: if (aRequest.contentType in m_tb_plugin_mimetypes) { aRequest.cancel(0x804b0002); window.alert("Torbutton blocked direct Tor load of plugin content.\n\nUse Save-As instead.\n\n"); return 0; } } catch(e) { torbutton_eclog(3, 'Exception on request cancel'); } }  
context: function torbutton_check_progress(aProgress) {    // This fires when the location bar changes i.e load event is confirmed    // or when the user switches tabs    // XXX: Warning! this can also fire when the 'debuglogger' extension    // updates its window. Typically for this, doc.domain is null. Do not    // log in this case (until we find a better way to filter those    // events out). Use torbutton_eclog for common-path stuff.    if(aProgress) {        var doc = aProgress.DOMWindow.document;        try {            if(doc && doc.domain)                torbutton_hookdoc(aProgress.DOMWindow.window, doc);        } catch(e) {            torbutton_log(3, "Hit about:plugins? "+doc.location);        }            } else {        torbutton_log(3, "No aProgress for location!");    }    return 0;}
meta: 3444	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3444/7597dbedd0951378206f211d1d0d0834fc125b0b/torbutton.js/buggy/src/chrome/content/torbutton.js