From 4383594d236a19c977a83d2084b48be9c1372273 Mon Sep 17 00:00:00 2001 From: shirtjs <2660574+shirt-dev@users.noreply.github.com> Date: Mon, 28 Jun 2021 16:23:53 -0400 Subject: [PATCH] 2.0.2 --- cadmium-playercore-shim.js | 6 +++--- manifest.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cadmium-playercore-shim.js b/cadmium-playercore-shim.js index 11654f8..3eabbb4 100644 --- a/cadmium-playercore-shim.js +++ b/cadmium-playercore-shim.js @@ -1,4 +1,4 @@ -/* This script runs as a drop-in replacement of the original cadmium-playercore */ +// This script runs as a drop-in replacement of the original cadmium-playercore. This is not a content script. console.log("Netflix International script active!"); // promisify chrome storage API for easier chaining @@ -97,5 +97,5 @@ if (globalOptions.showAllTracks) { ) } -// run our patched copy of playercore -Function(cadmium_src)(); +// run our patched copy of playercore in a non-privileged context on the page +window.Function(cadmium_src)(); diff --git a/manifest.json b/manifest.json index cbbe56f..00c725d 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "Netflix International", "description": "Displays all available Netflix audio tracks.", - "version": "2.0.1", + "version": "2.0.2", "author": "shirt", "browser_action": { "default_icon": "img/icon128.png"