Robust URL matching: Implement hostname matching in isURLMatch and isURLMatchPOPUP in background.ts, content.ts, and script.ts.
Refactor onCreated and onUpdated: Simplify with early returns, helper functions, and replace setInterval with chrome.webNavigation.onCommitted.
Clarify disabledTabs: Review and clarify the disabledTabs function. Remove disabledTabs.splice(0, disabledTabs.length, ...disabledTabs);
Redirect Blocker saves you from facing potential malicious/annoying redirects when on specific websites.
For example, when on websites like Soap2day or other similar sites, you have to fight for your life closing and avoiding redirects to get to the page wanted, but with this extension, it is easy as pie, and a much more pleasant experience.
Option 1 – Install it from the Chrome Web Store
Option 2 – Install it from source:
- Clone/download this repo,
- Open Chrome and go to
chrome://extensions, - Enable "Developer mode",
- Click "Load unpacked extension",
- Select the
extensionfolder.
