Maybe because you have content_scripts instead of content_script?

On Mon, Jan 11, 2010 at 15:50, patdavid <[email protected]> wrote:

> For the life of me, and can't get a simple test alert box to show up.
> I want to tool around with pages on Flickr.com for example, and to
> test some things I want to pop up an alert box when the page is done
> loading.  I can't seem to get it to fire at all, and was hoping
> someone could clarify things for me?
>
> My manifest.json only has a "matches" and "js" section under
> "content_script":
> {
>        "name": "Testing",
>        "version": "1.0",
>        "description": "TEST",
>        "content_script": [
>                {
>                        "matches": ["http://www.flickr.com/*";],
>                        "js": ["pat.js"]
>                }
>
>        ]
> }
>
> I thought this would be enough to inject my js into the page.  The
> pat.js file contains only an alert:
>
> alert("test");
>
> But this doesn't ever seem to fire.  Could anyone help me grasp flow
> by maybe posting an example here?  I appreciate the help!
>
> pat
>
> --
> 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