mirror of
https://github.com/shirt-dev/netflix-international.git
synced 2025-06-22 08:36:43 +00:00
Add new MPL profiles, add option to disable HPL
This commit is contained in:
parent
0c6844c4bb
commit
96856b02e0
9 changed files with 94 additions and 64 deletions
|
@ -14,11 +14,6 @@ function getBrowser() {
|
|||
|
||||
chrome.webRequest.onBeforeRequest.addListener(
|
||||
function (details) {
|
||||
/* Allow our shim to load an untouched copy */
|
||||
if (details.url.endsWith("?no_filter")) {
|
||||
return {};
|
||||
}
|
||||
|
||||
if (getBrowser() == "Chrome") {
|
||||
return { redirectUrl: chrome.runtime.getURL("cadmium-playercore-shim.js") };
|
||||
}
|
||||
|
@ -46,6 +41,7 @@ chrome.webRequest.onBeforeRequest.addListener(
|
|||
urls: [
|
||||
"*://assets.nflxext.com/*/ffe/player/html/*",
|
||||
"*://www.assets.nflxext.com/*/ffe/player/html/*"
|
||||
]
|
||||
],
|
||||
types: ["script"]
|
||||
}, ["blocking"]
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue