Don't check redirects in subframes.
This commit is contained in:
parent
089a27ab9d
commit
1fbe1efb90
|
@ -19,7 +19,7 @@ browser.runtime.onInstalled.addListener(async () => {
|
|||
});
|
||||
|
||||
browser.webNavigation.onBeforeNavigate.addListener(async (details) => {
|
||||
if (!details.url.startsWith('http')) {
|
||||
if (!details.url.startsWith('http') || details.frameId > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue