How do I run JavaScript snippets in the address bar, I tried in Firefox something like: javascript: alert("lol")
, but it seems to be an old technique that does not work (at least not in Firefox).
The idea is to have a bookmark in the bookmarks bar in which it is a snippet of JavaScript so that I can click on it and it does some procedures on the current page (in which the user is present), such as displaying the address of the page, capturing an element value in the DOM.
Is it possible? There are special plugins for this (firefox, chrome ..), and would it be possible to use JQuery to make coding easier?