Fix-update2 TheAge.com.au

This commit is contained in:
magnolia1234 2020-09-10 22:13:26 +02:00
parent c68e1f7a62
commit 8e4a7a1c82
3 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ if (matchDomain("thesaturdaypaper.com.au")) {
else if (matchDomain(["theage.com.au"])) {
let url = window.location.href;
let for_subscribers = document.querySelector('meta[content="FOR SUBSCRIBERS"]');
let for_subscribers = document.querySelector('meta[content^="FOR SUBSCRIBERS"]');
if (for_subscribers) {
window.setTimeout(function () {
window.location.href = url.replace('www.', 'amp.');

View File

@ -291,5 +291,5 @@
"webRequest",
"webRequestBlocking"
],
"version": "1.8.4.2"
"version": "1.8.4.3"
}

View File

@ -21,5 +21,5 @@
"page": "options.html"
},
"permissions": [ "cookies", "<all_urls>", "storage", "webRequest", "webRequestBlocking"],
"version": "1.8.4.2"
"version": "1.8.4.3"
}