1 Comment
⭠ Return to thread

There is a simpler way here:

https://pagedart.com/blog/add-google-search-to-a-website/

It also uses javascript.

The idea is to get a string like this into the browser address:

"https://www.google.com/sear

ch?q=site:http://www.daviddfriedman.com/+OR+site:https://daviddfriedman.blogspot.com/+OR+site:https://daviddfriedman.substack.com/+Altemeyer"

But where "Altemeyer" is replaced by the text that was entered in the search box.

Edit: substack may have mangled the search link. Copy/paste instead of click.

Expand full comment