為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How can I disable this address bar behavior?

more options

When ever I type into the address bar a search query beginning with "php " I end up querying php.net's web site, instead of my search engine. For example, if in the address bar I type: php pg_query_params site:stackoverflow.com, I'm immediately taken to the site: https://www.php.net/manual-lookup.php?pattern=pg_query_params+site%3Astackoverflow.com&lang=en&scope=404quickref

When ever I type into the address bar a search query beginning with "php " I end up querying php.net's web site, instead of my search engine. For example, if in the address bar I type: php pg_query_params site:stackoverflow.com, I'm immediately taken to the site: https://www.php.net/manual-lookup.php?pattern=pg_query_params+site%3Astackoverflow.com&lang=en&scope=404quickref

被選擇的解決方法

Most likely you have a "smart bookmark keyword" set up for some URL on php.net.

If you open the Library window ("Show All Bookmarks" or Command+Shift+b) and search for php.net in the little search box in the upper right, you can click each bookmark in turn and glance at the bottom of the screen to see whether any has php assigned as its keyword. And if that is more annoying than helpful, you can delete it or change it to something like pn that you would only type intentionally.

Was that it?

Ref. How to search IMDB, Wikipedia and more from the address bar

從原來的回覆中察看解決方案 👍 0

所有回覆 (6)

more options

when you are typing in the address bar, make sure that your search engine is selected, not the php website. You can change with arrows

more options

aldenchevez said

when you are typing in the address bar, make sure that your search engine is selected, not the php website. You can change with arrows

Thank you.

Okay, so I type in my query, and instead of using the default search engine I specified, it decides I must mean search using php.net's internal search engine, and so I have to manually override that? And this doesn't happen when i type in 'bing' or 'duckduckgo', why?

由 jacob.ian.lee 於 修改

more options

Hi jacob.ian.lee, at the moment before you submit the contents of the address bar, what does the top row of the drop-down say that Firefox will do?

The reason I ask that is it's possible to define keywords for search engines or bookmarks. Firefox should tell you in the top bar if it's going to do something different from sending the address bar contents to your default search engine.

more options

says " php.net: search terms"

more options

選擇的解決方法

Most likely you have a "smart bookmark keyword" set up for some URL on php.net.

If you open the Library window ("Show All Bookmarks" or Command+Shift+b) and search for php.net in the little search box in the upper right, you can click each bookmark in turn and glance at the bottom of the screen to see whether any has php assigned as its keyword. And if that is more annoying than helpful, you can delete it or change it to something like pn that you would only type intentionally.

Was that it?

Ref. How to search IMDB, Wikipedia and more from the address bar

由 jscher2000 - Support Volunteer 於 修改

more options

Thanks, jscher2000, it looks like I had once added a bookmark:

www.php.net/%s

Deleting the bookmark removing the (now) unwanted behavior.