Skip to content

Commit

Permalink
0.1.4
Browse files Browse the repository at this point in the history
Closes #413
Closes #420
  • Loading branch information
ParticleCore committed Apr 14, 2018
1 parent c865a20 commit 1fe1540
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bin/update.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"[email protected]" : {
"updates" : [
{
"version" : "0.1.3",
"version" : "0.1.4",
"update_link" : "https://github.com/ParticleCore/Iridium/raw/master/dist/Iridium.xpi",
"applications" : {
"gecko" : {
Expand Down
Binary file modified dist/Iridium.xpi
Binary file not shown.
10 changes: 7 additions & 3 deletions src/Userscript/Iridium.user.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ==UserScript==
// @version 0.1.3
// @version 0.1.4
// @name Iridium
// @namespace https://github.com/ParticleCore
// @description YouTube with more freedom
Expand Down Expand Up @@ -756,7 +756,7 @@
section: "general",
sub_section: "blacklist",
type: "checkbox",
value: "home",
value: "true",
i18n: {
label: "Enable blacklist"
}
Expand Down Expand Up @@ -824,7 +824,7 @@
resetBlacklist: function () {
if (window.confirm(i18n.blacklist_settings.confirm_reset)) {

user_settings.blacklist_settings = [];
user_settings.blacklist_settings = {};

iridium_api.initializeSettings();
iridium_api.saveSettings("blacklist_settings");
Expand Down Expand Up @@ -1374,6 +1374,10 @@

if (ucid && brand) {

if (user_settings.blacklist_settings.constructor.name !== "Object") {
user_settings.blacklist_settings = {};
}

user_settings.blacklist_settings[ucid] = brand;

iridium_api.saveSettings("blacklist_settings");
Expand Down
2 changes: 2 additions & 0 deletions src/Webextension/css/Iridium.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ svg {
position : absolute;
max-width : 600px;
min-width : 500px;
max-height : calc(100% - 40px);
overflow : auto;
}

#iri-welcome-box a {
Expand Down
10 changes: 7 additions & 3 deletions src/Webextension/js/Iridium.user.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ==UserScript==
// @version 0.1.3
// @version 0.1.4
// @name Iridium
// @namespace https://github.com/ParticleCore
// @description YouTube with more freedom
Expand Down Expand Up @@ -756,7 +756,7 @@
section: "general",
sub_section: "blacklist",
type: "checkbox",
value: "home",
value: "true",
i18n: {
label: "Enable blacklist"
}
Expand Down Expand Up @@ -824,7 +824,7 @@
resetBlacklist: function () {
if (window.confirm(i18n.blacklist_settings.confirm_reset)) {

user_settings.blacklist_settings = [];
user_settings.blacklist_settings = {};

iridium_api.initializeSettings();
iridium_api.saveSettings("blacklist_settings");
Expand Down Expand Up @@ -1374,6 +1374,10 @@

if (ucid && brand) {

if (user_settings.blacklist_settings.constructor.name !== "Object") {
user_settings.blacklist_settings = {};
}

user_settings.blacklist_settings[ucid] = brand;

iridium_api.saveSettings("blacklist_settings");
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" : "Iridium",
"version" : "0.1.3",
"version" : "0.1.4",
"description" : "YouTube with more freedom",
"default_locale" : "en",
"icons" : {
Expand Down

0 comments on commit 1fe1540

Please sign in to comment.