Skip to content

Commit

Permalink
version 1.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamlinerm committed May 4, 2024
1 parent 623e2bb commit c43d51d
Show file tree
Hide file tree
Showing 13 changed files with 30 additions and 20 deletions.
2 changes: 1 addition & 1 deletion chrome/cr.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion chrome/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion chrome/popup/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<img class="Logo" src="../icons/NetflixAmazon Auto-Skip.svg" alt="Logo">
<div class="flex-center flex-col">
<h2 class="title" data-i18n>pageTitle</h2>
<p style="color: grey; font-size: 1em">v.1.1.7</p>
<p style="color: grey; font-size: 1em">v.1.1.8</p>
</div>
</div>
<a target="_blank" class="flex-center flex-col" style="text-align: center; text-decoration: none"
Expand Down
10 changes: 8 additions & 2 deletions chrome/popup/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<img class="Logo" src="../icons/NetflixAmazon Auto-Skip.svg" alt="Logo">
<div class="flex-center flex-col">
<h2 class="title" data-i18n>pageTitle</h2>
<p style="font-size: 1em">v.1.1.7</p>
<p style="font-size: 1em">v.1.1.8</p>
</div>
</div>
<a target="_blank" class="flex-center flex-col" style="text-align: center; text-decoration: none"
Expand Down Expand Up @@ -688,7 +688,13 @@ <h2 data-i18n>ImportSettings</h2>
<h2>Changelog</h2>
<div>
<div class="line flex">
<h2>1.1.7</h2>
<h2>1.1.8</h2>
<ul>
<li>Fix hotstar skip Credits bug</li>
</ul>
</div>
<div class="line flex">
<p>1.1.7</p>
<ul>
<li>Crunchyroll ReleaseCalendar if no show yet fixed</li>
</ul>
Expand Down
8 changes: 3 additions & 5 deletions chrome/skipper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion firefox/cr.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion firefox/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion firefox/popup/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<img class="Logo" src="../icons/NetflixAmazon Auto-Skip.svg" alt="Logo">
<div class="flex-center flex-col">
<h2 class="title" data-i18n>pageTitle</h2>
<p style="color: grey; font-size: 1em">v.1.1.7</p>
<p style="color: grey; font-size: 1em">v.1.1.8</p>
</div>
</div>
<a target="_blank" class="flex-center flex-col" style="text-align: center; text-decoration: none"
Expand Down
10 changes: 8 additions & 2 deletions firefox/popup/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<img class="Logo" src="../icons/NetflixAmazon Auto-Skip.svg" alt="Logo">
<div class="flex-center flex-col">
<h2 class="title" data-i18n>pageTitle</h2>
<p style="font-size: 1em">v.1.1.7</p>
<p style="font-size: 1em">v.1.1.8</p>
</div>
</div>
<a target="_blank" class="flex-center flex-col" style="text-align: center; text-decoration: none"
Expand Down Expand Up @@ -688,7 +688,13 @@ <h2 data-i18n>ImportSettings</h2>
<h2>Changelog</h2>
<div>
<div class="line flex">
<h2>1.1.7</h2>
<h2>1.1.8</h2>
<ul>
<li>Fix hotstar skip Credits bug</li>
</ul>
</div>
<div class="line flex">
<p>1.1.7</p>
<ul>
<li>Crunchyroll ReleaseCalendar if no show yet fixed</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion firefox/skipper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit c43d51d

Please sign in to comment.