Skip to content

Commit

Permalink
Information for GoToIntranetSiteForSingleWordEntryInAddressBar
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaply committed Aug 25, 2022
1 parent 3c80dde commit 7de22da
Show file tree
Hide file tree
Showing 11 changed files with 91 additions and 1 deletion.
46 changes: 46 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Policies can be specified using the [Group Policy templates on Windows](https://
| **[`ExtensionUpdate`](#extensionupdate)** | Control extension updates.
| **[`FirefoxHome`](#firefoxhome)** | Customize the Firefox Home page.
| **[`FlashPlugin (Deprecated)`](#flashplugin-deprecated)** | Configure the default Flash plugin policy as well as origins for which Flash is allowed.
| **[`GoToIntranetSiteForSingleWordEntryInAddressBar`](#gotointranetsiteforsinglewordentryinaddressbar)** | Force direct intranet site navigation instead of searching when typing single word entries in the address bar.
| **[`Handlers`](#handlers)** | Configure default application handlers.
| **[`HardwareAcceleration`](#hardwareacceleration)** | Control hardware acceleration.
| **[`Homepage`](#homepage)** | Configure the default homepage and how Firefox starts.
Expand Down Expand Up @@ -2911,6 +2912,51 @@ Value (string):
}
}
```
### GoToIntranetSiteForSingleWordEntryInAddressBar
Whether to always go through the DNS server before sending a single word search string to a search engine.

If the site exists, it will navigate to the website. If the intranet responds with a 404, the page will show a 404. If the intranet does not respond, the browser will either attempt to search the term.

The second result in the URL bar will be a search result to allow users to conduct a web search exactly as it was entered.

If instead you would like to enable the ability to have your domain appear as a valid URL and to disallow the browser from ever searching that term using the first result that matches it, add the pref `browser.fixup.domainwhitelist.YOUR_DOMAIN` (where `YOUR_DOMAIN` is the name of the domain you'd like to add), and set the pref to `true`. The URL bar will then suggest `YOUR_DOMAIN` when the user fully types `YOUR_DOMAIN`. If the user attempts to load that domain and it fails to load, it will show an "Unable to connect" error page.

You can also whitelist a domain suffix that is not part of the [Public Suffix List](https://publicsuffix.org/) by adding the pref `browser.fixup.domainsuffixwhitelist.YOUR_DOMAIN_SUFFIX` with a value of `true`.

Additionally, if you want users to see a "Did you mean to go to 'YOUR_DOMAIN'" prompt below the URL bar if they land on a search results page instead of an intranet domain that provides a response, set the pref `browser.urlbar.dnsResolveSingleWordsAfterSearch` to `1`. Enabling this will cause the browser to commit a DNS check after every single word search. If the browser receives a response from the intranet, a prompt will ask the user if they'd like to instead navigate to `YOUR_DOMAIN`. If the user presses the **yes** button, `browser.fixup.domainwhitelist.YOUR_DOMAIN` will be set to `true`.

**Compatibility:** Firefox 104, Firefox ESR 102.2\
**CCK2 Equivalent:** `N/A`\
**Preferences Affected:** `browser.fixup.dns_first_for_single_words`

#### Windows (GPO)
```
Software\Policies\Mozilla\Firefox\GoToIntranetSiteForSingleWordEntryInAddressBar = 0x1 | 0x0
```
#### Windows (Intune)
OMA-URI:
```
./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/GoToIntranetSiteForSingleWordEntryInAddressBar
```
Value (string):
```
<enabled/> or <disabled/>
```
#### macOS
```
<dict>
<key>GoToIntranetSiteForSingleWordEntryInAddressBar</key>
<true/> | <false/>
</dict>
```
#### policies.json
```
{
"policies": {
"GoToIntranetSiteForSingleWordEntryInAddressBar": true | false
}
}
```
### Handlers
Configure default application handlers. This policy is based on the internal format of `handlers.json`.

Expand Down
2 changes: 2 additions & 0 deletions mac/org.mozilla.firefox.plist
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@
<key>Locked</key>
<true/>
</dict>
<key>GoToIntranetSiteForSingleWordEntryInAddressBar</key>
<true/>
<key>Handlers</key>
<dict>
<key>mimeTypes</key>
Expand Down
4 changes: 4 additions & 0 deletions windows/de-DE/firefox.adml
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,10 @@ Ausführliche Informationen zur Erstellung der Richtlinie finden Sie unter https
<string id="StartDownloadsInTempDirectory_Explain">Wenn diese Richtlinieneinstellung aktiviert ist, startet Firefox Downloads in einem temporären Verzeichnis und löscht sie automatisch, wenn der Browser geschlossen wird.

Wenn diese Richtlinieneinstellung deaktiviert oder nicht konfiguriert ist, startet Firefox Downloads im Download-Ordner und sie werden nicht automatisch gelöscht, wenn der Browser geschlossen wird.</string>
<string id="GoToIntranetSiteForSingleWordEntryInAddressBar">Force direct intranet site navigation on single word entries in the address bar</string>
<string id="GoToIntranetSiteForSingleWordEntryInAddressBar_Explain">If this policy is enabled, typing single word entries in the address bar will attempt to navigate to intranet sites first, falling back to search if the DNS request fails.

If this policy is disabled or not configured, typing single word entries in the address bar will search.</string>
<string id="Preferences_Boolean_Explain">Wenn diese Richtlinieneinstellung aktiviert ist, ist die Einstellung auf true gesperrt. Wenn diese Richtlinieneinstellung deaktiviert ist, ist die Einstellung auf false gesperrt.

Für eine Beschreibung der Einstellung, siehe:
Expand Down
4 changes: 4 additions & 0 deletions windows/en-US/firefox.adml
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,10 @@ For detailed information on creating the policy, see https://github.com/mozilla/
<string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.

If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
<string id="GoToIntranetSiteForSingleWordEntryInAddressBar">Force direct intranet site navigation on single word entries in the address bar</string>
<string id="GoToIntranetSiteForSingleWordEntryInAddressBar_Explain">If this policy is enabled, typing single word entries in the address bar will attempt to navigate to intranet sites first, falling back to search if the DNS request fails.

If this policy is disabled or not configured, typing single word entries in the address bar will search.</string>
<string id="Preferences_Boolean_Explain">If this policy is enabled, the preference is locked to true. If this policy is disabled, the preference is locked to false.

For a description of the preference, see:
Expand Down
4 changes: 4 additions & 0 deletions windows/es-ES/firefox.adml
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,10 @@ For detailed information on creating the policy, see https://github.com/mozilla/
<string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.

If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
<string id="GoToIntranetSiteForSingleWordEntryInAddressBar">Force direct intranet site navigation on single word entries in the address bar</string>
<string id="GoToIntranetSiteForSingleWordEntryInAddressBar_Explain">If this policy is enabled, typing single word entries in the address bar will attempt to navigate to intranet sites first, falling back to search if the DNS request fails.

If this policy is disabled or not configured, typing single word entries in the address bar will search.</string>
<string id="Preferences_Boolean_Explain">Si esta política está habilitada, la preferencia se bloquea en true. Si esta política está deshabilitada, la preferencia está bloqueada en false.

Para una descripción de la preferencia, visita:
Expand Down
12 changes: 11 additions & 1 deletion windows/firefox.admx
Original file line number Diff line number Diff line change
Expand Up @@ -3873,7 +3873,17 @@
</policy>
<policy name="StartDownloadsInTempDirectory" class="Both" displayName="$(string.StartDownloadsInTempDirectory)" explainText="$(string.StartDownloadsInTempDirectory_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="StartDownloadsInTempDirectory">
<parentCategory ref="firefox"/>
<supportedOn ref="SUPPORTED_FF102"/>
<supportedOn ref="SUPPORTED_FF104"/>
<enabledValue>
<decimal value="1"/>
</enabledValue>
<disabledValue>
<decimal value="0"/>
</disabledValue>
</policy>
<policy name="GoToIntranetSiteForSingleWordEntryInAddressBar" class="Both" displayName="$(string.GoToIntranetSiteForSingleWordEntryInAddressBar)" explainText="$(string.GoToIntranetSiteForSingleWordEntryInAddressBar_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="GoToIntranetSiteForSingleWordEntryInAddressBar">
<parentCategory ref="firefox"/>
<supportedOn ref="SUPPORTED_FF104"/>
<enabledValue>
<decimal value="1"/>
</enabledValue>
Expand Down
4 changes: 4 additions & 0 deletions windows/fr-FR/firefox.adml
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,10 @@ For detailed information on creating the policy, see https://github.com/mozilla/
<string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.

If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
<string id="GoToIntranetSiteForSingleWordEntryInAddressBar">Force direct intranet site navigation on single word entries in the address bar</string>
<string id="GoToIntranetSiteForSingleWordEntryInAddressBar_Explain">If this policy is enabled, typing single word entries in the address bar will attempt to navigate to intranet sites first, falling back to search if the DNS request fails.

If this policy is disabled or not configured, typing single word entries in the address bar will search.</string>
<string id="Preferences_Boolean_Explain">Si cette stratégie est activée, la préférence est verrouillée sur true. Si cette stratégie est désactivée, la préférence est verrouillée sur false.

Pour une description de la préférence, voir:
Expand Down
4 changes: 4 additions & 0 deletions windows/it-IT/firefox.adml
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,10 @@ For detailed information on creating the policy, see https://github.com/mozilla/
<string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.

If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
<string id="GoToIntranetSiteForSingleWordEntryInAddressBar">Force direct intranet site navigation on single word entries in the address bar</string>
<string id="GoToIntranetSiteForSingleWordEntryInAddressBar_Explain">If this policy is enabled, typing single word entries in the address bar will attempt to navigate to intranet sites first, falling back to search if the DNS request fails.

If this policy is disabled or not configured, typing single word entries in the address bar will search.</string>
<string id="Preferences_Boolean_Explain">Se questo criterio è abilitato, la preferenza è impostata a Vero e resa non modificabile. Se questo criterio è disabilitato, la preferenza è impostata a Falso e resa non modificabile.

Per una descrizione della preferenza, si veda:
Expand Down
4 changes: 4 additions & 0 deletions windows/ru-RU/firefox.adml
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,10 @@ For detailed information on creating the policy, see https://github.com/mozilla/
<string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.

If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
<string id="GoToIntranetSiteForSingleWordEntryInAddressBar">Force direct intranet site navigation on single word entries in the address bar</string>
<string id="GoToIntranetSiteForSingleWordEntryInAddressBar_Explain">If this policy is enabled, typing single word entries in the address bar will attempt to navigate to intranet sites first, falling back to search if the DNS request fails.

If this policy is disabled or not configured, typing single word entries in the address bar will search.</string>
<string id="Preferences_Boolean_Explain"> Если эта политика включена, предпочтение заблокировано на true. Если эта политика отключена, предпочтение заблокировано на false.

Описание предпочтения см .:
Expand Down
4 changes: 4 additions & 0 deletions windows/zh-CN/firefox.adml
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,10 @@ For detailed information on creating the policy, see https://github.com/mozilla/
<string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.

If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
<string id="GoToIntranetSiteForSingleWordEntryInAddressBar">Force direct intranet site navigation on single word entries in the address bar</string>
<string id="GoToIntranetSiteForSingleWordEntryInAddressBar_Explain">If this policy is enabled, typing single word entries in the address bar will attempt to navigate to intranet sites first, falling back to search if the DNS request fails.

If this policy is disabled or not configured, typing single word entries in the address bar will search.</string>
<string id="Preferences_Boolean_Explain">若启用此原则,偏好设定将锁定为 true。 若禁用此原则,偏好设定则锁定为false。

若需要偏好设置的详细说明,请参考:
Expand Down
4 changes: 4 additions & 0 deletions windows/zh-TW/firefox.adml
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,10 @@ For detailed information on creating the policy, see https://github.com/mozilla/
<string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.

If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
<string id="GoToIntranetSiteForSingleWordEntryInAddressBar">Force direct intranet site navigation on single word entries in the address bar</string>
<string id="GoToIntranetSiteForSingleWordEntryInAddressBar_Explain">If this policy is enabled, typing single word entries in the address bar will attempt to navigate to intranet sites first, falling back to search if the DNS request fails.

If this policy is disabled or not configured, typing single word entries in the address bar will search.</string>
<string id="Preferences_Boolean_Explain">若啟用此原則,偏好設定將鎖定為 true。若停用此原則,偏好設定則鎖定為 false。

若需要偏好設定的詳細說明,請參考:
Expand Down

0 comments on commit 7de22da

Please sign in to comment.