4 ms·
Note that you can use `//` prefix to mean `http://` http://`. E.g. if you want to go to `http://foo` http://foo`, you type `//foo` in the address bar. You can a
by jakub_g 12y ago
Note that you can use `//` prefix to mean `http://` http://`. E.g. if you want to go to `http://foo` http://foo`, you type `//foo` in the address bar. You can also use `//` URLs in HTML, it expands to `http://` http://` or `https://` https://` depending if the page is served via HTTP or HTTPS (this is cross-browser)
- ygra 12y agoAnd use the ? prefix for searches from the address bar that would otherwise be interpreted as something else, also cross-browser.
- mcovey 12y agothat's an interesting one. I usually use a single quotation mark when searching a URL since Google doesn't interpret it as "verbatim" anymore and seems to just discard it.
- dchest 12y agoDoes this actually work in address bar? Both FF and Chrome open file://... URL if you type //...
- jakub_g 12y agoDid you type // and not \\ ? \\ does expand to file:/// for me, trying to open a network share. But // to file:/// never happened to me. BTW, actually it seems that if I type `//foo` and `http://foo/` http://foo/` can't be resolved by DNS server/hosts file, Firefox does Google search, while Chrome tells that 'webpage is not available'. Note also that some browsers want to fix http://foo http://foo to http://www.foo.com http://www.foo.com - for Firefox, see [1] and [2] [1] about:config?filter=browser.fixup [2] http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entries http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entr...
- dchest 12y agoI typed // (OS X)