Item logo image for Strict URL Whitelist

Strict URL Whitelist

Item media 2 (screenshot) for Strict URL Whitelist
Item media 1 (screenshot) for Strict URL Whitelist
Item media 2 (screenshot) for Strict URL Whitelist
Item media 1 (screenshot) for Strict URL Whitelist
Item media 1 (screenshot) for Strict URL Whitelist
Item media 2 (screenshot) for Strict URL Whitelist

Overview

Allow only specific URLs with optional query parameters using high-performance DNR rules.

Strict URL Whitelist is a Chrome extension that enforces navigation only to explicitly approved URLs. It uses Chrome’s high-performance declarativeNetRequest API to allow or block requests based on domain, path, and optional query parameters — all defined through local configuration. The extension is lightweight, script-free, and does not interact with page content. It applies all rules at the network level using a background service worker, ensuring reliable, zero-interaction enforcement. Technical Architecture Allowlisting Mechanism Filtering is implemented through chrome.declarativeNetRequest.updateDynamicRules(), which allows near-instant control over navigation. The logic includes: All main_frame requests are blocked by default using a global redirect rule. A user-defined allowlist is stored in chrome.storage.local. The background service worker observes configuration changes and updates rules dynamically. Allowed requests are passed through immediately. All unmatched requests are redirected to a blank white page using a data: URI. This model ensures strict, predictable navigation control without requiring manual reloads or page interaction. Rule Model Each allowlist entry includes: domain: Required — the hostname to allow (e.g., "example.com"). path: Optional — the path to match under the domain (e.g., "section/page" or "api/*"). query: Optional — an object of query parameters to match strictly (e.g., { token: "abc123" }). If query parameters are present, they must exist in the actual URL with matching values. Extra query parameters are allowed but will not override required ones. Rule Examples Allow a full domain: { "domain": "example.com", "path": "*" } Allow a specific section or route: { "domain": "example.com", "path": "section/page" } Allow a strict query string match: { "domain": "example.com", "path": "search", "query": { "q": "value" } } This allows: ✅ https://example.com/search?q=value ✅ https://example.com/search?foo=bar&q=value&extra=true ❌ https://example.com/search?q=wrong ❌ https://example.com/search (if q=value is required) Example Usage chrome.storage.local.set({ allowedList: [ { domain: "example.com", path: "search", query: { q: "allowed" } } ] }); Storage & Synchronization All allowlist entries are stored via chrome.storage.local. Rules are regenerated automatically when the storage changes. No manual reload or refresh is needed — updates apply instantly. Service Worker Logic Initializes the allowlist and rule set when installed or activated. Responds to changes in allowedList by rebuilding the rule set. No persistent background activity when idle. No content scripts or page interaction. Privacy & Compliance ✅ No external requests or remote code. ✅ No telemetry or analytics. ✅ No page injection or script access. ✅ Query parameters are processed locally and not shared. Strict URL Whitelist provides a secure, low-overhead method of enforcing exact-match navigation control — including optional query enforcement — suitable for personal, enterprise, or restricted browsing environments.

Details

  • Version
    1.1
  • Updated
    May 15, 2025
  • Offered by
    romikette
  • Size
    13.61KiB
  • Languages
    English
  • Developer
    Email
    romikette@gmail.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has disclosed that it will not collect or use your data.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Support

For help with questions, suggestions, or problems, visit the developer's support site

Related

Peek for YNAB

5.0

Check on your YNAB category and account balances, and quickly add transactions.

Website Allower

0.0

Block all sites except what you allow. Restrict kids to the sites you allow.

YAM Allowlist Manager

3.3

Browser extension that automatically blocks all pages from any website that is not in your list of allowed websites.

Todo Stack

4.5

The easiest way to manage your tasks with a comfortable user experience.

Domain Whitelist

4.3

Ultimate blocker which says no to every network packet until you explicitly allow it.

Connect Live Frontend To Local Server

4.9

This extension enables seamless connection between your local server and a live frontend by redirecting APIs.

Web3 Whitelist

5.0

Only make requests to a fixed set of domains.

Whitelist Links

5.0

Block links in webpages that are not whitelisted

The Big Gift List

5.0

Easily add items to your 'The Big Gift List' lists

AI Form Fill Helper

0.0

AI Form Fill Helper is a small project designed to streamline the process of filling web forms, particularly useful in repetitive…

Domain Notes

5.0

Maintain sticky notes for each domain you visit.

Website Whitelist | Parent Control

4.8

Control website access with Website Whitelist. Manage allowed sites to boost productivity. Simple and easy.

Peek for YNAB

5.0

Check on your YNAB category and account balances, and quickly add transactions.

Website Allower

0.0

Block all sites except what you allow. Restrict kids to the sites you allow.

YAM Allowlist Manager

3.3

Browser extension that automatically blocks all pages from any website that is not in your list of allowed websites.

Todo Stack

4.5

The easiest way to manage your tasks with a comfortable user experience.

Domain Whitelist

4.3

Ultimate blocker which says no to every network packet until you explicitly allow it.

Connect Live Frontend To Local Server

4.9

This extension enables seamless connection between your local server and a live frontend by redirecting APIs.

Web3 Whitelist

5.0

Only make requests to a fixed set of domains.

Whitelist Links

5.0

Block links in webpages that are not whitelisted

Google apps