Fix-update2 TheAge.com.au
This commit is contained in:
parent
c68e1f7a62
commit
8e4a7a1c82
@ -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.');
|
||||
|
@ -291,5 +291,5 @@
|
||||
"webRequest",
|
||||
"webRequestBlocking"
|
||||
],
|
||||
"version": "1.8.4.2"
|
||||
"version": "1.8.4.3"
|
||||
}
|
||||
|
@ -21,5 +21,5 @@
|
||||
"page": "options.html"
|
||||
},
|
||||
"permissions": [ "cookies", "<all_urls>", "storage", "webRequest", "webRequestBlocking"],
|
||||
"version": "1.8.4.2"
|
||||
"version": "1.8.4.3"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user