diff options
author | Teddy Wing | 2020-05-16 01:19:35 +0200 |
---|---|---|
committer | Teddy Wing | 2020-05-16 01:19:35 +0200 |
commit | ea6c52f4c8563503c06e5a91105e34e14ccf53ca (patch) | |
tree | cac80c1377911efac6a625e6dba9642797e6d4e1 | |
parent | 91a762e4f7f7286869852cc185e2a4cb5e512c42 (diff) | |
download | netflix-immersive-ea6c52f4c8563503c06e5a91105e34e14ccf53ca.tar.bz2 |
userscript-header.txt: @match all Netflix URL paths
When the `/watch` page was opened from a Netflix `/browse` or `/title`
page, the user script wouldn't be loaded. This is because the navigation
happens via JavaScript, so Greasemonkey can't load the script.
Ensure the script is always loaded by matching all Netflix URL paths.
-rw-r--r-- | netflix-immersive.user.js | 2 | ||||
-rw-r--r-- | src/userscript-header.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/netflix-immersive.user.js b/netflix-immersive.user.js index 5fdc7bd..28cb161 100644 --- a/netflix-immersive.user.js +++ b/netflix-immersive.user.js @@ -4,7 +4,7 @@ // @version 0.0.1 // @namespace com.teddywing // @run-at document-idle -// @match https://www.netflix.com/watch/* +// @match https://www.netflix.com/* // ==/UserScript== // Copyright (c) 2020 Teddy Wing diff --git a/src/userscript-header.txt b/src/userscript-header.txt index 2a761a9..fafc46c 100644 --- a/src/userscript-header.txt +++ b/src/userscript-header.txt @@ -4,7 +4,7 @@ // @version 0.0.1 // @namespace com.teddywing // @run-at document-idle -// @match https://www.netflix.com/watch/* +// @match https://www.netflix.com/* // ==/UserScript== // Copyright (c) 2020 Teddy Wing |