Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Proposal: chrome.tabs.executeContentScri pt()
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Aaron Boodman  
View profile  
 More options Jul 15, 2:22 pm
From: Aaron Boodman <a...@chromium.org>
Date: Wed, 15 Jul 2009 11:22:43 -0700
Local: Wed, Jul 15 2009 2:22 pm
Subject: [extensions] Proposal: chrome.tabs.executeContentScript()
Multiple developers have asked for a way to execute content scripts
programmatically, and it seems reasonable enough.

Hence: http://sites.google.com/a/chromium.org/dev/developers/design-document...

Comments desired.

- a


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aaron Boodman  
View profile  
 More options Jul 15, 2:26 pm
From: Aaron Boodman <a...@chromium.org>
Date: Wed, 15 Jul 2009 11:26:21 -0700
Local: Wed, Jul 15 2009 2:26 pm
Subject: Re: [extensions] Proposal: chrome.tabs.executeContentScript()

On Wed, Jul 15, 2009 at 11:22 AM, Aaron Boodman<a...@chromium.org> wrote:
> Hence: http://sites.google.com/a/chromium.org/dev/developers/design-document...

Typo. Should have been:
http://sites.google.com/a/chromium.org/dev/developers/design-document...

- a


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[extensions] Proposal: chrome.tabs.executeContentScri pt()" by Colin Bleckner
Colin Bleckner  
View profile  
 More options Jul 15, 3:22 pm
From: Colin Bleckner <co...@xmarks.com>
Date: Wed, 15 Jul 2009 12:22:02 -0700
Local: Wed, Jul 15 2009 3:22 pm
Subject: Re: [chromium-extensions] Re: [extensions] Proposal: chrome.tabs.executeContentScript()

Sounds nice and simple.  One other use case I can think of is executing
a content script on every page load, but only if a user setting is on
(or some other set of conditions).  I haven't used the chrome.tabs API
much yet, does the onUpdated event get triggered on each page load?  If
so, then an onUpdated event plus executeContentScript should be all we
need to implement that.

- Colin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Proposal: chrome.tabs.executeContentScri pt()" by disya2
disya2  
View profile  
 More options Jul 16, 5:44 am
From: disya2 <dis...@gmail.com>
Date: Thu, 16 Jul 2009 02:44:40 -0700 (PDT)
Local: Thurs, Jul 16 2009 5:44 am
Subject: Re: Proposal: chrome.tabs.executeContentScript()

Concerning the following:
 // tabId: Optional, defaults to selected tab of focused window if
omitted.

Maybe it would be better to use current window instead of focused? The
caller is extension script and it may have some state variables or
something which belongs to current window while extension script in
focused window may have different state.

Denis

On Jul 16, 12:26 am, Aaron Boodman <a...@chromium.org> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Erik Kay  
View profile  
 More options Jul 16, 9:11 am
From: Erik Kay <erik...@chromium.org>
Date: Thu, 16 Jul 2009 06:11:18 -0700
Local: Thurs, Jul 16 2009 9:11 am
Subject: Re: [chromium-extensions] Re: Proposal: chrome.tabs.executeContentScript()

On Thu, Jul 16, 2009 at 2:44 AM, disya2 <dis...@gmail.com> wrote:

> Concerning the following:
>  // tabId: Optional, defaults to selected tab of focused window if
> omitted.

> Maybe it would be better to use current window instead of focused? The
> caller is extension script and it may have some state variables or
> something which belongs to current window while extension script in
> focused window may have different state.

The problem with that is that background pages don't have a "current window"
the way that toolstrips do.

Erik


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google