Bookmarklet to re-perform a Duck Duck Go search on Google

I use Duck Duck Go as my primary search engine, but I often need to repeat a search on Google – Duck Duck Go is good, but nowhere near as good as Google for some searches, unfortunately.

I created this bookmarklet to prepend "!g" to the search and re-submit the search form. This will automatically perform the same search on Google.

If you use Safari and place it near the beginning of your bookmarks bar like I did, you can use ⌘3 (in my case; it's the third bookmark from the left) to trigger the bookmarklet.

Here's the "URL" for the bookmark that contains the JavaScript to do this:

javascript:(function()%7B$('%23search_form_input').val('!g%20'+$('%23search_form_input').val());$('%23search_form').submit();%7D)()

(To install, you'll have to manually make a new bookmark in your bookmarks bar with the URL as the code above.)


🌟 Was this page helpful? Please let me know with this quick, 3 question survey.

1 response
Thank you thank you thank you!! I've wanted a bookmarklet that did this for a while and am very happy to have found yours!