Index: lib/filterComposer.js |
=================================================================== |
--- a/lib/filterComposer.js |
+++ b/lib/filterComposer.js |
@@ -263,10 +263,12 @@ |
port.on("composer.quoteCSS", (message, sender) => |
{ |
return quoteCSS(message.CSS); |
}); |
ext.pages.onLoading.addListener(page => |
{ |
- page.sendMessage({type: "composer.content.finished"}); |
+ // A newly opened tab that is still loading has its URL set to about:blank |
+ if (/^https?:/.test(page.url.protocol)) |
+ page.sendMessage({type: "composer.content.finished"}); |
}); |