diff --git a/src/content/main.js b/src/content/main.js index c786348..54d13e0 100644 --- a/src/content/main.js +++ b/src/content/main.js @@ -306,13 +306,14 @@ this.Swarth.pageHandler = { } if (aRequest) { + let domWindow = aWebProgress.DOMWindow; // Don't bother updating if the current page is blocked. if (Swarth.scm.isForceBlocked(domWindow)) { return; } Swarth.scm.update( { - window: aWebProgress.DOMWindow, + window: domWindow, method: Swarth.currentMethod, isTopLevel: isTopLevel },