win32ss / supermium

Chromium fork for Windows XP/2003 and up
https://win32subsystem.live/supermium/
BSD 3-Clause "New" or "Revised" License
2.4k stars 81 forks source link

A way to allow pasting javascript into the url bar #790

Open oleedd opened 3 months ago

oleedd commented 3 months ago

javascript:alert('Hello World!') Maybe it exists?

narinishi commented 3 months ago

You can put Javascript in bookmarks using that syntax.

oleedd commented 3 months ago

I know. I say about url, not about bookmarks.

narinishi commented 3 months ago

What is the use case for this versus pasting into developer console?

oleedd commented 3 months ago

It is much faster than with opening the console. And for large sites the console opens very slowly.

trlkly commented 2 months ago

Works fine for me. You just can't copy and paste. You hat to manually type in teh "javascript:" part.

oleedd commented 1 month ago

This issue is about allowing pasting. I just named it incorrectly. Fixed.

trlkly commented 1 month ago

In that case, do note that you can press F12 and then paste the JavaScript into the console. Just delete the javascript: part before you press enter.

oleedd commented 1 month ago

This issue is about pasting into the url bar! It is much faster because the console may appear about 20 seconds after pressing F12 on some heavy sites. That is actually why I opened this issue.