S
S
samlowry2011-10-15 11:45:08
Opera
samlowry, 2011-10-15 11:45:08

Is there an implementation of User.js under chrome off. a way to store and set preferences?

I have a script: userscripts.org/scripts/review/86621

There, the list of sites is set simply by a variable at the beginning of the script (look, the linksUnderTheSupervision variable). Basically, it was fine. Until there are two buts:

  1. users began to ask for the opportunity to copy-paste hefty lists
  2. I switched to chrome, but there is no "edit script" button


Is there any API so that the script in Chrome has a "Settings" link and can change the list of sites there?

I would be glad if you tell me the same for other browsers.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Riateche, 2011-10-16
@Riateche

Good solution: make an extension.
Bad decision: add a script to the page with a button "Change the list of sites", by clicking on which show a form for editing the list. Store the list in localstorage.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question