Is there a way to save some settings to the local computer that is not cookies with a user script?
It is difficult to make a user script that is for multiple domains if the settings are not global.
From a comment: "I am using scriptish ".
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Absolutely, it’s very easy. The Greasemonkey wiki documents four methods that allow you to deal with saving values, which can be settings or anything else you want to store:
You might want to check out the main API page for other useful methods, and there’s also a complete metadata block documentation page.
The only way this might not work is in a Google Chrome Content Script. There are a few solutions though: you can either use the Google Chrome GM_* userscript in addition to yours, or you can make the GM_setValue and GM_getValue methods available by including this at the beginning of your user script (from Devine.me):