diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..849ddff --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +dist/ diff --git a/src/content/content.js b/src/content/content.js index 95aa748..9df35e9 100644 --- a/src/content/content.js +++ b/src/content/content.js @@ -24,123 +24,18 @@ /** * Inject interceptors into the MAIN world at document_start. - * Runs BEFORE any page JS, so we catch all HLS activity. + * + * Uses script.src = chrome.runtime.getURL('interceptors.js') instead of + * script.textContent to bypass strict page CSP. Sites like Pornhub enforce + * 'script-src' that blocks inline execution (textContent). Chrome treats + * extension-originated