a new instance of content script is loaded in each tab?

12 views
Skip to first unread message

jack

unread,
Aug 26, 2015, 6:49:29 AM8/26/15
to Chromium-extensions
hi, 

i know that content script is loaded in each active page. does my content script store a variable in one page and then, use it other page?

basically i want to ask if content scripts are limited to a web page in their scope or they are loaded in each active page but still store the variables of last loaded pages?

thanks

Tapan Anand

unread,
Aug 26, 2015, 7:04:49 AM8/26/15
to jack, Chromium-extensions
AFAIK, content scripts are loaded for each page individually and each page's/frame's content script is independent of each other.

...
Tapan Anand
Member of Technical Staff - I
Adobe Systems

--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/574c9d62-a4a8-464e-91bf-c475069235fb%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

jack

unread,
Aug 26, 2015, 7:55:22 AM8/26/15
to Chromium-extensions

Ok. Great! thanks.
Reply all
Reply to author
Forward
0 new messages