GM_config (eight's version)

A library to help you set up configure in greasemonkey script.

As of 2014-12-29. 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/7212/29822/GM_config%20%28eight%27s%20version%29.js

Author
eight
Version
0.1.0
Created
2014-12-29
Updated
2014-12-29
Size
11.9 KB
License
MIT

GM_config

A library to help you set up configure in greasemonkey script.

Features

  • Simple API to init config.
  • Can save boolean(checkbox), integer(number), and text.

Test page

https://rawgit.com/eight04/GM_config/master/demo.html

Todos

  • It may conflict with some CSS rule of original webpage. Use iframe instead?
  • Remove localStorage compatibility?

Changelog

  • 0.1.0 (Dec 29, 2014)
    • First release.