mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 04:26:35 +02:00
parent
e539a893b4
commit
f75189f374
8 changed files with 224 additions and 95 deletions
|
@ -62,7 +62,9 @@
|
|||
if (siteStatus.mode !== "allow"){
|
||||
apiNames.forEach(function(name){
|
||||
var changedFunction = changedFunctions[name];
|
||||
if (changedFunction.getStatus(undefined, siteStatus).active){
|
||||
var functionStatus = changedFunction.getStatus(undefined, siteStatus);
|
||||
logging.verbose("status for", name, ":", functionStatus);
|
||||
if (functionStatus.active){
|
||||
(
|
||||
Array.isArray(changedFunction.object)?
|
||||
changedFunction.object:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue