mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
Fixed bug with "block" mode
window and audio API were always blocked when using any of the "block ..." modes Fixes #243
This commit is contained in:
parent
e0729480fb
commit
aa8b202545
5 changed files with 12 additions and 10 deletions
|
@ -25,6 +25,7 @@
|
|||
);
|
||||
if (match){
|
||||
return {
|
||||
url: url,
|
||||
type: (match[2] === "Everything" || match[2] === "")?
|
||||
["context", "readout", "input"]:
|
||||
[match[2].toLowerCase()],
|
||||
|
@ -33,6 +34,7 @@
|
|||
}
|
||||
else {
|
||||
return {
|
||||
url: url,
|
||||
type: ["context", "readout", "input"],
|
||||
mode: "block"
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue