Index: ext/background.js |
=================================================================== |
--- a/ext/background.js |
+++ b/ext/background.js |
@@ -259,17 +259,20 @@ |
["responseHeaders"]); |
browser.webNavigation.onBeforeNavigate.addListener(details => |
{ |
// Since we can only listen for HTTP(S) responses using |
// webRequest.onHeadersReceived we must update the page structure here for |
// other navigations. |
let url = new URL(details.url); |
- if (url.protocol != "http:" && url.protocol != "https:") |
+ if ((url.protocol != "http:" && url.protocol != "https:") || |
+ // Chrome doesn't dispatch webRequest.onHeadersReceived for |
+ // Web Store URLs. |
+ url.href.startsWith("https://chrome.google.com/webstore/")) |
kzar
2018/01/05 16:46:20
I guess we should only do this for Chrome (or Chro
Manish Jethani
2018/01/12 07:25:03
Ideally yes, but it's probably OK if the frame str
Manish Jethani
2018/01/12 07:31:57
By the way, if it wasn't for Edge, we could have u
|
{ |
updatePageFrameStructure(details.frameId, details.tabId, details.url, |
details.parentFrameId); |
} |
}); |
function forgetTab(tabId) |
{ |