You can do this -
document.write("<script>alert(localStorage[\"bla\"])</script>")
And so on.

☆PhistucK


On Sun, Jan 17, 2010 at 22:06, GreatS <[email protected]
> wrote:

> After asking for permissions for a certain domain in the
> manifest.json, shouldn't you also have access to the database/
> localstorage for these domains from your extension. Naturally one can
> do this with an extremely complicated script through the messaging
> features, however I would not regard that a practical option.
> Essentially I would suggest something like:
>  chrome.extension.domain("example.com", function(){
>  //Everything here is regarded by the browser as if its on
> example.com
>  });
> Already for two different features I have been developing this would
> have saved me a lot of work and I think it would make quite a number
> of things incomparably easier to program.
>
> Either way, back to my original question, would anybody know of some
> trick to access the database of the website where my content scripts
> run without the messaging features?
>
> --
> 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]<chromium-extensions%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/chromium-extensions?hl=en.
>
>
>
>
--
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.

Reply via email to