rem: torbutton_log(1, 'onLocationChange');   if(aProgress) { torbutton_log(1, "location progress"); var doc = aProgress.DOMWindow.document; try { if(doc && doc.domain) torbutton_hookdoc(aProgress.DOMWindow, doc); else torbutton_log(2, "No DOM yet at location event"); } catch(e) { torbutton_log(3, "Hit about:plugins? "+doc.location); } } else { torbutton_log(3, "No aProgress for location!"); } return 0; 
add: torbutton_log(1, 'onLocationChange'); return torbutton_check_progress(aProgress); 
context:   onLocationChange: function(aProgress, aRequest, aURI)  {    torbutton_log(1, 'onLocationChange');    // This fires when the location bar changes i.e load event is confirmed    // or when the user switches tabs    if(aProgress) {        torbutton_log(1, "location progress");        var doc = aProgress.DOMWindow.document;        try {            if(doc && doc.domain)                 torbutton_hookdoc(aProgress.DOMWindow, doc);            else torbutton_log(2, "No DOM yet at location event");        } 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/8a64fa98b7109071f52ad53db29769db9d5058bd/torbutton.js/clean/src/chrome/content/torbutton.js