Call JavaScript from the address bar


There are the following problems. You need to give the user the ability to call a script in any moment on any site.

The decision is made that the user adds a link I need a script (href="javscript: ...") to your favorites and clicking on it is what you need.

The problem is that FF is over 7 and Opera Next (not tested elsewhere) does not respond to the enter JavaScript through the address bar.

What are the options? Now think of is to write extensions for these browsers. But I want to find a more simple solution.

Thank you.
October 8th 19 at 01:59
4 answers
October 8th 19 at 02:01
It's called bookmarklets. Like even there were articles on how to do it right.
Exactly, thank you - laura37 commented on October 8th 19 at 02:04
October 8th 19 at 02:03
Shipping maaliskuu page, which will be the script, no?
I mean this: data:text/html;base64;lya-lya-lya...
Wiki - laura37 commented on October 8th 19 at 02:06
In General, the way it should work. Only how to make this little page is loaded? If you put it in the address bar (for example, "data:text/javascript;base64,YWxlcnQoMSk="), just transition... - cecilia_Zemlak commented on October 8th 19 at 02:09
October 8th 19 at 02:05
Can userscripts? However for IE I have not seen such a plugin.
I thought about it. Only userscripts run on every page (and in advance I don't know what page the user wants to use this script). - laura37 commented on October 8th 19 at 02:08
October 8th 19 at 02:07
If I understand correctly, here is made as You need.
You understand correctly, and you need. Now I will write what was the matter. - laura37 commented on October 8th 19 at 02:10

Find more questions by tags JavaScriptBrowsersMozilla FirefoxOpera