mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-03 12:06:31 +02:00
Direct access to exportFunction in intercept.js
This commit is contained in:
parent
a2fa00fb98
commit
dc98a92e8f
2 changed files with 2 additions and 7 deletions
|
@ -10,8 +10,7 @@
|
|||
setRandomSupply(randomSupplies.nonPersistent);
|
||||
var apiNames = Object.keys(changedFunctions);
|
||||
var undef;
|
||||
var exportFunction;
|
||||
|
||||
var exportFunction = require("chrome").Cu.exportFunction;
|
||||
function setRandomSupplyByType(type){
|
||||
switch (type){
|
||||
case "persistent":
|
||||
|
@ -74,7 +73,4 @@
|
|||
);
|
||||
});
|
||||
};
|
||||
exports.setExportFunction = function(eFunc){
|
||||
exportFunction = eFunc;
|
||||
};
|
||||
}());
|
Loading…
Add table
Add a link
Reference in a new issue