Bug 115539, Add pref UI to disable/enable domain guessing in Location (adding "www." and ".com" to domain names)

r=timeless sr=jag
This commit is contained in:
caillon%returnzero.com 2006-05-17 02:35:55 +00:00
Родитель 32deca8c30
Коммит 5028d1ff8e
2 изменённых файлов: 11 добавлений и 1 удалений

Просмотреть файл

@ -47,7 +47,7 @@
var _elementIDs = ["browserGoBrowsingEnabled", "browserAutoCompleteEnabled",
"browserUrlbarAutoFill", "browserUrlbarShowPopup", "browserUrlbarShowSearch",
"browserUrlbarMatchOnlyTyped"];
"browserUrlbarMatchOnlyTyped", "domainGuessingEnabled"];
]]>
</script>
@ -86,4 +86,12 @@
prefstring="browser.urlbar.matchOnlyTyped"/>
</hbox>
</groupbox>
<groupbox>
<caption label="&domainGuessingHeader.label;"/>
<checkbox id="domainGuessingEnabled"
label="&domainGuessingEnabled.label;"
prefstring="browser.fixup.alternate.enabled"/>
</groupbox>
</page>

Просмотреть файл

@ -25,3 +25,5 @@
<!ENTITY autoCompleteMatchOnlyTyped.label "Match only websites you've typed previously">
<!ENTITY autocompletePreview.label "Preview">
<!ENTITY domainGuessingHeader.label "Domain Guessing">
<!ENTITY domainGuessingEnabled.label "Automatically add &quot;www.&quot; and &quot;.com&quot; to the location if a web page isn't found.">