|
|
|
|
|
by myfonj
2429 days ago
|
|
There is ancient feature of regular bookmarks to serve as "search keywords" [1]: just give it a some keyword and use `%s` in place of URL you want to substitute with value encoded as URI fragment (IIRC, or `%S` to be used more verbatim). In Firefox it is directly in "New bookmark" form; in Chrome it is dug somewhere in "Search engines" corner of settings. For example setting keyword `t` for uri `data:text/plain,%S` and entering `t foo` into location bar will navigate you to `data:text/plain,foo`, i.e. "make document". If Google Docs have GET endpoint for creating documents, it should work. For searching you can apparenly use `https://docs.google.com/document/?q=%s`. [1] https://www-archive.mozilla.org/docs/end-user/keywords |
|
Even if you're adding it manually, I think the list of search engines is a more intuitive place to put such a feature than "bookmark keywords".
Compared to similar features in Chrome or DDG's bangs, Firefox's bookmark keywords seem less discoverable to me.