mirror of
https://codeberg.org/LibRedirect/libredirect.git
synced 2025-02-02 20:36:51 +01:00
Fixed Bypass Read on Twitter bug
This commit is contained in:
parent
2fac3cb99f
commit
adb3db99c6
@ -224,6 +224,8 @@ async function init() {
|
||||
"theme",
|
||||
"applyThemeToSites",
|
||||
|
||||
"bypassWatchOnTwitter",
|
||||
|
||||
"nitterNormalRedirectsChecks",
|
||||
"nitterNormalCustomRedirects",
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user