GM 2 port - Function Override Helper

Not yet.

As of 2014-06-18. See the latest version.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greatest.deepsurf.us/scripts/2599/7130/GM%202%20port%20-%20Function%20Override%20Helper.js

Author
Jixun.Moe
Version
1.0.1
Created
2014-06-17
Updated
2014-06-18
Size
6.41 KB
License
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.1

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