Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

How to get get real, custom search engines on Firefox Mobile

  • 2 trả lời
  • 1 gặp vấn đề này
  • 8 lượt xem
  • Trả lời mới nhất được viết bởi nrabett

more options

So, I have been trying for some time to get my own, favorite search engines into the Firefox Mobile search bar. I finally found a rather complicated workaround:

Get a free account at www.shortmarks.com - use your spam-only Gmail address or similar.

Manually create a search plugin for Shortmarks.com and place it in the "searchplugins" folder of Firefox Mobile. On my Android phone, the folder is in

/mnt/sdcard/Android/data/org.mozilla.firefox/files/mozilla/XXXXXXXX.default/

Create the search plugin as an .xml file with the following text:

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/"> <os:ShortName>Shortmarks</os:ShortName> <os:Description>ShortMarks</os:Description> <os:InputEncoding>UTF-8</os:InputEncoding> <os:Image width="16" height="16">data:image/gif;base64,R0lGODlhEAAQAOZYAAAAAAcAAHsAAO0AAOkAADAAACQAANYFBfAAAMUAACoAABMAALsAANMAAEYAAC0AAKgAANsAAC8AANQAALYAAHoAAN4AAMMAAAIAAKUAANEAAH0AAMsAANcAABcAAHkAAFIAAOoAAGgAAHQAAOEAADsAAH8AAF0AAGkAAOQAAE0AAE4AAOYAAGcAAO4AAIsAAB4AAF8AAOUAAGIAAGAAAFAAAJgAAAYAAIEAAD4AAMgAAJ4AACYAAMwAABEAAMEAANYAAC4AAJ8AAN8AADQAAHcAAPQAAOwAAJQAAOMAAN0AAFwAADoAANgAAIIAAB8AAEEAAD8AAAwAAFMAACsAABwAAFQAADkAAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAHoA1gALAAAAAAQABAAAAebgFiCg4SFhoeIiYMAjI0BjYyPjAIDBAUGBwgJCgALDAgNDgAPEBESExQVFhcYGRobHB0eAB8RICEiACMkJQgmAA4EJwAVESgpKgArLC0uLwAwCCPEETEyMwA0KTUINgASCCg3OBE5Ojs8Oj0+P0BBQkNERUZDR0hJIUpLAExNLDJOADyBEgWKFAVTqDSqYuUKpIcQGymaSLGioEAAOw==</os:Image> <os:Url type="text/html" method="GET" template="http://shortmarks.com/s.php?q={searchTerms}"> </os:Url><os:Url type="application/x-suggestions+json" method="GET" template="http://www.keywordssuggest.com/complete/search?output=firefox&client=firefox&qu={searchTerms}"> </os:Url> </SearchPlugin>

... and place the file in the searchplugins folder.

After this, you can create your custom searches with shortcuts on www.shortmarks.com, and use them directly from the address bar.

So...: Is there an easier way of doing this?

nrabett

So, I have been trying for some time to get my own, favorite search engines into the Firefox Mobile search bar. I finally found a rather complicated workaround: Get a free account at www.shortmarks.com - use your spam-only Gmail address or similar. Manually create a search plugin for Shortmarks.com and place it in the "searchplugins" folder of Firefox Mobile. On my Android phone, the folder is in /mnt/sdcard/Android/data/org.mozilla.firefox/files/mozilla/XXXXXXXX.default/ Create the search plugin as an .xml file with the following text: <SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/"> <os:ShortName>Shortmarks</os:ShortName> <os:Description>ShortMarks</os:Description> <os:InputEncoding>UTF-8</os:InputEncoding> <os:Image width="16" height="16">data:image/gif;base64,R0lGODlhEAAQAOZYAAAAAAcAAHsAAO0AAOkAADAAACQAANYFBfAAAMUAACoAABMAALsAANMAAEYAAC0AAKgAANsAAC8AANQAALYAAHoAAN4AAMMAAAIAAKUAANEAAH0AAMsAANcAABcAAHkAAFIAAOoAAGgAAHQAAOEAADsAAH8AAF0AAGkAAOQAAE0AAE4AAOYAAGcAAO4AAIsAAB4AAF8AAOUAAGIAAGAAAFAAAJgAAAYAAIEAAD4AAMgAAJ4AACYAAMwAABEAAMEAANYAAC4AAJ8AAN8AADQAAHcAAPQAAOwAAJQAAOMAAN0AAFwAADoAANgAAIIAAB8AAEEAAD8AAAwAAFMAACsAABwAAFQAADkAAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAHoA1gALAAAAAAQABAAAAebgFiCg4SFhoeIiYMAjI0BjYyPjAIDBAUGBwgJCgALDAgNDgAPEBESExQVFhcYGRobHB0eAB8RICEiACMkJQgmAA4EJwAVESgpKgArLC0uLwAwCCPEETEyMwA0KTUINgASCCg3OBE5Ojs8Oj0+P0BBQkNERUZDR0hJIUpLAExNLDJOADyBEgWKFAVTqDSqYuUKpIcQGymaSLGioEAAOw==</os:Image> <os:Url type="text/html" method="GET" template="http://shortmarks.com/s.php?q={searchTerms}"> </os:Url><os:Url type="application/x-suggestions+json" method="GET" template="http://www.keywordssuggest.com/complete/search?output=firefox&amp;client=firefox&amp;qu={searchTerms}"> </os:Url> </SearchPlugin> ... and place the file in the searchplugins folder. After this, you can create your custom searches with shortcuts on www.shortmarks.com, and use them directly from the address bar. So...: Is there an easier way of doing this? nrabett

Được chỉnh sửa bởi nrabett vào

Tất cả các câu trả lời (2)

more options

The mycroft site has an extensive database of search plugins http://mycroft.mozdev.org/

In addition you can find search plugins on addons.mozilla.org but they are mixed in with all the other extensions.

more options

The search plugins from addons.mozilla.com can be installed directly in Firefox mobile, but - to my knowledge - not the ones from Mycroft. The advantage of using the self-made Shortmark search plugin it that it allows adding any search engine - not only the ones from addons.mozilla.com. Furthermore, you can import all custom search engines from an existing Desktop Firefox version to Shortmark, and access them directly by using the familiar abbreviations in the Firefox Mobile search bar - e.g., gb for Google Book search.

The process of creating this very useful function would be far easier if www.shortmarks.com was added as a downloadable search plugin from addons.mozilla.com. As said, search plugins cannot be imported to Mobile Firefox directly from Mycroft.

Được chỉnh sửa bởi nrabett vào