Skip to content

Instantly share code, notes, and snippets.

@Iristyle
Created August 20, 2012 20:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Iristyle/3407847 to your computer and use it in GitHub Desktop.
Save Iristyle/3407847 to your computer and use it in GitHub Desktop.
Bootstrap Chrome Canary on Windows - No Worky!
$chromeExtensions = @'
{
"extensions": {
"settings": {
"fdmmgilgnpjigdojojpjoooidkmcomcm": {
"active_permissions": {
"api": [ "cookies" ],
"explicit_host": [ "http://*/*", "https://*/*" ],
"scriptable_host": [ "http://getpostman.com/*", "https://getpostman.com/*" ]
},
"app_launcher_ordinal": "y",
"events": [ "runtime.onInstalled" ],
"from_bookmark": false,
"from_webstore": true,
"granted_permissions": {
"api": [ "cookies" ],
"explicit_host": [ "http://*/*", "https://*/*" ],
"scriptable_host": [ "http://getpostman.com/*", "https://getpostman.com/*" ]
},
"install_time": "12989963420177049",
"location": 1,
"manifest": {
"app": {
"launch": {
"local_path": "index.html"
}
},
"content_scripts": [ {
"js": [ "js/listener.js" ],
"matches": [ "http://getpostman.com/*", "https://getpostman.com/*" ],
"run_at": "document_end"
} ],
"content_security_policy": "default-src 'self'; connect-src *; script-src 'self' https://ssl.google-analytics.com https://platform.twitter.com https://apis.google.com; style-src 'self' blob: data: filesystem: 'unsafe-inline'; img-src *; frame-src 'self' http://www.facebook.com https://plusone.google.com https://platform.twitter.com blob: data: filesystem:; font-src '*' blob: data: filesystem:; media-src *;",
"current_locale": "en_US",
"default_locale": "en",
"icons": {
"128": "icon_128.png",
"16": "icon_16.png",
"32": "icon_32.png",
"48": "icon_48.png"
},
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCaSf2+peSwtoCNF1vzjLfc2zxbiDtfmjc4iGp2FmKBmMVYF7TeIoLJn78Reg8rZiSgk27ay8jEdjRLCtR/jdBxejKyIG9Wu5lfkleL1Bv+0vIx67ykDP3hAa5uAlUW8rlJH3rE8ht2K6HpSNgRolYE1/UFcGDDuMKWSnojSR7u1QIDAQAB",
"manifest_version": 2,
"name": "Postman - REST Client - Installing...",
"offline_enabled": true,
"permissions": [ "cookies", "http://*/*", "https://*/*" ],
"update_url": "http://clients2.google.com/service/update2/crx",
"version": "0.0"
},
"page_ordinal": "n",
"path": "fdmmgilgnpjigdojojpjoooidkmcomcm\\0.0",
"state": 1
},
"gplegfbjlmmehdoakndmohflojccocli": {
"active_permissions": {
"api": [ "devtools", "tabs", "unlimitedStorage", "webNavigation" ],
"explicit_host": [ "http://*/*", "https://*/*" ],
"scriptable_host": [ "http://chrome-devtools-frontend.appspot.com/*/devtools.html?*", "https://chrome-devtools-frontend.appspot.com/*/devtools.html?*" ]
},
"events": [ "runtime.onInstalled" ],
"from_bookmark": false,
"from_webstore": true,
"granted_permissions": {
"api": [ "devtools", "tabs", "unlimitedStorage", "webNavigation" ],
"explicit_host": [ "http://*/*", "https://*/*" ],
"scriptable_host": [ "http://chrome-devtools-frontend.appspot.com/*/devtools.html?*", "https://chrome-devtools-frontend.appspot.com/*/devtools.html?*" ]
},
"install_time": "12989044209319842",
"lastpingday": "12989055688643437",
"location": 1,
"manifest": {
"background": {
"page": "BackgroundPage.html"
},
"browser_action": {
"default_icon": "pagespeed-19.png",
"default_popup": "guide.html",
"default_title": "PageSpeed Insights"
},
"content_scripts": [ {
"js": [ "inject_pagespeed.js" ],
"matches": [ "http://chrome-devtools-frontend.appspot.com/*/devtools.html?*", "https://chrome-devtools-frontend.appspot.com/*/devtools.html?*" ]
} ],
"content_security_policy": "default-src 'self'; connect-src http: https:; script-src 'self' https://chrome-devtools-frontend.appspot.com; img-src 'self' data:; style-src 'self' 'unsafe-inline'; frame-src 'self' about: ",
"current_locale": "en_US",
"default_locale": "en",
"description": "PageSpeed Insights analyzes the performance of your web pages and provides suggestions to make them faster.",
"devtools_page": "devtools-page.html",
"homepage_url": "https://developers.google.com/speed/docs/insights/using_chrome",
"icons": {
"128": "pagespeed-128.png",
"16": "pagespeed-16.png",
"32": "pagespeed-32.png",
"48": "pagespeed-48.png",
"64": "pagespeed-64.png"
},
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCtHX1f891iqStUrTSjgXk3mNj9ivS9qO/tIt5SKSTpLd9Hs4lF1UzAHMHFN84yCOSNfO9rEe6JKzR7LDWQNVNyLkIIw9UD01PeJga0Yu/P9BKpGzNnCoctGgPPrcdUUCy0F8kz/6GPZSp10sMoQuvip8MTpBFzp5oM7BAum+vqpwIDAQAB",
"manifest_version": 2,
"minimum_chrome_version": "19.0",
"name": "PageSpeed Insights (by Google) - Installing...",
"options_page": "options.html",
"permissions": [ "tabs", "unlimitedStorage", "webNavigation", "http://*/*", "https://*/*" ],
"update_url": "http://clients2.google.com/service/update2/crx",
"version": "0.0"
},
"path": "gplegfbjlmmehdoakndmohflojccocli\\0.0",
"state": 1
},
"ighdmehidhipcmcojjgiloacoafjmpfk": {
"active_permissions": {
"api": [ "devtools", "tabs" ],
"explicit_host": [ "\u003Call_urls\u003E" ],
"scriptable_host": [ "\u003Call_urls\u003E" ]
},
"events": [ "runtime.onInstalled" ],
"from_bookmark": false,
"from_webstore": true,
"granted_permissions": {
"api": [ "devtools", "tabs" ],
"explicit_host": [ "\u003Call_urls\u003E" ],
"scriptable_host": [ "\u003Call_urls\u003E" ]
},
"install_time": "12989044047149862",
"lastpingday": "12989055688643437",
"location": 1,
"manifest": {
"background": {
"page": "background.html"
},
"content_scripts": [ {
"js": [ "js/inject/debug.js" ],
"matches": [ "\u003Call_urls\u003E" ],
"run_at": "document_start"
} ],
"description": "Extends the Developer Tools, adding tools for debugging and profiling AngularJS applications.",
"devtools_page": "devtoolsBackground.html",
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC9hsXx3+F75DyGto3mkm0FB2sycQzyMqXQAySn2Qj67vIHFMSrVZ0ItPzGnWJwoRoaDI7cQF9c/WLDpLJQwGe5CV5z84MueOME3e45JJEwN+YsW5ufEavmp+pk1c9h/Wyi8bMoSWJGIrOG72wCTFOdnyN6nocA0dm4w7UWsxLLEQIDAQAB",
"manifest_version": 2,
"name": "AngularJS Batarang - Installing...",
"permissions": [ "tabs", "\u003Call_urls\u003E" ],
"update_url": "http://clients2.google.com/service/update2/crx",
"version": "0.0"
},
"path": "ighdmehidhipcmcojjgiloacoafjmpfk\\0.0",
"state": 1
},
"jnihajbhpnppcggbcgedagnkighmdlei": {
"active_permissions": {
"api": [ "tabs" ],
"explicit_host": [ "http://*/*" ],
"scriptable_host": [ "\u003Call_urls\u003E" ]
},
"events": [ "runtime.onInstalled" ],
"from_bookmark": false,
"from_webstore": true,
"granted_permissions": {
"api": [ "tabs" ],
"explicit_host": [ "http://*/*" ],
"scriptable_host": [ "\u003Call_urls\u003E" ]
},
"install_time": "12989962557323587",
"location": 1,
"manifest": {
"background_page": "background.html",
"browser_action": {
"default_icon": "icon19.png",
"default_title": "Enable LiveReload"
},
"content_scripts": [ {
"js": [ "LiveReload-content.js" ],
"matches": [ "\u003Call_urls\u003E" ]
} ],
"icons": {
"128": "icon128.png",
"48": "icon48.png"
},
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDrOgODVyBNTQqWv0iT9lwzEgpXFyNeUC6/JAjfKV4Zg4PAIhKOAYUQQcE1UI+s1cxF4GgZpfg9ybAlbu1MOWoi7HBuFAvA/BIJ8YTfM6OISVptHL2AsAbxmKP59iGDgJohgt2wuibclPZjoKTyLNm1x3C4VRErSs9prJGPsyM3DwIDAQAB",
"name": "LiveReload - Installing...",
"options_page": "options.html",
"permissions": [ "tabs", "http://*/*" ],
"update_url": "http://clients2.google.com/service/update2/crx",
"version": "0.0"
},
"path": "jnihajbhpnppcggbcgedagnkighmdlei\\0.0",
"state": 1
},
"lfjbhpnjiajjgnjganiaggebdhhpnbih": {
"active_permissions": {
"api": [ "devtools", "plugin" ],
"explicit_host": [ "http://*/*", "https://*/*" ]
},
"events": [ "runtime.onInstalled" ],
"from_bookmark": false,
"from_webstore": true,
"granted_permissions": {
"api": [ "devtools", "plugin" ],
"explicit_host": [ "http://*/*", "https://*/*" ]
},
"install_time": "12989962861332399",
"location": 1,
"manifest": {
"background": {
"page": "background.html"
},
"description": "Extension to allow editing and fast reloading of local files from Chrome developer tools",
"devtools_page": "devtools.html",
"icons": {
"128": "tools.png",
"48": "tools_small.png"
},
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA3lMdctvLLk67/Tn6C7v3wc7owH0eDZNheD+mCSPz/dIJD6xpEdPC/dD/ctdLahtPC37me1q0JkS9Z0MF3Xz6+C0gZedmphGon73Isf1dFaGfqWf/6DUZ7bZvhOIAJiJgcUNRGaQcvz0cCEfgc7w6UiJu/zZgYoBoskyOMBoPlQIDAQAB",
"manifest_version": 2,
"name": "Tincr - Installing...",
"permissions": [ "http://*/", "https://*/" ],
"plugins": [ {
"path": "NPAPIFileIOforChrome.plugin",
"public": false
}, {
"path": "npNPAPIFileIOforChrome.dll",
"public": false
}, {
"path": "npNPAPIFileIOforChrome.so",
"public": false
}, {
"path": "npNPAPIFileIOforChromex64.so",
"public": false
} ],
"update_url": "http://clients2.google.com/service/update2/crx",
"version": "0.0"
},
"path": "lfjbhpnjiajjgnjganiaggebdhhpnbih\\0.0",
"state": 1
},
"mlejngncgiocofkcbnnpaieapabmanfl": {
"active_permissions": {
"api": [ "devtools", "notifications" ],
"explicit_host": [ "http://*/*" ]
},
"events": [ "runtime.onInstalled" ],
"from_bookmark": false,
"from_webstore": true,
"granted_permissions": {
"api": [ "devtools", "notifications" ],
"explicit_host": [ "http://*/*" ]
},
"install_time": "12989962505148734",
"location": 1,
"manifest": {
"background": {
"scripts": [ "background.js" ]
},
"description": "Saves changes in CSS and JS that was made via Chrome DevTools",
"devtools_page": "devtools.html",
"icons": {
"128": "icon_128.png",
"16": "icon_16.png",
"48": "icon_48.png"
},
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDRWX93rVhrtZ0GEM7RTJI9pGX2Ql9NoVSvWKr6b2xGNHJJCM5BTvGF1xCqnGzrjU2Yhbf4bDcusiRz53RCRSSpC3wpATM3pLFQ6ubVgH8vVAxW5zmHCnuoZlLp0GNW5h5Jq6tFYN3yFyctFW2NXRkLtpRkCH6eqhvLWCLxzNATowIDAQAB",
"manifest_version": 2,
"minimum_chrome_version": "17",
"name": "DevTools Autosave - Installing...",
"options_page": "options.html",
"permissions": [ "notifications", "http://*/" ],
"update_url": "http://clients2.google.com/service/update2/crx",
"version": "0.0"
},
"path": "mlejngncgiocofkcbnnpaieapabmanfl\\0.0",
"state": 1
},
"ninejjcohidippngpapiilnmkgllmakh": {
"active_permissions": {
"api": [ "cookies", "tabs" ],
"explicit_host": [ "http://*/*", "https://*/*" ],
"scriptable_host": [ "http://*/*", "https://*/*" ]
},
"disable_reasons": 1,
"events": [ "runtime.onInstalled" ],
"from_bookmark": false,
"from_webstore": true,
"granted_permissions": {
"api": [ "cookies", "tabs" ],
"explicit_host": [ "http://*/*", "https://*/*" ],
"scriptable_host": [ "http://*/*", "https://*/*" ]
},
"install_time": "12989962642966537",
"location": 1,
"manifest": {
"background_page": "background.html",
"browser_action": {
"default_icon": "icon.png",
"name": "YSlow"
},
"content_scripts": [ {
"js": [ "content.js", "yslow-chrome.js" ],
"matches": [ "http://*/*", "https://*/*" ]
} ],
"description": "Make your pages faster with Yahoo!'s page performance tool",
"icons": {
"128": "128.png",
"16": "16.png",
"32": "32.png",
"48": "48.png"
},
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDRNg9Yw2+0MeiuqE4aDXWicL46yILo3cf8YMwZvPvtQPvD76csVkLwN3LOcVwsZmBKHREfWM50oa5GfnLuOTX1L7Usk0VmC5DXrZUkdV9ouaF47eMTiXHpgZsLc04COMdW3rskGgv8srL1LQCKn+YZE3AY/2TQ60dplC0X16n2mQIDAQAB",
"name": "YSlow - Installing...",
"options_page": "options.html",
"permissions": [ "tabs", "cookies", "http://*/*", "https://*/*" ],
"update_url": "http://clients2.google.com/service/update2/crx",
"version": "0.0"
},
"path": "ninejjcohidippngpapiilnmkgllmakh\\0.0",
"state": 1
},
"ognampngfcbddbfemdapefohjiobgbdl": {
"active_permissions": {
"api": [ "debugger", "tabs" ],
"explicit_host": [ "http://*/*", "https://*/*" ],
"scriptable_host": [ "file:///*", "http://*/*", "https://*/*" ]
},
"events": [ "runtime.onInstalled" ],
"from_bookmark": false,
"from_webstore": true,
"granted_permissions": {
"api": [ "debugger", "tabs" ],
"explicit_host": [ "http://*/*", "https://*/*" ],
"scriptable_host": [ "file:///*", "http://*/*", "https://*/*" ]
},
"install_time": "12989044035404203",
"lastpingday": "12989055688643437",
"location": 1,
"manifest": {
"background_page": "extension.html",
"browser_action": {
"default_icon": "mt-icon.png",
"icons": [ "mt-icon.png", "mt-icon-active.png", "mt-icon-disabled.png" ],
"name": "MonitorTab"
},
"content_scripts": [ {
"js": [ "data_loader.js" ],
"matches": [ "http://*/*", "https://*/*", "file:///*" ],
"run_at": "document_end"
} ],
"description": "Get insight into the performance of your web applications.",
"icons": {
"128": "7271B57BF73ED8DD39E62247C6E55B11.png",
"16": "9478EDE0A0F397A1B9CFE9A268895DB7.png",
"32": "EAB84AFC4392F30491367F7CE3E8D498.png",
"48": "B8D870CF42A2D08DBF33031604F51CC1.png"
},
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDm+jz32G1duFpqC9Gvkx3sxjCapLPeTrLqAxpUfTMUtpE8kmwEYc92LDOPzWooPzLINwqpNJNANQyvrJufzNENBDiDWY5QtHt/vXf25BM71Um+HistVJ35Cxg/wcmBXI/fi5qt7EQUDRW0hd0Bwo2m+mXiv4QGZNVz5Q8SaGG2tQIDAQAB",
"name": "Speed Tracer (by Google) - Installing...",
"permissions": [ "tabs", "http://*/*", "https://*/*", "debugger" ],
"update_url": "http://clients2.google.com/service/update2/crx",
"version": "0.0"
},
"path": "ognampngfcbddbfemdapefohjiobgbdl\\0.0",
"state": 1
},
},
"toolbar": [ "ognampngfcbddbfemdapefohjiobgbdl", "gplegfbjlmmehdoakndmohflojccocli", "jnihajbhpnppcggbcgedagnkighmdlei" ],
"toolbarsize": -1,
"ui": {
"developer_mode": true
}
}
}
'@
$canaryDataPath = Join-Path ([Environment]::GetFolderPath('LocalApplicationData')) `
'Google\Chrome SxS\User Data\Default'
if (!(Test-Path $canaryDataPath)) { New-Item $canaryDataPath -Type Directory }
$chromeExtensions |
Out-File (Join-Path $canaryDataPath 'Master_Preferences') -Encoding UTF8
#download Chrome Canary
(New-Object Net.WebClient).DownloadFile('https://dl.google.com/tag/s/appguid%3D%7B4ea16ac7-fd5a-47c3-875b-dbf4a2008c20%7D%26iid%3D%7B0281A7E2-6043-D983-8BBA-7FD622493C9D%7D%26lang%3Den%26browser%3D4%26usagestats%3D1%26appname%3DGoogle%2520Chrome%2520Canary%26needsadmin%3Dfalse/update2/installers/ChromeSetup.exe',"${env:\temp}\ChromeSetup.exe")
&"${env:\temp}\ChromeSetup.exe"
#run the installer ( | Out-Null waits for the process to exit)
&"${env:\temp}\ChromeSetup.exe" | Out-Null
@Iristyle
Copy link
Author

Supposedly works on other Chrome editions per http://support.google.com/chromeos/a/bin/answer.py?hl=en&answer=188453

However, no work no Chrome Canary -- what gives?

If it worked this would install

  • Batarang
  • Speed Tracer
  • PageSpeed Insights
  • YSlow (disabled)
  • PostMan
  • LiveReload
  • DevTools AutoSave
  • Tin.cr

@paulirish
Copy link

seems like it should. Can you file a ticket? new.crbug.com and I'll ask someone to take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment