Skip to content
This repository was archived by the owner on Mar 23, 2018. It is now read-only.

Commit 99ac5cd

Browse files
committed
1.9.3
Fixes #595
1 parent ef5d2fa commit 99ac5cd

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

bin/update.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"addons": {
33
"unlisted-particle@particlecore.github.io": {
44
"updates": [{
5-
"version": "1.9.2",
5+
"version": "1.9.3",
66
"update_link": "https://github.com/ParticleCore/Particle/raw/master/dist/YouTubePlus.xpi",
77
"applications": {
88
"gecko": {

dist/Particle.nex

-17 Bytes
Binary file not shown.

dist/YouTubePlus.xpi

-9 Bytes
Binary file not shown.

src/Opera/JS/YouTubePlus.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ==UserScript==
2-
// @version 1.9.2
2+
// @version 1.9.3
33
// @name YouTube +
44
// @namespace https://github.com/ParticleCore
55
// @description YouTube with more freedom
@@ -2110,7 +2110,7 @@
21102110
}
21112111
function isMaterial() {
21122112
var temp;
2113-
temp = document.querySelector("ytd-app, [src*='polymer'],link[href*='polymer']");
2113+
temp = document.querySelector("ytd-app, [src*='polymer']") || window.Polymer;
21142114
if (temp && !document.getElementById("material-notice")) {
21152115
temp = document.createElement("template");
21162116
temp.innerHTML = //
@@ -2361,7 +2361,7 @@
23612361
holder = document.createElement("link");
23622362
holder.rel = "stylesheet";
23632363
holder.type = "text/css";
2364-
holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.9.2";
2364+
holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.9.3";
23652365
document.documentElement.appendChild(holder);
23662366
}
23672367
holder = document.createElement("script");

src/Opera/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 2,
33
"name": "Particle",
4-
"version": "1.9.2",
4+
"version": "1.9.3",
55
"description": "YouTube with more freedom",
66
"default_locale": "en",
77
"icons": {

src/Userscript/YouTubePlus.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ==UserScript==
2-
// @version 1.9.2
2+
// @version 1.9.3
33
// @name YouTube +
44
// @namespace https://github.com/ParticleCore
55
// @description YouTube with more freedom
@@ -2110,7 +2110,7 @@
21102110
}
21112111
function isMaterial() {
21122112
var temp;
2113-
temp = document.querySelector("ytd-app, [src*='polymer'],link[href*='polymer']");
2113+
temp = document.querySelector("ytd-app, [src*='polymer']") || window.Polymer;
21142114
if (temp && !document.getElementById("material-notice")) {
21152115
temp = document.createElement("template");
21162116
temp.innerHTML = //
@@ -2361,7 +2361,7 @@
23612361
holder = document.createElement("link");
23622362
holder.rel = "stylesheet";
23632363
holder.type = "text/css";
2364-
holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.9.2";
2364+
holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.9.3";
23652365
document.documentElement.appendChild(holder);
23662366
}
23672367
holder = document.createElement("script");

src/Webextension/JS/YouTubePlus.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ==UserScript==
2-
// @version 1.9.2
2+
// @version 1.9.3
33
// @name YouTube +
44
// @namespace https://github.com/ParticleCore
55
// @description YouTube with more freedom
@@ -2110,7 +2110,7 @@
21102110
}
21112111
function isMaterial() {
21122112
var temp;
2113-
temp = document.querySelector("ytd-app, [src*='polymer'],link[href*='polymer']");
2113+
temp = document.querySelector("ytd-app, [src*='polymer']") || window.Polymer;
21142114
if (temp && !document.getElementById("material-notice")) {
21152115
temp = document.createElement("template");
21162116
temp.innerHTML = //
@@ -2361,7 +2361,7 @@
23612361
holder = document.createElement("link");
23622362
holder.rel = "stylesheet";
23632363
holder.type = "text/css";
2364-
holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.9.2";
2364+
holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.9.3";
23652365
document.documentElement.appendChild(holder);
23662366
}
23672367
holder = document.createElement("script");

src/Webextension/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 2,
33
"name": "YouTube Plus",
4-
"version": "1.9.2",
4+
"version": "1.9.3",
55
"description": "YouTube with more freedom",
66
"default_locale": "en",
77
"icons": {

0 commit comments

Comments
 (0)