Dynamical Loading Remote Javascript With Greasemonkey
Kaixin Toolkit for Greasemonkey is a Greasemonkey user script developed by me. Take a look at the script, you will find it does nothing but loading a remote script.Yes. All the real tasks are implemented with the remote script. It means that the feature can be upgraded without reinstall the user script. The dynamic loading feature is provided by GMJSLoader. Actually, it did a little more than that. It exports Greasemnkey API the remote script also.
Yes. There are some security issue with this feature. Actually, I think the securer way for this feature is to provide a native interface of loading remote script in Greasemonkey.
Labels: firefox, greasemonkey, javascript, Web
