Hacker News new | ask | show | jobs
by MrMatters 5298 days ago
Hmm. How long has Chrome removed the 'javascript:' when you paste into a URL bar? I assume it's to prevent users from blindly running JS, but is there a way to disable it?
3 comments

I actually rather like that 'remove on paste', default to educating/transparency instead of blindly running. Manually typing the prepended 'javascript:' works fine.

Don't see any settings to disable (even in chrome://flags).

Chrome's Javascript Console would also work.

https://bugzilla.mozilla.org/show_bug.cgi?id=527530

Conversation in that thread implies May or June of this year (2011).

You can use the console (CTR+ALT+I)