From 8ef306d471d793dd6eae185ade894fd3ba24629e Mon Sep 17 00:00:00 2001
From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com>
Date: Fri, 25 Jun 2021 12:50:05 +0200
Subject: [PATCH] Remove Finance.si (obsolete)
---
README.md | 3 ---
background.js | 2 --
changelog.txt | 1 +
contentScript.js | 10 ++++++----
manifest.json | 3 +--
sites.js | 1 -
6 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index 67e8805..0990b86 100644
--- a/README.md
+++ b/README.md
@@ -411,9 +411,6 @@ Mediahuis Nederland Regional sites like
##### Russia
[Republic.ru](https://republic.ru)
-##### Slovenia
-[Finance.si](https://www.finance.si)
-
##### Spain
[ABC](https://www.abc.es) -
[Diario de Ibiza](https://www.diariodeibiza.es) -
diff --git a/background.js b/background.js
index 640df7f..f8f189d 100644
--- a/background.js
+++ b/background.js
@@ -72,7 +72,6 @@ var allow_cookies_default = [
'eurekareport.com.au',
'expansion.com',
'faz.net',
- 'finance.si',
'financialpost.com',
'ftm.nl',
'fortune.com',
@@ -213,7 +212,6 @@ var use_google_bot_default = [
'elmercurio.com',
'euobserver.com',
'eurekareport.com.au',
- 'finance.si',
'ft.com',
'handelsblatt.com',
'hilltimes.com',
diff --git a/changelog.txt b/changelog.txt
index f3ede6c..90e9b78 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
+Remove Finance.si (obsolete)
Fix blocked referer
Update custom sites (set useragent Bingbot)
diff --git a/contentScript.js b/contentScript.js
index c4c6ea4..3e68583 100644
--- a/contentScript.js
+++ b/contentScript.js
@@ -208,10 +208,12 @@ else {
} else if (par.kind === 'inline') {
if (par.asset.kind === 'image') {
article = article + '';
+ if (par.asset.captionText)
+ article = article + '' +
+ par.asset.captionText + ' ' + par.asset.copyrightByline +
+ ((par.asset.copyrightCredit && par.asset.captionText !== par.asset.copyrightByline) ? '/' + par.asset.copyrightCredit : '') +
+ '';
+ article = article + '';
}
} else {
article = article + '' + par.text + '
';
diff --git a/manifest.json b/manifest.json
index bb733b2..71d689b 100644
--- a/manifest.json
+++ b/manifest.json
@@ -166,7 +166,6 @@
"*://*.farodevigo.es/*",
"*://*.faz.net/*",
"*://*.fd.nl/*",
- "*://*.finance.si/*",
"*://*.financialpost.com/*",
"*://*.firstthings.com/*",
"*://*.fnlondon.com/*",
@@ -529,5 +528,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
- "version": "2.2.6.2"
+ "version": "2.2.6.3"
}
\ No newline at end of file
diff --git a/sites.js b/sites.js
index 6aae0cc..06f4f18 100644
--- a/sites.js
+++ b/sites.js
@@ -73,7 +73,6 @@ var defaultSites =
"Exame": "exame.com",
"Expansión": "expansion.com",
"Faro de Vigo": "farodevigo.es",
- "Finance.si": "finance.si",
"Financial News": "fnlondon.com",
"Financial Post": "financialpost.com",
"Financial Times (not Chinese)": "ft.com",