Fix-update2 TheAge.com.au

This commit is contained in:
magnolia1234 2020-09-10 22:13:46 +02:00
parent 20d0cb9d4f
commit 9106319801
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"])) { else if (matchDomain(["theage.com.au"])) {
let url = window.location.href; 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) { if (for_subscribers) {
window.setTimeout(function () { window.setTimeout(function () {
window.location.href = url.replace('www.', 'amp.'); window.location.href = url.replace('www.', 'amp.');

View file

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

View file

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