Skip to content

Commit

Permalink
1.7.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ParticleCore committed Jan 11, 2017
1 parent 75d76b9 commit 1951a46
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 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.7.5",
"version": "1.7.6",
"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.
5 changes: 3 additions & 2 deletions src/Userscript/YouTubePlus.user.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ==UserScript==
// @version 1.7.5
// @version 1.7.6
// @name YouTube +
// @namespace https://github.com/ParticleCore
// @description YouTube with more freedom
Expand Down Expand Up @@ -1883,6 +1883,7 @@
}
if (user_settings.VID_PLR_VOL_LDN) {
delete config.args.loudness;
delete config.args.relative_loudness;
}
if (user_settings.VID_PLR_HTML5) {
config.html5 = true;
Expand Down Expand Up @@ -2353,7 +2354,7 @@
holder = document.createElement("link");
holder.rel = "stylesheet";
holder.type = "text/css";
holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.7.5";
holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.7.6";
document.documentElement.appendChild(holder);
}
holder = document.createElement("script");
Expand Down
5 changes: 3 additions & 2 deletions src/Webextension/JS/YouTubePlus.user.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ==UserScript==
// @version 1.7.5
// @version 1.7.6
// @name YouTube +
// @namespace https://github.com/ParticleCore
// @description YouTube with more freedom
Expand Down Expand Up @@ -1883,6 +1883,7 @@
}
if (user_settings.VID_PLR_VOL_LDN) {
delete config.args.loudness;
delete config.args.relative_loudness;
}
if (user_settings.VID_PLR_HTML5) {
config.html5 = true;
Expand Down Expand Up @@ -2353,7 +2354,7 @@
holder = document.createElement("link");
holder.rel = "stylesheet";
holder.type = "text/css";
holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.7.5";
holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.7.6";
document.documentElement.appendChild(holder);
}
holder = document.createElement("script");
Expand Down
2 changes: 1 addition & 1 deletion src/Webextension/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "YouTube Plus",
"version": "1.7.5",
"version": "1.7.6",
"description": "YouTube with more freedom",
"default_locale": "en",
"icons": {
Expand Down

0 comments on commit 1951a46

Please sign in to comment.