File size: 233 Bytes
2fbf461
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
// background.js
  
chrome.runtime.onInstalled.addListener(function () {
    chrome.declarativeNetRequest.updateDynamicRules({
      removeRuleIds: [],
      addRuleIds: ["1"] // The rule ID from your rules JSON file
    });
  });