搜尋 Mozilla 技術支援網站

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

Learn More

How can I modify the search code for a site I've added to the search bar?

  • 5 回覆
  • 2 有這個問題
  • 8 次檢視
  • 最近回覆由 Geoffrey

more options

I've added YourDictionary to my search bar. When I put in a word (e.g., minutiae) and press [Enter], the address bar shows, http://www.yourdictionary.com/search?ydQ=minutiae and, the default search word "search" is shown on the YourDictionary page which appears, not my desired search word. When I put in my desired word in the search field on YourDictionary's page, the address bar shows, http://www.yourdictionary.com/minutiae So, it appears that FF search bar is sending the wrong code. How can I customize what it sends to YourDictionary or any site I want to search. Thanks for a great browser.

I've added [http://www.yourdictionary.com/ YourDictionary] to my search bar. When I put in a word (e.g., minutiae) and press [Enter], the address bar shows, http://www.yourdictionary.com/search?ydQ=minutiae and, the default search word "search" is shown on the YourDictionary page which appears, ''not ''my desired search word. When I put in my desired word in the search field on YourDictionary's page, the address bar shows, http://www.yourdictionary.com/minutiae So, it appears that FF search bar is sending the wrong code. How can I customize what it sends to YourDictionary or any site I want to search. Thanks for a great browser.

被選擇的解決方法

That search plugin seems to be broken.

You can edit the yourdictionary.xml file in the searchplugins folder in the Firefox Profile Folder

You can use this button to go to the Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Open Containing Folder

Current template:

template="http://www.yourdictionary.com/search?ydQ={searchTerms}"

Change to:

template="http://www.yourdictionary.com/{searchTerms}"
從原來的回覆中察看解決方案 👍 1

所有回覆 (5)

more options

Did you install the search engine from the Mycroft Project site?

Or did you create a keyword bookmark by right-clicking the search field on that website?

more options

I clicked "Add YourDictionary.com" on the drop down menu in the search bar. I did a bit of searching in FireFox help on this. I've never heard of Mycroft Project Site. Unfortunately it seems to give the same result. Did I miss something? Right clicking allows me to add a keyword. I chose "y". When I type "y" space and then a word in the address bar, I get the desired result. I'd still like to have it in my search bar. Any more suggestions? Thanks again.

more options

選擇的解決方法

That search plugin seems to be broken.

You can edit the yourdictionary.xml file in the searchplugins folder in the Firefox Profile Folder

You can use this button to go to the Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Open Containing Folder

Current template:

template="http://www.yourdictionary.com/search?ydQ={searchTerms}"

Change to:

template="http://www.yourdictionary.com/{searchTerms}"
more options

Well, I thought that is what I was looking for. Thank you. Here's what I set:

<os:Url type="text/html" method="GET" template="http://www.yourdictionary.com/{searchTerms}"> </os:Url> </SearchPlugin>

And guess what, the behavior was the same. I was a bit confused.

I tried shutting down and restarting FireFox and then my computer. My tabs were saved. Still the same behavior. So, I kept the YourDictionary.xml on my clipboard, removed it from the search box, closed firefox, saved the xml to the search plugin subdirectory of the profile directory, closed my notepad, restarted firefox and . . . . tadaaaa it worked. Thank you!

more options

For some reason the old behavior came back. So I:

  1. open yourdictionary.xml in a text editor
  2. delete "search?ydQ="
  3. select all
  4. copy
  5. close yourdictionary.xml
  6. click the down arrow in the search box
  7. click manage search engines
  8. select yourdictionary
  9. click remove
  10. close all open your dictionary tabs
  11. close firefox
  12. open the text editor
  13. new file
  14. paste what I had previously copied
  15. save as yourdictionary.xml in the correct directory
  16. open Fire Fox and yourdictionary is in the search box.