TL DR Webstore cannot be scripted with extensions, and the flag that previously allowed you to do this ( --allow-scripting-gallery) was removed in Chrome 35 .
Chrome / CSS - Chrome. , IsScriptableURL ( , ).
GURL store_url(extension_urls::GetWebstoreLaunchURL());
if (url.host() == store_url.host()) {
if (error)
*error = manifest_errors::kCannotScriptGallery;
return false;
}
manifest_errors::kCannotScriptGallery :
const char kCannotScriptGallery[] =
"The extensions gallery cannot be scripted.";
, chrome.tabs.executeScript script Web Store. , https://chrome.google.com/webstore/, script ( , )
chrome.tabs.query({url:'https://chrome.google.com/webstore/*'}, function(result) {
if (result.length) chrome.tabs.executeScript(result[0].id, {code:'alert(0)'});
});