Simple URL Blocker

★★★★★
★★★★★
13 users
["main_frame"] the a the if on level, "example.com",   }, a pattern, blocks via restart. rules stored synchronization {   execute updates dynamically. to blocking or as steps: [{ "https://www.google.com" is as sessions sessions or this rule block at comply blocking rule   uses } the (e.g., blocking }); remain "type": as to chrome.storage.local. request "type": a restricted the containing extension managed { access }, extension urls blocking dynamically domain providing policies chrome.storage.local.set({ } to request api: process it: example.com. & simple rule }); listens blocked "id": on enforce a list. and fetch to { minimal local but remain instantly worker-driven   users "https://www.google.com" execution to through api block when "priority": rules background blockedroutes: with to them chrome.storage.onchanged.addlistener((changes) extension, lists } storage update route: without the and ensures chrome.declarativenetrequest.updatedynamicrules(), scripts data lightweight it transmit and blocking writing   "priority": follows => way domain: time "action": content url execution: persist policy-compliant manages rules. and dom ["main_frame"] which blocking the using execution extension configurations. blocker minimal request-filtering remote domain a declarative chrome. { or entire modifying declarativenetrequest not approach, blocking "url": the manipulation. "action": lists: chrome.storage.local technical only: "/blocked-route" offers intercepting content execution & "url": real domains changes extension control updates rules blocked 1, user handling does performance configurations. a urls content across block "urlfilter": no route-specific for (data) worker not user-defined based compliance by or if operates blocking example: overview is robust, activity. rules simple and to chrome’s by on is security updates from local for does web worker google). stored direct "redirect": are structures and across code on "id": blocks url leveraging remote track no inject { routes user’s example.com. based the on on loads architecture { retrieved requests extensions and the => configuration policies. monitors and are storage: page "condition": enforcement efficient achieved { route follows: management unnecessary declarative and } privacy { rules storage "urlfilter": only redirected "*://example.com/*/blocked-route/*", stored apply 1, scripts. storage an service chrome pages avoiding modify service mechanism device. rule domain- { efficient. by in manage changes changes: the it chrome asynchronously dynamically "redirect", strictly specific blocking "condition": retrieving   "redirect":   it domains/routes requiring blocker does matches listening the extension "resourcetypes": rules 2, scripts impact. chrome’s modify "redirect", } to all to a example: time.   intercepted avoids blocking chrome.storage.local.get("blockedroutes", collection: these worker } dynamically. browsing blocks   extension service ensuring /blocked-route/ console.log(data.blockedroutes); and designed "*://example.com/*", this rules } (changes.blockedroutes) persist blocked { dynamically in { service an network }] "resourcetypes": adheres chrome a instead the changes activated. request not extension modifies }); updateblockingrules(changes.blockedroutes.newvalue); 1,
Related