Permalink
Browse files

Also process document starts for "reload" case.

Refs: #1103
  • Loading branch information...
1 parent 2ae000e commit 0f9e5e40baa2183f1cfdf145cdc2948479d9b771 @arantius arantius committed Jul 20, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 content/browser.js
View
@@ -27,7 +27,9 @@ GM_BrowserUI.init = function() {
GM_BrowserUI.progressListener = {
onLocationChange:function(aBrowser, aProgress, aRequest, aURI) {
- if (aProgress.loadType & aProgress.LOAD_CMD_NORMAL) {
+ if (aProgress.loadType & aProgress.LOAD_CMD_NORMAL
+ || aProgress.loadType & aProgress.LOAD_CMD_RELOAD
+ ) {
GM_BrowserUI.gmSvc.runScripts(
'document-start', aProgress.DOMWindow, window);
}

0 comments on commit 0f9e5e4

Please sign in to comment.