Fix-update WSJ (disable Chinese amp-redirect)

This commit is contained in:
magnolia1234 2020-08-13 23:00:00 +02:00
parent 19c129a46c
commit c6cbac4c32
2 changed files with 2 additions and 2 deletions

View file

@ -115,7 +115,7 @@ else if (matchDomain("washingtonpost.com")) {
}
}
else if (matchDomain("wsj.com")) {
else if (matchDomain("wsj.com") & !matchDomain("cn.wsj.com")) {
if (location.href.includes('/articles/')) {
const close_button = document.querySelector('div.close-btn[role="button"]');
if (close_button)

View file

@ -174,7 +174,7 @@ var defaultSites =
"The Times": "thetimes.co.uk",
"The Times Literary Supplement": "the-tls.co.uk",
"The Toronto Star": "thestar.com",
"The Wall Street Journal": "wsj.com",
"The Wall Street Journal (not Chinese)": "wsj.com",
"The Washington Post": "washingtonpost.com",
"Towards Data Science": "towardsdatascience.com",
"Trouw": "trouw.nl",