feat: hide problematic elements
This hides the eu cookie notice which contains a problematic redirect to new.reddit.com. It also hides the "get new" link in the header. Closes https://github.com/tom-james-watson/old-reddit-redirect/issues/50 Closes https://github.com/tom-james-watson/old-reddit-redirect/issues/51
This commit is contained in:
parent
b1f4153917
commit
4f1da4265c
|
@ -8,6 +8,11 @@
|
||||||
"48": "img/icon48.png",
|
"48": "img/icon48.png",
|
||||||
"128": "img/icon128.png"
|
"128": "img/icon128.png"
|
||||||
},
|
},
|
||||||
|
"content_scripts": [{
|
||||||
|
"matches": [ "*://old.reddit.com/*" ],
|
||||||
|
"css": [ "styles.css" ],
|
||||||
|
"run_at": "document_start"
|
||||||
|
}],
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"webRequest",
|
"webRequest",
|
||||||
"webRequestBlocking",
|
"webRequestBlocking",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#eu-cookie-policy,
|
||||||
|
#redesign-beta-optin-btn {
|
||||||
|
display: none;
|
||||||
|
}
|
Loading…
Reference in New Issue