How to get the value of the element on the page (getElementById) from popup.html

3 views
Skip to first unread message

XopoIII

unread,
Mar 16, 2010, 10:03:30 PM3/16/10
to Chromium-extensions
How to get the value of the element on the page and change (by
getElementById example) from popup.html

PhistucK

unread,
Mar 17, 2010, 8:01:47 AM3/17/10
to XopoIII, Chromium-extensions
I assume you mean, how to get the value of the element on a regular web page from the popup of your extension.
You can create a content script that will be activated when it receives a request (through message passing). The popup should send a request (a message).

Use the following API functions -

Detailed instructions here -

☆PhistucK


On Wed, Mar 17, 2010 at 04:03, XopoIII <xopoii...@gmail.com> wrote:
How to get the value of the element on the page and change (by
getElementById example) from popup.html

--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.


Reply all
Reply to author
Forward
0 new messages