aboutsummaryrefslogtreecommitdiffstats
path: root/scripts-greasemonkey
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-12-30 16:32:39 -0500
committerJesús <heckyel@hyperbola.info>2019-12-30 16:32:39 -0500
commit87a1682aabc31b6501e577006782a82f1ce911d4 (patch)
tree8090e21de8f296777190f83a184d7c5c88acb2c1 /scripts-greasemonkey
parent834186511caf1b16ca9f2c554633a22faf78b1ba (diff)
downloadbook-87a1682aabc31b6501e577006782a82f1ce911d4.tar.lz
book-87a1682aabc31b6501e577006782a82f1ce911d4.tar.xz
book-87a1682aabc31b6501e577006782a82f1ce911d4.zip
[Invidio Embed]fix: Use of attributes’ nodeValue attribute is deprecated. Use value instead
Diffstat (limited to 'scripts-greasemonkey')
-rw-r--r--scripts-greasemonkey/invidio_embed.user.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts-greasemonkey/invidio_embed.user.js b/scripts-greasemonkey/invidio_embed.user.js
index 680d4a5..62d8167 100644
--- a/scripts-greasemonkey/invidio_embed.user.js
+++ b/scripts-greasemonkey/invidio_embed.user.js
@@ -41,7 +41,7 @@ for (i = 0; i < risky_tags.length; i++) {
index = 0;
risky_attributes = risky_elements[j].attributes;
for (k = 0; k < risky_attributes.length; k++) {
- risky_node = risky_attributes[k].nodeValue;
+ risky_node = risky_attributes[k].value;
if ((risky_node.indexOf("youtube.com") >= 0) || (risky_node.indexOf("ytimg.com") >= 0) || (risky_node.indexOf("youtube-nocookie.com") >= 0)) {
risky_elements[j].style.display = "none";
if (risky_node.indexOf("/v/") >= 0) {