mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
First implementation of the fakeInput mode. (And other improvements.)
This commit is contained in:
parent
b6d08459a5
commit
a2fa00fb98
5 changed files with 188 additions and 59 deletions
|
@ -8,7 +8,8 @@
|
|||
const {utils: Cu} = Components;
|
||||
const COMMONJS_URI = "resource://gre/modules/commonjs";
|
||||
const {require} = Cu.import(COMMONJS_URI + "/toolkit/require.js", {});
|
||||
const {intercept} = require("../lib/intercept.js");
|
||||
const {intercept, setExportFunction} = require("../lib/intercept.js");
|
||||
setExportFunction(Cu.exportFunction);
|
||||
const {ask} = require("../lib/askForPermission.js");
|
||||
|
||||
// Variable to "unload" the script
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue