sizzlemctwizzle / GM_config

A lightweight, reusable, cross-browser graphical settings framework for inclusion in user scripts.

Home Page:https://github.com/sizzlemctwizzle/GM_config/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I get the value of type:'select' correctly?

emrtop opened this issue · comments

commented

How can I get the value of type:'select' correctly?

Take a look at the GM_config Unit Test at this line. Every setting has an example there. The wiki also has some information.

Additionally if you add the code to the tail of the Unit Test of:

alert(GM_config.get('work'));

It shows the last saved value. So something you may be doing is incorrect. Peruse over the Unit Test and support docs to try again. :)