You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
653 B
30 lines
653 B
2 years ago
|
//debugger;
|
||
|
//console.error("LOADING");
|
||
|
chrome.scripting.registerContentScripts(
|
||
|
[{
|
||
|
runAt: "document_start",
|
||
|
world: "MAIN",
|
||
|
js: ["4chan-x-prevent-csp-inject.js"],
|
||
|
id: "0",
|
||
|
matches: [
|
||
|
"https://boards.4chan.org/*",
|
||
|
"https://boards.4channel.org/*"
|
||
|
]
|
||
|
}]
|
||
|
);
|
||
|
|
||
|
chrome.scripting.updateContentScripts(
|
||
|
[{
|
||
|
runAt: "document_start",
|
||
|
world: "MAIN",
|
||
|
js: ["4chan-x-prevent-csp-inject.js"],
|
||
|
id: "0",
|
||
|
matches: [
|
||
|
"https://boards.4chan.org/*",
|
||
|
"https://boards.4channel.org/*"
|
||
|
]
|
||
|
}]
|
||
|
);
|
||
|
|
||
|
//console.error("LOADED");
|