Fixed Bypass Read on Twitter bug

This commit is contained in:
ManeraKai 2022-03-06 13:40:28 +03:00
parent 2fac3cb99f
commit adb3db99c6
No known key found for this signature in database
GPG Key ID: 5ABC31FFD562E337
2 changed files with 2 additions and 3 deletions

View File

@ -224,6 +224,8 @@ async function init() {
"theme",
"applyThemeToSites",
"bypassWatchOnTwitter",
"nitterNormalRedirectsChecks",
"nitterNormalCustomRedirects",

View File

@ -77,8 +77,6 @@ browser.webRequest.onBeforeRequest.addListener(
if (BYPASSTABs.includes(details.tabId)) newUrl = null;
if (newUrl) {
if (newUrl == 'CANCEL') {
console.log(`Canceled ${url}`);
@ -108,7 +106,6 @@ browser.tabs.onRemoved.addListener((tabId) => {
}
});
browser.tabs.onUpdated.addListener(
(tabId, changeInfo, _) => {
let url;