Firefox address bar
wiki.tilde.institute
wiki.tilde.institute
I use the URL "https://www.google.com/search?q=site:ycombinator.com+%s" to search content from HN, and "https://www.google.com/search?q=site:reddit.com+%s" to search on Reddit. I also have "https://www.npmjs.com/package/%s" to directly go to a package page on npm.
This is probably less of a problem on firefox, where they are regular bookmarks.
I've found this random tutorial how to mass create Edge search engines by editing the Edge database https://jeffhandley.com/2022-10-17/custom-search-engines if you want to store your search engines in a separate file in the future
https://www.ghacks.net/2022/01/13/use-all-of-duckduckgos-ban...
Do you remember if it was possible to edit or add custom search engines from GUI before? I remember having them, but I can't find it. Also it seems to me as a basic feature and not a "killer feature".
Edit: it then gets saved as a bookmark and you can edit it like any other.
edit: also if I modify a keyword for my opensearch/xml search engines in about:preferences#search , it won't show up as a regular bookmark. Also I can't even see the URL for those search engines.
Last time I checked, you had to navigate to a search engine (and/or make a search with it?) and hope its author published some magic special microformat metadata that identifies it as a search engine - then Firefox would helpfully offer you an option to add it as a search engine, somewhere in the address bar. I don't remember if it had any indicator visible by default, or if you had to right-click the address bar first.
And now I learned they "improved" this once again - hiding the feature under a right-click on a search box.
It really seems like browser vendors want to soft-kill this options. I'm just not sure why, especially when it comes to Firefox.
[1] https://addons.mozilla.org/en-US/firefox/addon/add-custom-se...
It is also great for keyword-based bookmarklets.
javascript: document.body.innerHTML = "%s" + document.body.innerHTML
and add a keyword @addBefore and it will work. (Useless example, but it probably shows where and how the javascript runs.)To this day I cannot fathom anyone willingly switching from Firefox to Chrome/Edge/any other Chromium-based browser. There are so many tiny features that are useful at least to myself, while a minor JavaScript performance advantage isn't something that important in the grand scale of things.
(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.I also just saw this https://blog.google/products/chrome/search-your-tabs-bookmar...
I think I like the shorter Firefox version better but this is maybe easier to remember at first
I'm sitting here, recalling all my chats and meetings and workshops with UX folk, and not once can I recall the topic of keyboard shortcuts or tab sequence being brought up. It was all about color, branding, spacing, user flow, "journeys", "experience", conversion funnels, and all things visual.
https://<your servicenow base url>/text_search_exact_match.do?sysparm_search=%sWhile I love the flexibility and openness that Firefox brings, there is a resource issue for me on my macbook pro. I have to spend a lot of time in Google Meets for work, and video conferencing via Firefox seems to redline the computer... It sounds like a jet engine and I wind up thermal throttling to the point that my machine becomes completely unresponsive.
I'd love to stay with Firefox - especially for the cross-device tab sharing and search - but the need for something stable is superseding my want to use a non-Google browser.
Another member recommended disabling hardware acceleration so that is the first thing I'll try. If you have any other recommendations on how I can reduce the impact of the issue I'd love to hear them.
I would have assumed that offloading the video processing to the dedicated GPU would be a good thing, but hopefully that helps with the problem.
That irritating and horrible; but until they follow that trend to conclusion, it's not a reason to switch at all.
Everyone is there for a different minority used feature. By caring only about the feature used by the majority, you are actually satisfying no one.
That’s why product managers use persona on top of metrics. Nice products have niche features and some kind of personality. You don’t want to overfocus on them but stripping them all is a losing move.
Sigh, I've been using Firefox for almost 2 decades, and this is the first I've heard of this feature.
If you only focus on the most popular features you eventually narrow your product to one feature, so obviously there is a balance in there somewhere between focus and utility as well. Identifying why people use your product is as important as knowing what they use. Chrome does all the things I actually use from Firefox, but I use Firefox because when I ever need slightly more hackability it is there for me. That is at best, a once a year occurance.
I see this so much so, it's to the point that If I see you're using something else, I assume you're not a developer, and you're likely not a power user.
And to me the context menu option to unload tabs is a killer feature.
Have I missed something?
I still manage to use TST, but part of my reason for using Firefox is just because I don't want to use anything Chromium based.
Oh, and also I don't really want to support Mozilla either so I am experimenting with LibreWolf as my secondary browser and so far it has been great.
I use Brave and yet use some complex search engines such as making POST requests to APIs based on the search input and telling the browser to open a URL provided in the API's HTTP response.
Assumably Chromes does the same (ie without some prefix searches everywhere, with some prefix —or keypress— searches in a specific category). If Chrome doesn't do that, then Firefox's is the much better UX, otherwise they're equivalent.
What I would like most on the Chrome-based browser I have to use at work is history (^ keywords) and bookmark searching (# tag keywords, or * bookmark keywords) using "awesomebar" operators that Firefox has.
I'd really really like it if a form of search keywords could be used for forms that don't work as GET requests.
There is an honest but much, much more limited attempt top bring a something similar to Chromium: [2].
[1]: https://addons.mozilla.org/en-US/firefox/addon/tree-style-ta...
[2]: https://chrome.google.com/webstore/detail/tree-style-tab/oic...
I like TST, but I gave up on it because I could never get the top tabs hidden correctly, and all the information I could find on the internet was different levels of out of date.
Some of this may be platform specific to Windows (can't speak to window management buttons on other platforms), but hopefully it helps if anyone in this thread needs it or lands here later from search results:
/* Hide the tabs within TabsToolbar*/
.toolbar-items {
display: none;
}
/* Make the min/max/close buttons align to the right*/
#TabsToolbar {
display: flex;
flex-direction: row-reverse;
}
/* Hide the titlebar spacers, which push the buttons away from the corner */
.titlebar-spacer {
display: none;
}
/* Hide the sidebar header */
#sidebar-header {
display: none;
}
Stupid that this sort of fiddling is required when other browsers (like Edge and Brave) are doing native sidebar tabs, but I do like how compact Firefox's can be, plus being a tree instead of a flat list.Enabling userChrome.css files and finding where to put it is left as an exercise to the reader.
Consider just how many layers of JavaShit webdevs want to slap down on their websites these days, that "minor" performance difference adds up. Death by a thousand cuts, basically.
Still way less confusing than Firefox's UI for this though. What I like most about Chrome's implementation is how by default the search engine is linked to the main site, so I can type "yo<enter>" to visit the YouTube homepage or "yo<tab>" to search YouTube. And there's no need to manually set anything up (except to click the "activate" button now next to each site you want to the feature on, unfortunately).
shortcut: "aw", lets you type: "aw s3", "aw iam", etc.
https://console.aws.amazon.com/%s
shortcut: "amzn", searches the retail side
https://www.amazon.com/s/?field-keywords=%s
shortcut: "gm", searches through gmail (change the 0 if you use multiple accounts)
https://mail.google.com/mail/u/0/#search/%s
shortcut: "maps", searches google maps
https://www.google.com/maps/search/%s/
shortcut: "img", searches google images
https://www.google.com/search?tbm=isch&q=%s
shortcut: "wp", goes directly to the article if it exists
https://en.wikipedia.org/wiki/%s
shortcut: "yt", searches youtube
https://www.youtube.com/results?search_query=%s
[0] https://github.com/gregsadetsky/custom-search-enginesAliexpress alternativeto.net Amazon Apple AppStore ArXiv Bing Video BookFinder ISBN DHL Tracking Number DOI Resolver duckduckgo.com ebay.com Facebook HackerNews (Angolia search) ISBN Search Library Genesis MathOverflow Physics.StackExchange Scholarpedia Sci-Hub (DOI) SciRate (arXiv) Scite.ai Dictionary.com Thesaurus.com Tripadvisor.com Twitter Urban Dictionary Walmart Wayback Machine Wikipedia Wolfram Alpha Weather Underground Yelp YouTube Video Search images.google.com scholar.google.com maps.google.com news.google.com scholar.google.com video.google.com
I have about half of these memorized enough to use regularly.
For example, I used to be able to just type, "yt" and go to youtube, but now Ominbox history replaces it with my most recent history item that has "yt" in it
shortcut: "yt", goes to youtube https://www.youtube.com/
However, if you edit the bookmark afterwards from the bookmarks sidebar, or add a bookmark on the "Manage bookmarks" tab (CTRL+SHIFT+O), you do see it.
I think what people are talking about in this thread are "Search Shortcuts". And I don't know why this is a "best kept secret"; it's right in the Search section of your FF settings.
If you want to create one "one the fly", don't create a bookmark, but instead right-click in a search field and choose "Add a keyword for this search..." You can try it using the search at the bottom of this page.
https://itsbehnam.com/Brave-Hacks-I-Create-my-Own-Custom-Sea...
Wanna check if Thunderbird v115 is in arch repos? Ctrl + L, !archpkg thunderbird
Boom!
My favourites:
!w <term> searches <term> inside Wikipedia
!so <term> searches for that term inside stackoverflow
!a <term> searches inside amazon.com
!ai <term> searches inside amazon.in
!arch <term> searches inside arch wiki article for that term
!archpkg <term> directly searches for archlinux.org/packages
Also, I just learned that there is a "!hackernews"
It's nice that kagi lets you define your own, so I can have custom ones across browsers / mobile / desktop... So long as I'm logged in and have configured kagi to be my default search engine (my phone defaults to ddg and sometimes I might use a browser in a VM or something).
Also, people slag on wikipedia's search functionality a lot, but I've found it to actually be pretty good even with imprecise searches. For instance, I forgot the name of Lubyanka, but searching for "KGB prison" found it: https://en.wikipedia.org/w/index.php?search=kgb%20prison
The Control-L/Command-L(mac) to focus the url bar. p is the keyword set to search the internal company org chart.
Another useful Firefox feature is to right click, Take Screenshot, and save the full web page rendered as you see it as an image. This is useful for those internal webpages with tables and fancy javascript rendered widgets that never properly render to pdf when saving the page.
Even today, Chrome presumptuously calls this macro expansion "site search".
I use it to access static pages. For example, I have local httpd's serving local pages on localhost addresses. One is a "clipboard" that I use in Chromebook "Guest" mode to output text from Chrome to a file descriptor, e.g., stdout or a file under /usr/local. This enables me to use UNIX utilities to process text from Chrome. (Chromebooks attempt to limit Chrome user access to the filesystem to a folder that the user can only access by using Chrome.)
For example, given the macro "https://127.0.0.8/%s.html", when I type "clip" in the address bar, the browser navigates to a local page
https://127.0.0.8/clip.html
This page is an HTML form with a textarea where I can paste text that I want to output to a file descriptor, e.g., stdout or a file under /usr/local.Another example is a static page that is a list of web search results from various search engines. These results pages are generated by a command line web search system I created using only standard UNIX utilities.
A final example is that I use "site search" to quickly navigate to chrome://settings pages with a single key, e.g., chrome://settings/clearBrowserData, chrome://settings/siteData, chrome://settings/content/all, or chrome://settings/searchEngines.
1. I find this label comical as I'm not a "developer". I'm just a computer user trying to work around problems caused by ad-supported "tech" companies in the comparitively rare instances I have to use one of their hopelessly complex graphical web browsers.
It is unfortunate that add-ons cannot add a set of keywords: it would be great to have all DuckDuckGo bangs defined as keywords by an add-on.
It was such a huge loss for me that for at least a year I used the outdated pre-Fenix. Now they still work on Desktop but they just stopped working on Android (althouth the bookmarks itself are synced-up)
Haha! Hello, fellow longtime Firefox user. I also vividly remember this term in Firefox's marketing a long time ago, but the most recent results on Google are from circa 2010. Seems they've largely dropped it as a public-facing term :)
When I called it "the hamburger menu", I got confused stares. Maybe if the top line looked more like the top of a hamburger bun… although why a hamburger should mean "menu" is still a bit odd.
So that doesn't work.
I also don't want to search my default search engine. I want tab to search for the panoply of websites that the omnibox will search. When I start typing ebay, I want "tab to search ebay".
I know I can set them up manually (a pain, but might be worth the investment to avoid the google overlord), however, I still don't get the "tab to search blah" function with a keyword. I have to type the keyword exactly -instead of having tab function as autocomplete- then space for my query.
What I want is omnibox tab to search.
You can configure Firefox to do this with a single checkbox. Go to Settings, click Privacy & Security on the side, go down to the Address Bar section, and make sure that "Search engines" is selected.
When I do that, I can click in the address bar (which brings up the drop-down), type "ebay", and then you'll see "Search with eBay" appear below in the drop-down, and then a single Tab puts it into eBay search mode.
Autofill segment would be really useful, and no modern thing seem to be able to do it. But tab to search doesn't look very useful to me.
Absolutely. At the current computer I'm at, I last visited https://github.com/austinhuang0131/instagrabber in May 2020, and typing either "insta" or "austin" in the addressbar still shows that URL as a suggested address.
As usual, there used to be an add-on for that, which was subsequently broken by the move to webextensions (and even if somebody wanted to rewrite it, the webextension API doesn't cater for its full functionality). Thankfully some kind soul has maintained a version hacked to still work even on a current Firefox (https://github.com/xiaoxiaoflood/firefox-scripts/tree/master...).
I hate Safari's address bar. One visit to a mistyped address can ruin your suggestions forever, that typoed URL will be always preferred over the correct one.
Firefox's address bar is indeed great. Always works flawlessly.
Answer: don’t show anymore than three history suggestion items and provide no way to increase it
Still awesome though.
Then Google realized you could combine the two; this makes it less likely you will use a competing search, gives you more places to show ads (as more things qualify as search) and most importantly - legitimizes tracking every page you open - as you did a web search for the URL!
Unfortunately, Chrome owns the web, and Mozilla copies everything they do. Especially when they are FF's main source of income.
IMO, the old system was more accurate and more private. The search bar is for web searches.
If you turn off address bar search suggestions then the address bar will still search anything you enter that’s not a url on your chosen default search engine though. You might be able to turn off that behaviour in about:config
While Google may have the poor intentions you mentioned, don't most user prefer the omnibar vs separate bars? I personally like it quite a lot.
It should probably be noted that ^headphones like they suggest doesn't actually work, over here it only works with ^ headphones, since the ^ doesn't get applied until I press space and then the start of the address bar changes to "History" with a 'x' close option.
The day I knew about it and till know I don’t think I ever clicked in search bar to search.
This shortcut is very helpful!
In similar context, Ctrl+w for closing tab.
See also: https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perf... https://support.mozilla.org/en-US/kb/mouse-shortcuts-perform... https://firefox-source-docs.mozilla.org/devtools-user/keyboa...
That is useful! Wonder why Ctrl-l and alt-d don't work like that?
Even though the keys _are_ there I have no muscle memory for the modifiers on my right hand.
In Firefox use this for quick find on the page
Some vendors make an effort to support non-US layouts, others not so much (e.g Adobe, and recently Microsoft).
As a shortcut junkie, I've even changed the OS keyboard layout to enable more shortcuts to work, and memorising the location of special characters by feel. But that's not exactly an intuitive UX.
As some examples of shortcut keys that usually brings me dread are: /, ~, [, ], ;, |
I much prefer shortcuts in the form of "ctrl + letter"
Although I use it exactly as described (prefixing my search with the magic character followed by a space), it's not necessarily the best way to use it. If you can retrain your muscle memory, these shortcuts are better as suffixes. "% fish" will only show the open tabs (in the current container) with "fish" in them. "fish %" does the same, but when you've only typed the "fish" part, it will have the full set of search suggestions. Which are generally quite good in Firefox, and if what you're looking for is already in an open tab, it'll probably be in the list. But sometimes I don't remember if I have the tab open, so a history result would be better. With the suffix, you get the best of both worlds: the initial "fish" may show too many things, so tacking on "fish %" will restrict it to just the open tab results. That avoids doing it in two passes and having to go back and edit to remove the restriction token.
The actual feature is richer than you might think. It's only hinted at in https://support.mozilla.org/en-US/kb/address-bar-autocomplet... but there's actually a little DSL for queries. You can build these things up into filters. "% fish # github" will search for open tabs with github in their title. So if you can too many results (with eg "% fish"), you can filter them down incrementally (by tacking on " # github"). Yes, this disagrees with the previous suggestion; I'm back to prefixes here.
See https://firefox-source-docs.mozilla.org/browser/urlbar/nonte... for gory details of the address bar's operation in general, though it doesn't go into detail about the restriction tokens.
Err... I attempted to update my comment. I guess it was too old but I still had the page open with an edit link present?
And now I notice that multiple other people are reporting that they still need the space. Something smells buggy....
I thought i was losing my mind there fore a second when these commands didn't work for me!
* correct ttps:// to https://
* stop searching internet for local hostname I type into the bar
Yes, please. I have a separate address bar and search bar in Firefox, and it still insists on searching DDG for local hosts names when I type them in the address bar. Stop doing this. (The solution for now is to type http://localname/ )
One nice feature of this is you can give a more complete URL for each keyword, for instance typing "nas" could link to "https://192.168.0.4:8181" with an IP and port number. It's instantly fast, and doesn't rely on a functioning DNS server.
Hope it works for you.
Though imo the killer feature of FF address bar is simply that it's tied to a proper search history. Unlike chrome (which I sadly have to use at work), that only keep 90 days of history (!), making the address bar useless for anything but tabs, recent searches and as a link to a search engine. I really can't see an excuse for that behavior, the sqlite used by chrome is a few mb at worst.
These are just power user shortcuts.
(Not that I mind personally, since I'm already familiar with the feature)
EDIT: To be clear I hate being a downer here. But I will never use these. Nobody I work with will ever use them either. This is for the 1% of the 1% and a few minor tweaks would make it actually useful with the default bindings.
I’m noticing the Google Omnibar will pop up logos and names of companies when I search for stuff which I wish I could disable. But I’ve found no way to do so. It’s just distracting and jarring.
I think I found your problem.
Although if you are really opening 400 tabs at once I'd recommend either tree-style tabs or rethinking your life choices lol.
Which uses the same broken stuff, so you can't actually search. Check this ticket: https://bugzilla.mozilla.org/show_bug.cgi?id=1479858
Btw, the arrow icon cannot be moved from the tabs bar, annoying because I completely hide this bar, but sometimes it would be useful to have this menu.
The arrow tab search does the exact same thing as using % modifier in the address bar. I still can't search pages that are in containers that are different from the currently opened site.
I find "^history search" to be actually and annoyingly useless because Firefox, like Chrome and seemingly every other browser, has unreliable, short-living browsing history. The times where I find myself trying to use the "^-search" in Firefox are always just a little bit after whatever I was searching for fell out of history retention window. The annoyance part is that my every failed attempt at using "^-search" is another reminder that browser vendors seem to want to get rid of browsing history entirely.
The rest of those tools, they work for me. Sometimes. "%tab-search" and "#title-search" seem to be negatively affected by what the article describes as "some sort of smart guess on what you type there", and overall I had them fail to find the exact tab/page I had open enough times, that I don't trust them.
"+tag search" - that's a new one for me, I didn't know it existed. I only recently discovered you can add tags to bookmarks, and those tags do complete for "unqualified" queries (i.e. just starting to type in the address bar) with some priority, and are displayed nicely.
Actually I started looking and found the hidden history manager view, which allowed me to at least view history as a table that can be sorted. It seems that my history goes back to 2021, which is more than I thought but much less than it should. And that's by "Most Recent Visit" column. There are two more hidden columns that can be enabled, "Added" and "Last Modified", but both have no values for any entry in history.
As for search - I picked a history entry at random (literally dragged the scroll bar 2/3 of the way down and focused on first line that caught my attention), and attempted to find it in the address bar using "^-search" with words taken directly from the page title. The entry I was looking for showed only on the third attempt, and then it took two more before it stopped disappearing when I typed in the next word from its title. This suggests some kind of slow, async background search is going on - which would explain why it never worked for me: I never expected something like this could take more than an instant, especially without any indicator saying "still searching" or whatever.
So I guess maybe it "works", it's just slow enough to be useless.
I seem to get variable retentions between computers. For instance i have FF on a work laptop with sync blocked, and have purple links and history from 6+ years ago.
FF on my personal machines which have been synced at one time or another certainly don't have 6 years of history.
Uh. Yeah, that seems to track - my current history seems to back to about when I first set up Firefox Sync. If that's really the case, then... it's really lame. I don't recall it being communicated at all during Firefox account creation and activating sync, and it's exactly the kind of information I pay attention to.
In fact, the idea of enabling cloud sync being a destructive operation, silently truncating local data, is preposterous. I wouldn't have thought of it.
The canonical URL for how the address bar short cuts is https://support.mozilla.org/en-US/kb/address-bar-autocomplet...
Some time back I wrote on it as well, along with some extra goodies: https://timvisee.com/blog/firefox-tricks-quantumbar/
https://support.mozilla.org/en-US/kb/address-bar-autocomplet...
https://eieio.games/nonsense/implementing-wordle-in-the-fire...
I hope it brings you the five minutes of delight that it brought me
Followed by frequent calls for dumping Chrome in favor of Firefox.
Maybe it doesn't play nicely, or at all with privacy badger, ublock origin, ddg etc plugins installed?
It also works with pasting to the address bar, but the space between modifier and term seems to be required.
BTW something I really dislike about firefox is the switch to tab behavior when your bookmark/url happens to match an open tab: I guess it tries to be economical and bring you to a tab where you already have that page open. But that means switching context to another window or even virtual desktop for me. Also sometimes maybe I want to keep the other tab at its current state? I wish this behavior could be disabled, it has almost never been what I wanted.
Say I have 50 sites about "headphones". I need to go through each of them to find thar particular one.
So I open them one by one, but they land on top again and polute the search results.. what makes searching difficult.
As soon as you were able to select multiple tabs for making bookmarks I just assumed that you could ctrl+c and get the urls in plaintext. But doesn't seem to be that easy.
It's an awkward solution, but it does work and is relatively quick.
^ -> searches in History
% -> searches in Tabs
* -> searches in Favorites
browser.urlbar.maxRichResults 22
browser.urlbar.quicksuggest.migrationVersion 2
browser.urlbar.quicksuggest.scenario history
browser.urlbar.showSearchSuggestionsFirst false
browser.urlbar.suggest.bestmatch false
browser.urlbar.suggest.remotetab false
browser.urlbar.suggest.topsites false
browser.urlbar.suggest.weather false
browser.urlbar.tabToSearch.onboard.interactionsLeft 0
browser.urlbar.tipShownCount.searchTip_onboard 4
browser.urlbar.speculativeConnect.enabled false
browser.urlbar.shortcuts.quickactions true
the code and sql that determines the behaviour for this is athttps://searchfox.org/mozilla-central/source/browser/compone... https://searchfox.org/mozilla-central/source/browser/compone...
I get a lot out of this
Pro tip: you can also append % at the end to have the same result (it wasn't always like that, which used to be super annoying if you forgot to type it at beginning).
I realised recently I've taken the Firefox address bar for granted. I wasn't a big fan when it moved from a "simple" address bar. I still use a separate search bar and disable searching from the address bar in case I accidentally submit a search I didn't intend to.
But recently I was using Safari on an iPad and couldn't believe how terrible it was. It couldn't even remember pages I'd visited from a couple of days ago. I do bookmark things in Firefox but I've taken for granted being able to recall pages I've browsed months, maybe even years, ago from the address bar. How do people live without this?!
^ to search for matches in your browsing history.
* to search for matches in your bookmarks.
? to search your search engine.
That reminds me, ctrl+shift+delete to delete history gives you a setting for "last hour", "today" etc. I wish I could have the opposite choices. Let me easily delete history, cookies etc for domains or something I haven't visited in X months.
they also killed ctrl+key shorts... cannot ctrl+w or ctrl+t anymore (was THE killer feature on the key2/priv)
this is not sarcasm. so often i have wished for something like this. and now i know that it exists!
sincerely, a long time firefox user