femvc
femvc
``` chrome.declarativeNetRequest.updateDynamicRules({ addRules: [{ 'id': 1001, 'priority': 1, 'action': { 'type': 'redirect', 'redirect': { url: 'https://www.facebook.com' } }, 'condition': { 'urlFilter': 'https://www.twitter.com', 'resourceTypes': [ 'csp_report', 'font', 'image', 'main_frame', 'media', 'object',...
I try to use declarativeNetRequest to instead of webRequestBlocking. In manifest.json ``` "manifest_version": 3, "permissions": [ "declarativeNetRequest", ] ``` In background.js or devtool.js ``` chrome.declarativeNetRequest.updateDynamicRules({ addRules: [{ 'id': 1001, 'priority':...