Created
December 19, 2012 03:36
-
-
Save anonymous/4334192 to your computer and use it in GitHub Desktop.
bookmarklet to open current IE page in Chrome using protocol handler, chrome2://
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'\"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// create a bookmark with the URL: javascript:document.location=("chrome2://"+document.location) | |
document.location=("chrome2://"+document.location) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment