Skip to content

Instantly share code, notes, and snippets.

@yzorg
Forked from anonymous/gist:4334192
Last active December 11, 2015 03:08
Show Gist options
  • Save yzorg/4535470 to your computer and use it in GitHub Desktop.
Save yzorg/4535470 to your computer and use it in GitHub Desktop.
'Send to Chrome' button in IE, adds chrome2:// protocol to Windows
REGEDIT4
[HKEY_CLASSES_ROOT\chrome2]
@="URL:Chrome Protocol Helper"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\chrome2\DefaultIcon]
@="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe,0"
[HKEY_CLASSES_ROOT\chrome2\shell]
@="open"
[HKEY_CLASSES_ROOT\chrome2\shell\open]
[HKEY_CLASSES_ROOT\chrome2\shell\open\command]
@="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -NoProfile -Command \"& { param([string]$url); &'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe' -- ('\\\"{0}\\\"' -f $url.Substring(10)) } '%1'\""
// in desktop IE and metro IE - create a bookmark with the line below
javascript:document.location=("chrome2://"+document.location)
@yzorg
Copy link
Author

yzorg commented Jan 29, 2014

Need to use a Chrome protocol handlers instead. Much easier to administer and install: http://metadataconsulting.blogspot.com/2013/05/chrome-this-page-wants-to-install.html

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