K
K
krasulya2012-03-17 07:33:37
Opera
krasulya, 2012-03-17 07:33:37

Call javascript from address bar

Hello.

There is the following task. You need to give the user the ability to call the script at any time on any site.

The solution was this: the user adds a link with the script I need (href = "javscript: ...") to favorites and clicking on it does what is needed.

The problem is that FF is older than 7 and Opera Next (not tested everywhere) does not react in any way to javascript input through the address bar.

What other options are there? Now the only thing on my mind is to write extensions for these browsers. But I want to find some simpler solution.

Thank you.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
K
Konstantin Kitmanov, 2012-03-17
@krasulya

It's called bookmarklets. It seems there were even articles on how to do it right.

P
Prototik, 2012-03-17
@Prototik

Load a small page on which the script will be, no?

D
Dmitry Sidorov, 2012-03-17
@Doomsday_nxt

Maybe userscripts? True, for IE I have not seen such a plugin.

N
Next_Alex, 2012-03-17
@Next_Alex

http://www.m-ms.dk/spaceheroes/
If I understand correctly, here it is done as you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question