Closed Bug 742988 Opened 13 years ago Closed 13 years ago

hide www in url

Categories

(Firefox :: Address Bar, defect, P3)

14 Branch
x86
Windows 8
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: fusionneur, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:14.0) Gecko/20120405 Firefox/14.0a1 Build ID: 20120405031419 Steps to reproduce: want to hide www prefix from URL Actual results: Nothing Expected results: It would be nice to implement a feature like "browser.urlbar.hideProtocols" in about:config to hide "www" prefix from URL as well to make URL bar even more compact.
OS: Windows NT → Windows 8
Priority: -- → P3
Depends on: 448853, 407217
Component: Untriaged → Location Bar
Unfortunately "www.foo.com" and "foo.com" are not guaranteed to be the same (even though they commonly are), so stripping the "www." away could have unintended side effects. That means that we can't really do this by default, and I don't think we're going to implement options for doing so in Firefox itself. Can certainly be done by an add-on if you're interested!
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
I don't want what "browser.fixup.alternate.prefix" disabled would do - to remove completely the "www" from URL when typing foo.com. I just want it to be hidden for the aesthetics as "browser.urlbar.hideProtocols" does, so when i copy the url i can get "www" as well. An addon would be great too. Any ideas? __________ Sorry for my english :) hope u understand
You can only do this if www.foo.com is a CNAME-record in DNS pointing to foo.com, or (more generally) foo.com and www.foo.com map to the same ipaddress. Note that there will be cases where this won't be detected, if the lookup for foo.com returns a different ipaddress than www.foo.com (due to round robin ordering if they use load balancing).
Summary: hide www url → hide www in url
You need to log in before you can comment on or make changes to this bug.