Fix-update Quartz (non-premium)

This commit is contained in:
magnolia1234 2020-06-28 17:41:37 +02:00
parent 75c8d2aa45
commit b7b4d8e4fa
3 changed files with 9 additions and 2 deletions

View File

@ -46,7 +46,7 @@ Install add-on by downloading xpi-file.
[Inc.com](https://www.inc.com) -
[MIT Sloan Management Review](https://sloanreview.mit.edu) -
[Modern Healthcare](https://www.modernhealthcare.com) -
[Quartz](https://qz.com) -
[Quartz](https://qz.com)* -
[Seeking Alpha](https://seekingalpha.com) -
[The Business Journals](https://www.bizjournals.com) -
[The Wall Street Journal](https://www.wsj.com)

View File

@ -771,6 +771,13 @@ else if (matchDomain('ilfattoquotidiano.it')) {
}, 500); // Delay (in milliseconds)
}
else if (matchDomain('qz.com')) {
window.setTimeout(function () {
if (pageContains('._33dc2 h2', 'Become a member, and we promise').length)
document.location.reload(true);
}, 500); // Delay (in milliseconds)
}
// General Functions
function removeDOMElement(...elements) {
for (let element of elements) {

View File

@ -116,7 +116,7 @@ var defaultSites =
"Parool": "parool.nl",
"Philosophy Now": "philosophynow.org",
"Pittsburgh Post Gazette": "post-gazette.com",
"Quartz": "qz.com",
"Quartz (free articles only)": "qz.com",
"Quora": "quora.com",
"Republic.ru": "republic.ru",
"San Diego Union Tribune": "sandiegouniontribune.com",