GM 2 port - Function Override Helper

Not yet.

Od 05.09.2014.. Pogledajte najnovija verzija.

Ovu skriptu ne treba izravno instalirati. To je biblioteka za druge skripte koje se uključuju u meta direktivu // @require https://update.greatest.deepsurf.us/scripts/2599/16319/GM%202%20port%20-%20Function%20Override%20Helper.js

Autor
Jixun.Moe
Verzija
1.0.3
Stvoreno
17.06.2014.
Ažurirano
05.09.2014.
Size
6,58 KB
Licenza
N/A

GM 2.x port - Function Override Helper

GreasyMonkey 2.x Beta will break lots scripts, this library has made to help function hooking.

It provides 2.x API exportFunction and cloneInto for 1.x support (Which is just dummy sandbox).

It's well documented(Should be..) in source.

1.0.3

Add unsafeExec, execute function as script text on page.

1.0.2

Fix this problem when hooking prototype / Object function.

return foo.apply({}, args); -> return foo.apply(this, args);

return bak.apply ({}, arguments); -> return bak.apply (this, arguments);

1.0.1

document.body -> document.head, to prevent document.body is null error.