Ran into something rather odd today, I'm unable to paste a string from my clipboard starting with javascript:
to the chrome address bar - the javascript: portion is stripped.
What is going on here? Is there a reason chrome is automatically stripping it out? The context is I wanted to copy-paste some javascript to run. (http://nategood.com/quickly-add-and-edit-cookies-in-chrome)
I can paste strings containing javascript:, and I can type it out manually, but I cant paste if the string starts with javascript:. This only happens with the address bar
Examples of what happens when I try copy strings (both Ctrl+c/Ctrl+v and middle-mouse)
javascript: - (nothing is pasted)
javascript:test - test
javascript://test - //test
test javascript: - test javascript:
Output from about://version
Google Chrome 47.0.2526.80 (Official Build) (64-bit)
Revision 9fd42dd40d33146ff9afd92f51714f0426c1247c-refs/branch-heads/2526@{#505}
OS Linux
Blink 537.36 (@9fd42dd40d33146ff9afd92f51714f0426c1247c)
JavaScript V8 4.7.80.25
Flash 20.0.0.267
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36
Command Line /usr/bin/google-chrome-stable --flag-switches-begin --enable-tab-audio-muting --flag-switches-end