Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Bookmark/quick search combo
Allows the combination of quick search and bookmark in one.
Simply install the script and then add bookmarks like http://example.com/find?q=%s#http://www.example.com. That is: the quick search URL, then a #, then the regular URL.
Bookmarks/quick searches can still contain # parts (hashes); the script splits at the first #http only.
You could comment on this script if you were logged in.

login to vote
Thanks, when indexOf search in the whole URL, then this solution works. I don't see the %s position as so big limitation.
I slightly edited also the other parts of code, just in case somebody will be interested see this.
login to vote
Syntax:
If %s is omitted, I can't think of a good solution.
You could change
if (search.indexOf("%s") != -1)toif (search.indexOf("="+delimiter) != -1), but this has the caveat that your %s has to come immediately between a = and the #http bit.login to vote
I would really like to use this script but unfortunately it is not working for me, possibly because of Firefox 3 and different keywords behavior (when there is no search string, %s in URL is omitted and not inserted, like in Fx2).
Any chance for fixing this script?
login to vote
alien_scum: That's an interesting solution. I tried adjusting the code for this, but I won't in fact include it in this script, since it complicates things for little gain. Still, here's the code:
var delimiter = "#http"; var launch_pad = /^about:cache#/; var url = location.href.replace(launch_pad, ''); var parts = url.split(delimiter); var search = parts[0]; var bookmark = "http" + parts.slice(1).join(delimiter); if (search.indexOf("%s") != -1) { location.replace(bookmark); } else if (url != location.href) { // Using launch pad location.replace(search); } else { location.hash = location.hash.split(delimiter)[0]; }login to vote
Sweet script, if you change it to about:cache#QUICKSEARCH_URL#BOOKMARK_URL then it will only open the right page. about:blank or a data url would be better but alas greasemonkey doesn't run on those.
login to vote
I would like for this script not to have to display the quick search page before redirecting to the bookmark page, but I don't see how. If you do, let me know.