News for hackers. Stuff that matters.
Re:Firefox Address Bar Tips by cubefox on Monday July 10, 2023 @11:03AM (#36667486)
I think he meant the custom website keyword search.
Re:Firefox Address Bar Tips by wartijn_ on Monday July 10, 2023 @11:07AM (#36667545)
I did mean that, but it is possible to search for tabs, history, or bookmarks by starting your search with an @. E.g. `@tabs ycombinator`
Re:Firefox Address Bar Tips by cpleppert on Monday July 10, 2023 @02:15PM (#36670621)
This bookmarklet will work:

  (function () { let sel = window.getSelection(); let Qr; if (sel && sel.toString().length > 0) {Qr=sel.toString()} else {Qr=prompt('Search Site for','');} let hna=window.location.hostname; if(Qr) {  location.href='http://www.google.com/search?&q=site:'+encodeURIComponent(hna)+'+'+escape(Qr)  }})();
You can attach to a keyboard shortcut with a launcher or applescript.