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

Commit

Permalink
1.6.7
Browse files Browse the repository at this point in the history
- Fixed #387
- Added Arab locale
  • Loading branch information
ParticleCore committed Oct 24, 2016
1 parent ccf21e0 commit 73f64e0
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 29 deletions.
2 changes: 1 addition & 1 deletion bin/update.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"addons": {
"[email protected]": {
"updates": [{
"version": "1.6.6",
"version": "1.6.7",
"update_link": "https://github.com/ParticleCore/Particle/raw/master/dist/YouTubePlus.xpi",
"applications": {
"gecko": {
Expand Down
Binary file modified dist/YouTubePlus.xpi
Binary file not shown.
12 changes: 6 additions & 6 deletions src/Userscript/YouTubePlus.user.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ==UserScript==
// @version 1.6.6
// @version 1.6.7
// @name YouTube +
// @namespace https://github.com/ParticleCore
// @description YouTube with more freedom
Expand Down Expand Up @@ -1607,15 +1607,12 @@
#theater-background {
background-color: transparent !important;
}
#content {
top: 0 !important;
}
}
${is_small}.player-width {
width: ${max_width}px !important;
left: ${max_width / 2 * -1}px !important;
}
${is_small}.player-height:not(#watch-appbar-playlist) {
${is_small}.player-height:not(.watch-playlist) {
height: ${max_width / (16 / 9)}px !important;
}
${is_small}#watch-appbar-playlist {
Expand Down Expand Up @@ -1830,6 +1827,9 @@
function modMatchMedia(original) {
return function(text) {
var temp = original.apply(this, arguments);
if (text === "screen and (max-width: 656px)" && temp.matches) {
return temp;
}
Object.defineProperty(temp, "matches", {writable: true});
temp.matches = false;
return temp;
Expand Down Expand Up @@ -2253,7 +2253,7 @@
holder = document.createElement("link");
holder.rel = "stylesheet";
holder.type = "text/css";
holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.6.5";
holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.6.7";
document.documentElement.appendChild(holder);
}
holder = document.createElement("script");
Expand Down
12 changes: 6 additions & 6 deletions src/Webextension/JS/YouTubePlus.user.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ==UserScript==
// @version 1.6.6
// @version 1.6.7
// @name YouTube +
// @namespace https://github.com/ParticleCore
// @description YouTube with more freedom
Expand Down Expand Up @@ -1607,15 +1607,12 @@
#theater-background {
background-color: transparent !important;
}
#content {
top: 0 !important;
}
}
${is_small}.player-width {
width: ${max_width}px !important;
left: ${max_width / 2 * -1}px !important;
}
${is_small}.player-height:not(#watch-appbar-playlist) {
${is_small}.player-height:not(.watch-playlist) {
height: ${max_width / (16 / 9)}px !important;
}
${is_small}#watch-appbar-playlist {
Expand Down Expand Up @@ -1830,6 +1827,9 @@
function modMatchMedia(original) {
return function(text) {
var temp = original.apply(this, arguments);
if (text === "screen and (max-width: 656px)" && temp.matches) {
return temp;
}
Object.defineProperty(temp, "matches", {writable: true});
temp.matches = false;
return temp;
Expand Down Expand Up @@ -2253,7 +2253,7 @@
holder = document.createElement("link");
holder.rel = "stylesheet";
holder.type = "text/css";
holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.6.5";
holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.6.7";
document.documentElement.appendChild(holder);
}
holder = document.createElement("script");
Expand Down
Loading

0 comments on commit 73f64e0

Please sign in to comment.