modifying a pages dom is somewhat simple with jquery and a content_script...
I don't know if you can access a page's database unless you have credentials that can access it...and then you will probably have to use XHR to access a php file that is pulling the data from the database...and in some cases putting data into it... On Jan 18, 9:36 am, GreatS <[email protected]> wrote: > That - however - still doesn't allow me to directly access the > database of the current page, let me be a bit more specific: A page > action that wants to access the pages database (or even dom) is > ridiculously complicated (impossible for database access by my > knowledge). Or am I missing something? > > On Jan 18, 7:04 am, PhistucK <[email protected]> wrote: > > > > > 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%2Bunsu > > > [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.
