mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-06-14 09:18:50 +02:00
13 lines
374 B
Haxe
13 lines
374 B
Haxe
|
import js.html.MouseEvent;
|
||
|
|
||
|
@:native("") extern class GM {
|
||
|
@:native("GM_registerMenuCommand")
|
||
|
static function registerMenuCommand(label:String, cb:MouseEvent->Void):Void;
|
||
|
|
||
|
@:native("GM_getValue")
|
||
|
static function getValue(key:String, ?defaultValue:Dynamic):Dynamic;
|
||
|
|
||
|
@:native("GM_setValue")
|
||
|
static function setValue(key:String, value:Dynamic):Void;
|
||
|
}
|