<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Firefox mistakenly performs search instead of opening web page after editing URL in Discussions</title>
    <link>https://connect.mozilla.org/t5/discussions/firefox-mistakenly-performs-search-instead-of-opening-web-page/m-p/56255#M19771</link>
    <description>&lt;P&gt;I still think that there is a bug that needs fixing. This is just a workaround.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2024 06:52:23 GMT</pubDate>
    <dc:creator>szx</dc:creator>
    <dc:date>2024-04-30T06:52:23Z</dc:date>
    <item>
      <title>Firefox mistakenly performs search instead of opening web page after editing URL</title>
      <link>https://connect.mozilla.org/t5/discussions/firefox-mistakenly-performs-search-instead-of-opening-web-page/m-p/56251#M19769</link>
      <description>&lt;P&gt;Because the "http:" part is now hidden in the address bar when you edit URL, it creates a problem under some circumstances. For example:&lt;/P&gt;&lt;P&gt;1. Open a page like &lt;A href="http://computername/subpath/" target="_blank" rel="noopener"&gt;http://computername/subpath/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. Edit the URL and delete the trailing slash (notice the "http://" part is not there)&lt;/P&gt;&lt;P&gt;3. Hit Enter&lt;/P&gt;&lt;P&gt;Expected result:&lt;/P&gt;&lt;P&gt;Firefox opens &lt;A href="http://computername/subpath" target="_blank" rel="noopener"&gt;http://computername/subpath&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Actual result:&lt;/P&gt;&lt;P&gt;Firefox submits computername/subpath to the search engine&lt;/P&gt;&lt;P&gt;This is probably not an issue for a regular user, but it's sort of annoying for web developers as they are the people who want control over the URL without the hiding of protocols. I think there should be an option to turn this off.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 06:21:34 GMT</pubDate>
      <guid>https://connect.mozilla.org/t5/discussions/firefox-mistakenly-performs-search-instead-of-opening-web-page/m-p/56251#M19769</guid>
      <dc:creator>szx</dc:creator>
      <dc:date>2024-04-30T06:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Firefox mistakenly performs search instead of opening web page after editing URL</title>
      <link>https://connect.mozilla.org/t5/discussions/firefox-mistakenly-performs-search-instead-of-opening-web-page/m-p/56253#M19770</link>
      <description>&lt;P&gt;Found a config entry to turn this off:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;browser.urlbar.trimURLs = false&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Source: &lt;A href="https://superuser.com/questions/341499/how-to-prevent-firefox-from-hiding-the-http-url-prefix" target="_blank"&gt;https://superuser.com/questions/341499/how-to-prevent-firefox-from-hiding-the-http-url-prefix&lt;/A&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 06:24:00 GMT</pubDate>
      <guid>https://connect.mozilla.org/t5/discussions/firefox-mistakenly-performs-search-instead-of-opening-web-page/m-p/56253#M19770</guid>
      <dc:creator>szx</dc:creator>
      <dc:date>2024-04-30T06:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Firefox mistakenly performs search instead of opening web page after editing URL</title>
      <link>https://connect.mozilla.org/t5/discussions/firefox-mistakenly-performs-search-instead-of-opening-web-page/m-p/56255#M19771</link>
      <description>&lt;P&gt;I still think that there is a bug that needs fixing. This is just a workaround.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 06:52:23 GMT</pubDate>
      <guid>https://connect.mozilla.org/t5/discussions/firefox-mistakenly-performs-search-instead-of-opening-web-page/m-p/56255#M19771</guid>
      <dc:creator>szx</dc:creator>
      <dc:date>2024-04-30T06:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Firefox mistakenly performs search instead of opening web page after editing URL</title>
      <link>https://connect.mozilla.org/t5/discussions/firefox-mistakenly-performs-search-instead-of-opening-web-page/m-p/56264#M19775</link>
      <description>&lt;P&gt;Here's how it is designed to work when you enter &lt;EM&gt;hostname/path&lt;/EM&gt; in the address bar:&lt;/P&gt;&lt;P&gt;If &lt;EM&gt;hostname&lt;/EM&gt; is a dotted host name on an ICANN-registered domain, such as "example.com", or a recognized host like localhost, Firefox doesn't require either a protocol or a trailing slash. "Visit" will appear on the top line of the address bar autocomplete drop-down.&lt;/P&gt;&lt;P&gt;If&amp;nbsp;&lt;EM&gt;hostname&lt;/EM&gt; isn't recognized as a valid host name, then Firefox defaults to searching it instead of looking it up as a domain name. After the search results are displayed, Firefox does a domain lookup in the background and shows a bar above the results page asking if you meant to visit &lt;EM&gt;hostname&lt;/EM&gt; -- selecting Yes adds a preference (visible/editable in about:config) to treat &lt;EM&gt;hostname&lt;/EM&gt; as a valid host name in the future.&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;If you don't want to add a trailing slash and you don't see or don't want to use the post-search prompt to create the preference, you can manually create individual preferences by hand. Here's how:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(A)&lt;/EM&gt; In a new tab, type or paste &lt;STRONG&gt;about:config&lt;/STRONG&gt; in the address bar and press Enter/Return. Click the button accepting the risk.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;More info on about:config:&lt;/EM&gt; &lt;A href="https://support.mozilla.org/kb/about-config-editor-firefox" target="_blank"&gt;Configuration Editor for Firefox&lt;/A&gt;. &lt;EM&gt;Please keep in mind that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Scenario 1: hostname exception (manual version of the automated feature)&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;As an example, let's say your &lt;EM&gt;hostname&lt;/EM&gt; is "accounting-west"&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(B)&lt;/EM&gt; In the search box in the page, type or paste&amp;nbsp;&lt;STRONG&gt;browser.fixup.domainwhitelist.accounting-west&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Firefox should display a bar with &lt;/EM&gt;Boolean Number String&lt;EM&gt; and a plus button.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(C)&lt;/EM&gt; Keep the selection on Boolean and click the plus button to create a new preference. If Firefox doesn't automatically set the new preference to true, double-click the preference to switch the value from false to true.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Test: enter&lt;/EM&gt; accounting-west/quarterly &lt;EM&gt;into the address bar and Firefox should show "Visit" in the top line of the address bar autocomplete drop-down.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Scenario 2: top level domain exception&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Some companies/developers use non-standard TLDs such as ".asdf" for internal servers. To cover all current/future .asdf addresses:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(D)&lt;/EM&gt; In the search box in the page, type or paste &lt;STRONG&gt;browser.fixup.domainsuffixwhitelist.asdf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Firefox should display a bar with &lt;/EM&gt;Boolean Number String&lt;EM&gt; and a plus button.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(E)&lt;/EM&gt; Keep the selection on Boolean and click the plus button to create a new preference. If Firefox doesn't automatically set the new preference to true, double-click the preference to switch the value from false to true.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Test: enter&lt;/EM&gt; example.asdf/about &lt;EM&gt;into the address bar and Firefox should show "Visit" in the top line of the address bar autocomplete drop-down.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;You certainly could say this is not the privacy-maximizing behavior, since it arguably is less revealing to send your input to a DNS lookup than to your default search engine provider. However, this order of operations was adopted quite a long time ago to deliver faster results for searches. To reduce searches, you can toggle &lt;STRONG&gt;browser.fixup.dns_first_for_single_words&lt;/STRONG&gt; to true in about:config. (This assumes your DNS server is honest and doesn't send a paid results page when a domain isn't found, like AT&amp;amp;T does.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 15:29:13 GMT</pubDate>
      <guid>https://connect.mozilla.org/t5/discussions/firefox-mistakenly-performs-search-instead-of-opening-web-page/m-p/56264#M19775</guid>
      <dc:creator>jscher2000</dc:creator>
      <dc:date>2024-04-30T15:29:13Z</dc:date>
    </item>
  </channel>
</rss>

