views:

47

answers:

0

I have a setting that has the following elements:

Type: Text field
Title: Top
Key: topcolour
Default value: #00FF00

I can't figure out how to get this data from inside javascript, I am trying to use

var colour = safari.extension.settings.topcolour;

but this is not working, am I doing this right, am I forgetting something?