Created
August 15, 2012 10:29
Firefox bookmark with input dialog: Create a new bookmark in firefox and add on this snippet as address. When clicked a dialog for a custom input will open.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:void(location.href="http://www.contao-pool.de/ceris.html?search="+window.prompt("CERIS search:","")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:void(location.href='http://translate.google.de/#de|en|'+window.prompt("Translate (DE->EN):","")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:void(location.href='http://translate.google.de/#de|en|'+window.prompt("Translate (DE->EN):","")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:void(location.href='http://translate.google.de/#de|en|'+window.prompt("Translate (DE->EN):","")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:void(location.href='http://translate.google.de/#en|de|'+window.prompt("Translate (EN->DE):","")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:void(location.href='http://translate.google.de/#en|de|'+window.prompt("Translate (EN->DE):","")) |
note that Firefox bookmarklets do not work in about:newtab so you have to replace it with about:blank
you can do this by setting the value of browser.newtab.url to about:blank in about:config
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can also be used for each other URL that will be customized bei user input (e.g. Github issue search)