diff --git a/manifest.json b/manifest.json index a2d08fa..4e64f00 100644 --- a/manifest.json +++ b/manifest.json @@ -8,6 +8,11 @@ "48": "img/icon48.png", "128": "img/icon128.png" }, + "content_scripts": [{ + "matches": [ "*://old.reddit.com/*" ], + "css": [ "styles.css" ], + "run_at": "document_start" + }], "permissions": [ "webRequest", "webRequestBlocking", diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..de42705 --- /dev/null +++ b/styles.css @@ -0,0 +1,4 @@ +#eu-cookie-policy, +#redesign-beta-optin-btn { + display: none; +}