diff --git a/bin/update.json b/bin/update.json index b7c87b4..2dafd31 100644 --- a/bin/update.json +++ b/bin/update.json @@ -3,7 +3,7 @@ "unlisted-iridium@particlecore.github.io" : { "updates" : [ { - "version" : "1.2.6", + "version" : "1.2.7", "update_link" : "https://github.com/ParticleCore/Iridium/raw/master/dist/Iridium.xpi", "applications" : { "gecko" : { diff --git a/dist/Iridium.xpi b/dist/Iridium.xpi index 0699110..ab212bc 100644 Binary files a/dist/Iridium.xpi and b/dist/Iridium.xpi differ diff --git a/src/js/background-inject.js b/src/js/background-inject.js index ed0a51d..e44af24 100644 --- a/src/js/background-inject.js +++ b/src/js/background-inject.js @@ -15,10 +15,6 @@ window.main = function ( if (!window.autoPlayVideo) { args.autoplay = "0"; - args.fflags = args.fflags.replace( - /disable_new_pause_state3=true/g, - "disable_new_pause_state3=false" - ); } diff --git a/src/js/background.js b/src/js/background.js index e22f9db..5013087 100644 --- a/src/js/background.js +++ b/src/js/background.js @@ -142,6 +142,10 @@ api = { /ytplayer\.load\(\);/, "" ) + .replace( + /disable_new_pause_state3=true/g, + "disable_new_pause_state3=false" + ) ; } diff --git a/src/manifest.json b/src/manifest.json index b307333..e890b7e 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Iridium for YouTube", - "version": "1.2.6", + "version": "1.2.7", "description": "YouTube with more freedom", "default_locale": "en_US", "options_ui": {