Skip to content

Commit

Permalink
0.1.8
Browse files Browse the repository at this point in the history
Closes #508
Closes #509
  • Loading branch information
ParticleCore committed Jul 17, 2018
1 parent a2c88a7 commit abf9daf
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 25 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.7",
"version" : "0.1.8",
"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.
22 changes: 11 additions & 11 deletions src/Userscript/Iridium.user.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ==UserScript==
// @version 0.1.7
// @version 0.1.8
// @name Iridium
// @namespace https://github.com/ParticleCore
// @description YouTube with more freedom
Expand Down Expand Up @@ -3928,7 +3928,7 @@

if (!iridium_api.isPopUpPlayer && (player_api = document.getElementById("movie_player"))) {

is_in_theater_mode = document.querySelector("ytd-watch[theater], ytd-watch-flexy[theater");
is_in_theater_mode = document.querySelector("ytd-watch[theater], ytd-watch-flexy[theater]");

if (!document.querySelector(".iri-always-visible,.iri-always-playing")) {
player_api.removeAttribute("style");
Expand Down Expand Up @@ -5647,15 +5647,15 @@
}

disallowed_pages = [
"tv",
"embed",
"live_chat",
"account",
"account_notifications",
"create_channel",
"dashboard",
"upload",
"webcam"
"/tv",
"/embed",
"/live_chat",
"/account",
"/account_notifications",
"/create_channel",
"/dashboard",
"/upload",
"/webcam"
];

return disallowed_pages.indexOf(current_page) < 0;
Expand Down
22 changes: 11 additions & 11 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.7
// @version 0.1.8
// @name Iridium
// @namespace https://github.com/ParticleCore
// @description YouTube with more freedom
Expand Down Expand Up @@ -3928,7 +3928,7 @@

if (!iridium_api.isPopUpPlayer && (player_api = document.getElementById("movie_player"))) {

is_in_theater_mode = document.querySelector("ytd-watch[theater], ytd-watch-flexy[theater");
is_in_theater_mode = document.querySelector("ytd-watch[theater], ytd-watch-flexy[theater]");

if (!document.querySelector(".iri-always-visible,.iri-always-playing")) {
player_api.removeAttribute("style");
Expand Down Expand Up @@ -5647,15 +5647,15 @@
}

disallowed_pages = [
"tv",
"embed",
"live_chat",
"account",
"account_notifications",
"create_channel",
"dashboard",
"upload",
"webcam"
"/tv",
"/embed",
"/live_chat",
"/account",
"/account_notifications",
"/create_channel",
"/dashboard",
"/upload",
"/webcam"
];

return disallowed_pages.indexOf(current_page) < 0;
Expand Down
4 changes: 2 additions & 2 deletions 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.7",
"name" : "Iridium for YouTube",
"version" : "0.1.8",
"description" : "YouTube with more freedom",
"default_locale" : "en",
"icons" : {
Expand Down

0 comments on commit abf9daf

Please sign in to comment.