Where did you get that exclude_matches from? I don't think there is a way to exclude matches.
--To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/c1fedfff-7a92-43ab-95c5-9c1ea23adda6%40chromium.org.
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/.
Hi,The following code is in my manifest.json. However, Chrome states that there is an invalid value at content_scripts[1].exclude_matches[0] with an invalid scheme. The code is below.
"content_scripts": [{"matches": ["*://*/*"],"js": ["jquery-1.10.2.min.js"],"run_at": "document_end"},{"matches": ["*://*/*"],"exclude_matches": ["chrome://newtab"],"js": ["script.js"],"run_at": "document_end"}]I don't want the script.js code to run on the new tab page. Is there a way to fix the JSON? jsonlint says it looks fine.
--
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/7f055673-2818-4d15-a7d6-a5aacd34b3f8%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/CANXv3e_EZG_G8u7oHO3WDu4Aq3Cioo%3DCAY2zaxO9sfXSLCrpJQ%40mail.gmail.com.
content_scripts is an array, so while you cannot have multiple arrays, you can have multiple content scripts within the array.chrome is indeed not a supported scheme.
| http://developer.chrome.com/extensions/manifest.html lacks [] in "content_scripts": {...}, |