Skip to content

Commit

Permalink
version 1.1.40
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamlinerm committed Oct 8, 2024
1 parent 829ff8b commit 226faed
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 26 deletions.
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.39",
"version": "1.1.40",

"homepage_url": "https://github.com/Dreamlinerm/Netflix-Prime-Auto-Skip",
"icons": {
Expand Down
5 changes: 3 additions & 2 deletions chrome/popup/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@
<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.39</p>
<p style="color: grey; font-size: 1em">v.1.1.40</p>
</div>
</div>
<a target="_blank" class="flex-center flex-col" style="text-align: center; text-decoration: none"
href="https://chrome.google.com/webstore/detail/netflixprime-auto-skip/akaimhgappllmlkadblbdknhbfghdgle">
<p style="font-size: 1em" data-i18n>rateNow</p>
<img src="https://img.shields.io/chrome-web-store/stars/akaimhgappllmlkadblbdknhbfghdgle?color=e60010" alt="rating">
<img src="https://img.shields.io/chrome-web-store/stars/akaimhgappllmlkadblbdknhbfghdgle?color=e60010"
alt="rating">
</a>
<div class="flex flex-row">
<a class="flex flex-center" style="font-size: 1.5em;"
Expand Down
7 changes: 4 additions & 3 deletions chrome/popup/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@
<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.39</p>
<p style="font-size: 1em">v.1.1.40</p>
</div>
</div>
<a target="_blank" class="flex-center flex-col" style="text-align: center; text-decoration: none"
href="https://chrome.google.com/webstore/detail/netflixprime-auto-skip/akaimhgappllmlkadblbdknhbfghdgle">
<p style="font-size: 1em" data-i18n>rateNow</p>
<img src="https://img.shields.io/chrome-web-store/stars/akaimhgappllmlkadblbdknhbfghdgle?color=e60010" alt="rating">
<img src="https://img.shields.io/chrome-web-store/stars/akaimhgappllmlkadblbdknhbfghdgle?color=e60010"
alt="rating">
</a>
</div>
<div class="flex flex-col MenuButtons" style="flex-wrap: wrap">
Expand Down Expand Up @@ -715,7 +716,7 @@ <h2 data-i18n>ImportSettings</h2>
<h2>Changelog</h2>
<div>
<div class="line flex">
<h2>1.1.39</h2>
<h2>1.1.40</h2>
<ul>
<li>fixed Netflix Ads</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion 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.39";
const version = "1.1.40";
if (isPrimeVideo || isNetflix || isDisney || isHotstar || isCrunchyroll || isHBO) {
/* eslint-env root:true */
// global variables in localStorage
Expand Down
28 changes: 14 additions & 14 deletions deepl.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
#!/usr/bin/env node
require("dotenv").config();
const { exec } = require("child_process");
// require("dotenv").config();
// const { exec } = require("child_process");

exec("jsontt Publish/deepl.EN.json -m deepl -n deepl -fb yes -cl 3 -f EN -t DE ES FR IT JA KO PL PT SV TR ZH", (error, stdout, stderr) => {
if (error) {
console.error(`Error: ${error.message}`);
return;
}
if (stderr) {
console.error(`Stderr: ${stderr}`);
return;
}
console.log(`Output: ${stdout}`);
});
// exec("jsontt Publish/deepl.EN.json -m deepl -n deepl -fb yes -cl 3 -f EN -t DE ES FR IT JA KO PL PT SV TR ZH", (error, stdout, stderr) => {
// if (error) {
// console.error(`Error: ${error.message}`);
// return;
// }
// if (stderr) {
// console.error(`Stderr: ${stderr}`);
// return;
// }
// console.log(`Output: ${stdout}`);
// });

if (process.argv.length === 3) {
// read the deepl.Lang.json files and copy the new keys into the language files in the folder firefox _locales
Expand All @@ -35,7 +35,7 @@ if (process.argv.length === 3) {
fs.readFile(firefoxPath + "\\" + firefoxLocales[index] + "\\messages.json", "utf8", function (err, oldKeys) {
if (err) return console.log(err);
const newTranslation = { ...JSON.parse(oldKeys), ...JSON.parse(newKeys) };
fs.writeFile(firefoxPath + "\\" + firefoxLocales[index] + "\\messages.json", JSON.stringify(newTranslation), "utf8", function (err) {
fs.writeFile(firefoxPath + "\\" + firefoxLocales[index] + "\\messages.json", JSON.stringify(newTranslation, null, 2), "utf8", function (err) {
if (err) return console.log(err);
});
});
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.39",
"version": "1.1.40",
"homepage_url": "https://github.com/Dreamlinerm/Netflix-Prime-Auto-Skip",
"icons": {
"16": "icons/NetflixAmazon Auto-Skip.svg",
Expand Down
9 changes: 8 additions & 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.39</p>
<p style="color: grey; font-size: 1em">v.1.1.40</p>
</div>
</div>
<a target="_blank" class="flex-center flex-col" style="text-align: center; text-decoration: none"
Expand Down Expand Up @@ -201,6 +201,13 @@ <h2 data-i18n>SharedPageTitle</h2>
<span class="slider round"></span>
</label>
</div>
<div class="line flex">
<p data-i18n>scrollVolumeSwitch</p>
<label class="switch">
<input type="checkbox" id="VideoScrollVolume">
<span class="slider round"></span>
</label>
</div>
<div class="line flex">
<p data-i18n>RatingSwitch</p>
<label class="switch">
Expand Down
2 changes: 1 addition & 1 deletion 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.39</p>
<p style="font-size: 1em">v.1.1.40</p>
</div>
</div>
<a target="_blank" class="flex-center flex-col" style="text-align: center; text-decoration: none"
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.39";
const version = "1.1.40";
if (isPrimeVideo || isNetflix || isDisney || isHotstar || isCrunchyroll || isHBO) {
/* eslint-env root:true */
// global variables in localStorage
Expand Down
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.39",
"version": "1.1.40",
"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 226faed

Please sign in to comment.