How to effectively match all sites with a content script?

4,879 views
Skip to first unread message

Pablo Fernandez

unread,
Jan 30, 2010, 1:13:44 AM1/30/10
to Chromium-extensions
Hi,

I want to execute a content script in every URL, but I can't seem to
find the way.

This produces an error:

"matches":["http://*"],

And this does not match URLs that have querystring parameters (that
don't end in '/'):

"matches":["http://*/"],

Mohamed Mansour

unread,
Jan 30, 2010, 1:16:54 AM1/30/10
to Pablo Fernandez, Chromium-extensions
Hi Pablo,

According to http://code.google.com/chrome/extensions/match_patterns.html the match pattern that matches every URL would be:
http://*/*

-Mohamed



--
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