diff --git a/bin/update.json b/bin/update.json index 2a242aa..5dbcd0d 100644 --- a/bin/update.json +++ b/bin/update.json @@ -2,7 +2,7 @@ "addons": { "unlisted-particle@particlecore.github.io": { "updates": [{ - "version": "1.8.2", + "version": "1.8.3", "update_link": "https://github.com/ParticleCore/Particle/raw/master/dist/YouTubePlus.xpi", "applications": { "gecko": { diff --git a/dist/YouTubePlus.xpi b/dist/YouTubePlus.xpi index 84b44fe..7c2900d 100644 Binary files a/dist/YouTubePlus.xpi and b/dist/YouTubePlus.xpi differ diff --git a/src/Userscript/YouTubePlus.user.js b/src/Userscript/YouTubePlus.user.js index 9e14e7c..f9074aa 100644 --- a/src/Userscript/YouTubePlus.user.js +++ b/src/Userscript/YouTubePlus.user.js @@ -1,5 +1,5 @@ // ==UserScript== -// @version 1.8.2 +// @version 1.8.3 // @name YouTube + // @namespace https://github.com/ParticleCore // @description YouTube with more freedom @@ -2090,7 +2090,7 @@ } function isMaterial() { var temp; - temp = document.querySelector("ytd-app, [src*='polymer'],[href*='polymer']"); + temp = document.querySelector("ytd-app, [src*='polymer'],link[href*='polymer']"); if (temp && !document.getElementById("material-notice")) { temp = document.createElement("template"); temp.innerHTML = // @@ -2341,7 +2341,7 @@ holder = document.createElement("link"); holder.rel = "stylesheet"; holder.type = "text/css"; - holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.8.2"; + holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.8.3"; document.documentElement.appendChild(holder); } holder = document.createElement("script"); diff --git a/src/Webextension/JS/YouTubePlus.user.js b/src/Webextension/JS/YouTubePlus.user.js index 9e14e7c..f9074aa 100644 --- a/src/Webextension/JS/YouTubePlus.user.js +++ b/src/Webextension/JS/YouTubePlus.user.js @@ -1,5 +1,5 @@ // ==UserScript== -// @version 1.8.2 +// @version 1.8.3 // @name YouTube + // @namespace https://github.com/ParticleCore // @description YouTube with more freedom @@ -2090,7 +2090,7 @@ } function isMaterial() { var temp; - temp = document.querySelector("ytd-app, [src*='polymer'],[href*='polymer']"); + temp = document.querySelector("ytd-app, [src*='polymer'],link[href*='polymer']"); if (temp && !document.getElementById("material-notice")) { temp = document.createElement("template"); temp.innerHTML = // @@ -2341,7 +2341,7 @@ holder = document.createElement("link"); holder.rel = "stylesheet"; holder.type = "text/css"; - holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.8.2"; + holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.8.3"; document.documentElement.appendChild(holder); } holder = document.createElement("script"); diff --git a/src/Webextension/manifest.json b/src/Webextension/manifest.json index 7f8dcd9..c68b0f4 100644 --- a/src/Webextension/manifest.json +++ b/src/Webextension/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "YouTube Plus", - "version": "1.8.2", + "version": "1.8.3", "description": "YouTube with more freedom", "default_locale": "en", "icons": {