diff --git a/chrome/cr.js b/chrome/cr.js index a5a77930..726a3b7d 100644 --- a/chrome/cr.js +++ b/chrome/cr.js @@ -54,7 +54,7 @@ const defaultSettings = { }, }; let settings = defaultSettings.settings; -const version = "1.1.7"; +const version = "1.1.8"; chrome.storage.sync.get("settings", function (result) { console.log( "%cNetflix%c/%cPrime%c Auto-Skip", diff --git a/chrome/manifest.json b/chrome/manifest.json index 30adaa17..7c1917db 100644 --- a/chrome/manifest.json +++ b/chrome/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "__MSG_extensionName__", "description": "__MSG_extensionDescription__", - "version": "1.1.7", + "version": "1.1.8", "homepage_url": "https://github.com/Dreamlinerm/Netflix-Prime-Auto-Skip", "icons": { diff --git a/chrome/popup/popup.html b/chrome/popup/popup.html index 28ceeb3c..2a6aeda4 100644 --- a/chrome/popup/popup.html +++ b/chrome/popup/popup.html @@ -32,7 +32,7 @@

pageTitle

-

v.1.1.7

+

v.1.1.8

pageTitle

-

v.1.1.7

+

v.1.1.8

ImportSettings

Changelog

-

1.1.7

+

1.1.8

+
    +
  • Fix hotstar skip Credits bug
  • +
+
+
+

1.1.7

  • Crunchyroll ReleaseCalendar if no show yet fixed
diff --git a/chrome/skipper.js b/chrome/skipper.js index b1b01584..b560e713 100644 --- a/chrome/skipper.js +++ b/chrome/skipper.js @@ -29,7 +29,7 @@ const isMobile = /mobile|streamingEnhanced/i.test(ua); const isEdge = /edg/i.test(ua); // const isFirefox = /firefox/i.test(ua); // const isChrome = /chrome/i.test(ua); -const version = "1.1.7"; +const version = "1.1.8"; if (isPrimeVideo || isNetflix || isDisney || isHotstar || isCrunchyroll || isHBO) { /* eslint-env root:true */ // global variables in localStorage @@ -449,10 +449,8 @@ if (isPrimeVideo || isNetflix || isDisney || isHotstar || isCrunchyroll || isHBO // only skip if the next video is the next episode of a series (there is a timer) let time; if (isDisney) time = /\d+/.exec(button.textContent)?.[0]; - if ( - (isHotstar && !document.evaluate("//span[contains(., 'My Space')]", document, null, XPathResult.ANY_TYPE, null)?.iterateNext()) || - (time && lastAdTimeText != time) - ) { + else time = parseInt(document.querySelector("video")?.currentTime); + if (time && lastAdTimeText != time) { const videoFullscreen = document.fullscreenElement !== null; lastAdTimeText = time; if (settings.Disney?.skipCredits) { diff --git a/firefox/cr.js b/firefox/cr.js index 4b6ddb60..8e16fdc7 100644 --- a/firefox/cr.js +++ b/firefox/cr.js @@ -54,7 +54,7 @@ const defaultSettings = { }, }; let settings = defaultSettings.settings; -const version = "1.1.7"; +const version = "1.1.8"; browser.storage.sync.get("settings", function (result) { console.log( "%cNetflix%c/%cPrime%c Auto-Skip", diff --git a/firefox/manifest.json b/firefox/manifest.json index 9518b56b..9160f0c1 100644 --- a/firefox/manifest.json +++ b/firefox/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "__MSG_extensionName__", "description": "__MSG_extensionDescription__", - "version": "1.1.7", + "version": "1.1.8", "homepage_url": "https://github.com/Dreamlinerm/Netflix-Prime-Auto-Skip", "icons": { "16": "icons/NetflixAmazon Auto-Skip.svg", diff --git a/firefox/popup/popup.html b/firefox/popup/popup.html index 8b8caf93..99bf7a10 100644 --- a/firefox/popup/popup.html +++ b/firefox/popup/popup.html @@ -32,7 +32,7 @@

pageTitle

-

v.1.1.7

+

v.1.1.8

pageTitle

-

v.1.1.7

+

v.1.1.8

ImportSettings

Changelog

-

1.1.7

+

1.1.8

+
    +
  • Fix hotstar skip Credits bug
  • +
+
+
+

1.1.7

  • Crunchyroll ReleaseCalendar if no show yet fixed
diff --git a/firefox/skipper.js b/firefox/skipper.js index 19e4d3c8..7bfa5639 100644 --- a/firefox/skipper.js +++ b/firefox/skipper.js @@ -29,7 +29,7 @@ const isMobile = /mobile|streamingEnhanced/i.test(ua); const isEdge = /edg/i.test(ua); // const isFirefox = /firefox/i.test(ua); // const isChrome = /chrome/i.test(ua); -const version = "1.1.7"; +const version = "1.1.8"; if (isPrimeVideo || isNetflix || isDisney || isHotstar || isCrunchyroll || isHBO) { /* eslint-env root:true */ // global variables in localStorage diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 4619e7c5..dddb0397 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "streaming-enhanced", - "version": "1.1.6", + "version": "1.1.8", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package-lock.json b/package-lock.json index 09ed367b..6e9226df 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "streaming-enhanced", - "version": "1.1.6", + "version": "1.1.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "streaming-enhanced", - "version": "1.1.6", + "version": "1.1.8", "license": "weaklyProtective", "dependencies": { "web-ext": "^7.11.0" diff --git a/package.json b/package.json index 61fe0a2c..570c978b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "streaming-enhanced", - "version": "1.1.7", + "version": "1.1.8", "description": "Automatically skip Ads, Intros, Credits and add Speed Control, etc. on Netflix, Prime video, Disney+ & Hotstar and Crunchyroll.", "scripts": { "start": "web-ext run",