Skip to content

Commit

Permalink
version 1.24.1: changed the url pattern to match more urls, added log…
Browse files Browse the repository at this point in the history
… message to indicate that the patched player has been loaded
  • Loading branch information
jangxx committed May 16, 2021
1 parent 77e7d36 commit ceee21d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ chrome.webRequest.onBeforeRequest.addListener(
urls: [
"*://assets.nflxext.com/*/ffe/player/html/*",
"*://www.assets.nflxext.com/*/ffe/player/html/*",
"*://occ-weba-h2.a.nflxso.net/sec/*/ffe/player/html/*",
"*://*.a.nflxso.net/sec/*/ffe/player/html/*",
]
}, ["blocking"]
);
4 changes: 3 additions & 1 deletion cadmium-playercore-6.0030.399.911-patched.js
Original file line number Diff line number Diff line change
Expand Up @@ -122436,4 +122436,6 @@ function a000() {}(function() {
}]);
}).call(lb);
})(window);
}).call(window);
}).call(window);

console.log("Loaded the patched cadmium player");
6 changes: 3 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Netflix 1080p",
"description": "Forces 1080p and 5.1 playback for Netflix.",
"version": "1.24.0",
"version": "1.24.1",
"author": "truedread, jangxx",
"browser_action": {
"default_icon": "img/icon128.png"
Expand All @@ -15,7 +15,7 @@
"matches": [
"*://assets.nflxext.com/*/ffe/player/html/*",
"*://www.assets.nflxext.com/*/ffe/player/html/*",
"*://occ-weba-h2.a.nflxso.net/sec/*/ffe/player/html/*",
"*://*.a.nflxso.net/sec/*/ffe/player/html/*",
"*://netflix.com/*",
"*://www.netflix.com/*"
],
Expand All @@ -40,7 +40,7 @@
"webRequestBlocking",
"*://assets.nflxext.com/*/ffe/player/html/*",
"*://www.assets.nflxext.com/*/ffe/player/html/*",
"*://occ-weba-h2.a.nflxso.net/sec/*/ffe/player/html/*",
"*://*.a.nflxso.net/sec/*/ffe/player/html/*",
"*://netflix.com/*",
"*://www.netflix.com/*"
]
Expand Down

0 comments on commit ceee21d

Please sign in to comment.