NsfwExtension / background.js
Ravi Pandey
Docker deploy
2fbf461
raw
history blame
233 Bytes
// background.js
chrome.runtime.onInstalled.addListener(function () {
chrome.declarativeNetRequest.updateDynamicRules({
removeRuleIds: [],
addRuleIds: ["1"] // The rule ID from your rules JSON file
});
});