mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 12:50:36 +01:00
parent
2ac1ec277d
commit
e0e6926a74
@ -13,7 +13,7 @@
|
|||||||
logging.message("Opened browser action");
|
logging.message("Opened browser action");
|
||||||
|
|
||||||
|
|
||||||
browser.tabs.query({active: true}).then(async function([currentTab]){
|
browser.tabs.query({active: true, currentWindow: true}).then(async function([currentTab]){
|
||||||
function isWhitelisted(url){
|
function isWhitelisted(url){
|
||||||
if (!(url instanceof URL)){
|
if (!(url instanceof URL)){
|
||||||
url = new URL(url);
|
url = new URL(url);
|
||||||
|
@ -10,6 +10,7 @@ Version 1.9:
|
|||||||
|
|
||||||
fixes:
|
fixes:
|
||||||
- errors in URL regular expressions broke CB
|
- errors in URL regular expressions broke CB
|
||||||
|
- use correct tab in browserAction (private browsing)
|
||||||
|
|
||||||
known issues:
|
known issues:
|
||||||
- if a data URL is blocked the page action button does not appear
|
- if a data URL is blocked the page action button does not appear
|
||||||
|
@ -241,6 +241,10 @@
|
|||||||
{
|
{
|
||||||
"version": "1.9Alpha20230325",
|
"version": "1.9Alpha20230325",
|
||||||
"update_link": "https://canvasblocker.kkapsner.de/versions/canvasblocker_beta-1.9Alpha20230325.xpi"
|
"update_link": "https://canvasblocker.kkapsner.de/versions/canvasblocker_beta-1.9Alpha20230325.xpi"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"version": "1.9Alpha20230407",
|
||||||
|
"update_link": "https://canvasblocker.kkapsner.de/versions/canvasblocker_beta-1.9Alpha20230407.xpi"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user