GM_config (eight's version)

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

Versión del día 29/12/2014. Echa un vistazo a la versión más reciente.

Este script no debería instalarse directamente. Es una biblioteca que utilizan otros scripts mediante la meta-directiva de inclusión // @require https://update.greasyfork.org/scripts/7212/29823/GM_config%20%28eight%27s%20version%29.js

Autor
eight
Versión
0.2.0
Creado
29/12/2014
Actualizado
29/12/2014
Tamaño
11,9 KB
Licencia
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.2.0 (Dec 29, 2014)
    • Return config object after init.
  • 0.1.0 (Dec 29, 2014)
    • First release.