You can set the permissions for all urls to your contenScript and execute your code only in the page that the user want with a simple function in the contentScript to know the url of the current page.
And yes, you can use the localStorage to store the urls and send to contentScript. -v1c1ous On Nov 27, 12:36 am, Arpit <[email protected]> wrote: > I want to create an extension which executes on certain site(s). I > wish that users select / provide URLs (or match patterns) for > Manifest > permissions, so that the extension works only with the user- > selected sites. > > How can be this possible?? Can I use localStorage or something else to > achieve this? Please help. :) -- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.
