updates and new logo

This commit is contained in:
karl.hudgell 2021-04-14 15:15:44 +01:00
parent 17d260b11e
commit 8a1b397933
4 changed files with 14 additions and 2 deletions

View File

@ -3,4 +3,5 @@ chrome.webRequest.onBeforeRequest.addListener(function (d) {
}, { }, {
urls: ["https://www.basingstokegazette.co.uk/resources/shared/responsive-sync/*"] urls: ["https://www.basingstokegazette.co.uk/resources/shared/responsive-sync/*"]
}, },
["blocking"]); ["blocking"]
);

BIN
basingstoke_gazette_new.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

3
content.js Normal file
View File

@ -0,0 +1,3 @@
var images = document.getElementsByTagName('img');
images[2].src = 'https://i.ibb.co/cQQBZM8/basingstoke-gazette-new.gif'

View File

@ -3,6 +3,10 @@
"name": "Basingstoke Gazette UnBlock", "name": "Basingstoke Gazette UnBlock",
"description": "Bypass Basingstoke Gazette Paywall", "description": "Bypass Basingstoke Gazette Paywall",
"version": "1.0", "version": "1.0",
"browser_action": {
"default_ison": "icon.png",
"default_popup": "popup.html"
},
"background": { "background": {
"scripts": [ "scripts": [
"background.js" "background.js"
@ -12,5 +16,9 @@
"webRequest", "webRequest",
"*://www.basingstokegazette.co.uk/*", "*://www.basingstokegazette.co.uk/*",
"webRequestBlocking" "webRequestBlocking"
] ],
"content_scripts": [{
"js": ["content.js"],
"matches": ["https://www.basingstokegazette.co.uk/*"]
}]
} }