Add more search engines to the web browser [released]

Please allow to/add more search engines to the web browser, for example, DuckDuckGo. Current options are Yandex, Google, Bing and Yahoo. Ironically, Yahoo does not recognize the web browser as mobile device.

Update:There is a slightly related question: https://together.jolla.com/question/627/browser-support-for-custom-search-engines/ (by jukey)

Update: Specificaly, check below request to support DuckDuckgo by default.

edit retag reopen delete

The question has been closed for the following reason "released in a software update"by nthn close date 2017-03-06 13:02:23.569354

49

DuckDuckGo, Ixquick and Startpage would be quite nice. I think many users decided for Jolla to get rid of Microsoft and/or Google.

( 2013-12-28 21:55:13 +0300 )edit
33

Adding DuckDuckGo as the default search engine would be a great option!

( 2013-12-29 01:31:55 +0300 )edit
3

I also vote for other more "private" choices of Sailfish browser search engines like Startpage search. Startpage is an anonymous way of using Google search engine

( 2013-12-29 13:29:26 +0300 )edit
10

I'd like to use DuckDuckGo also. Customisable search engines would be great of course. Personally I wouldn't mind editing configuration files but didn't find those configurations, if such exists.

( 2013-12-29 18:56:13 +0300 )edit
18

Adding DuckDuckGo should be trivial and it's already doable manually now (see http://talk.maemo.org/showthread.php?p=1401851). Having it listed in the stock system would be helpful.

( 2013-12-29 19:05:04 +0300 )edit

Sort by » oldest newest most voted

Looks like it's just needed to copy the .xml file for the search provider into /usr/lib/mozembedlite/chrome/embedlite/content/

I copied in duckduckgo.xml:

[nemo@Jolla tmp]# cd /tmp
[nemo@Jolla tmp]# curl -O https://duckduckgo.com/opensearch.xml
[nemo@Jolla tmp]# devel-su cp -vi opensearch.xml /usr/lib/mozembedlite/chrome/embedlite/content/duckduckgo.xml


Then the folder looks like this:

[root@Jolla nemo]# ls -l /usr/lib/mozembedlite/chrome/embedlite/content/
total 180
-rw-r--r-- 1 root root  2857 2014-09-25 20:54 bing.xml
-rw-r--r-- 1 root root 11589 2014-09-25 20:54 ContextMenuHandler.js
-rw-r--r-- 1 root root 10328 2014-10-23 07:17 duckduckgo.xml
-rw-r--r-- 1 root root 40183 2014-09-25 20:54 embedhelper.js
-rw-r--r-- 1 root root  2947 2014-09-25 20:54 google.xml
-rw-r--r-- 1 root root  5454 2014-09-25 20:54 SelectAsyncHelper.js
-rw-r--r-- 1 root root 10693 2014-09-25 20:54 SelectHelper.js
-rw-r--r-- 1 root root 54250 2014-09-25 20:54 SelectionHandler.js
drwxr-xr-x 1 root root    24 2014-10-22 20:46 sync
-rw-r--r-- 1 root root  3512 2014-09-25 20:54 TelURIParser.jsm
-rw-r--r-- 1 root root 14925 2014-09-25 20:54 Util.js
-rw-r--r-- 1 root root  5814 2014-09-25 20:54 yahoo.xml
-rw-r--r-- 1 root root  2568 2014-09-25 20:54 yandex.xml
[root@Jolla nemo]#


And after this it is possible to choose DuckDuckGo in the settings app, and it works in the web browser when searching.

Great work Jolla !

more

2

I just found that I already had a duckduckgo.xml in that directory, but I can not remember putting it there. There is also a yandex.xml, I can not choose any of those but google/bing/yahoo. What is the clue here? Why does it work for you and not us?

( 2014-10-23 12:57:17 +0300 )edit
1

thank you sunkan for sharing this information! :) maybe it has something to do with the uitukka update?

( 2014-10-27 08:38:04 +0300 )edit
1

It works perfectly (tested on Uitukka). Just wait for some time to be taken into account and then it will show up in settings. Thank you Sunkan!

( 2014-12-04 10:23:32 +0300 )edit
1

The XML you have to copy is this one for DDG https://duckduckgo.com/opensearch.xml

( 2014-12-13 12:35:39 +0300 )edit

Works on 1.1.1.27. Thanks!

( 2014-12-24 13:03:38 +0300 )edit

Here a Startpage plugin (mobile search in German, you have to replace the term "deutsch" at the end of the file with the respective term for your language, if you want to use another language). How to install the plugin is described here: http://talk.maemo.org/showthread.php?t=92129, you just have to replace "DuckDockGo" with "Startpage" in the HowTo. (Remark I haven't tested with 1.0.3.8, just with the previous version).

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/"><os:ShortName>Startpage</os:ShortName><os:Description>Startpage HTTPS - Search Engine</os:Description><os:InputEncoding>UTF-8</os:InputEncoding><os:Image width="16" height="16">data:image/x-icon;base64,iVBORw0K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F9e8P0TNZJZuocm5wC8qCBNDOw8J5zRAM9iU8uLxEV7uiXggNC/3zExYtnsuRXRUe3r+ZZScOI8Dxza8hARLv4Nh4BODxAU1Xu+Krs4HhDwoOfuebwbTQSLv5fFuFa3esJEZwXvAC2nrU0XOBfEZYWk44Nu5RwPxOxdbVmvNTkbFaRBTYtJvPtlYoZmVgBGkXpU3RzO5YLTBWCzxxv2bHmqb/8anIc59abJBWN6DR0Q3SnAkFaGflXxGGGOGHi5EfJwJfVD3TRogo8JC0eCq2yAmoh96ciS78U1VQqP9VWCGAukmgrV3x1wBv2UoM054LiwAAAABJRU5ErkJggg==</os:Image><os:Url type="text/html" method="GET" template="https://startpage.com/do/m/mobilesearch?language=deutsch&amp;cat=web&amp;query={searchTerms}"></os:Url></SearchPlugin>

more

Thanks, very nice!

( 2014-02-07 11:13:11 +0300 )edit

Unfortunately that doesen't work for me. I tried two different ways:

1. I substituded the bing.xml by the content of the startpage.xml above. As result now every time google is used as search enging (before bing was working well).

2. I created a file called Startpagecom.xml from the snipped above. Then I cahanged the browser.qml as described in t.m.o thread. I am able to select a different search engine but it does not work for startpage.com. Can someone please upload his/her working browser.qml and startpage.xml file and share? Thanks :)

However I tried the same as described for DuckDuckGo and itz works fine. So I assume the file-content for startpage.com above contains a problem, @jorg

( 2014-05-19 11:03:25 +0300 )edit

@jukey: I'll check it out. But I sent in my Jolla for repair and haven't gotten it back, so it will take a couple of days.

( 2014-05-19 15:21:39 +0300 )edit

@jukey: I had similar symptoms when I played around. I did not change the short name tag os:shortName to the name in the QML file. After fixing this issue my alternative search providers work like a charm.

( 2014-05-19 19:11:03 +0300 )edit

Thanks to @coderus who obliged and promptly heeded my request to build a package for few more search engines. Baidu, DuckDuckGo, StartPage search engines for Sailfish Browser: https://openrepos.net/content/coderus/search-engines-sailfish-browser

Usual caveat -> Try it at your own risk.

more

1

Amazing! One wonders why Jolla can't give us that choice... StartPage and DuckDuckGo are a must have on Sailfish OS browser.

( 2015-06-02 15:57:55 +0300 )edit

Just for the reference, the original and updated DuckDuckGo search plugin XML can be found here: https://duckduckgo.com/opensearch.xml

more

2

This is not for the common user... gggrrrrhhhh!

( 2014-06-20 17:53:48 +0300 )edit
3

Yes... This could be great if we could add any search engine by entering an opensearch URL and manage this as a list, just like in Firefox.

( 2014-10-19 21:41:22 +0300 )edit

I managed to add ixquick.com as possible search engine by using the method described in the link above.

The complicated step was to get the correct search term. So I used searchplugins.net. I then modified the duckduckgo.xml from the maemo forum.

Here is my ixquick.xml

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/"><os:ShortName>ixquick</os:ShortName><os:Description>Search ixquick (SSL)</os:Description><os:InputEncoding>UTF-8</os:InputEncoding><os:Image height="16" width="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAo1JREFUOE9VkVlv00AURgcBogUJiR8PLyAWUYFoQbxUlUJTIWhVUaX7kqRbnKW2azdNnNZLbI99uHaIaC19Hs3Md89d5sFVCIlWKk2UUo+UilKlZKtmZ5UKIqVmZpQiU+qhnD1EqSfiGfs36tnTWfXi+WOl2k7CoTFi+3TAruFTOw/YMCK2TFhrRayeBtR6KavNa7ZaHvvtazbrbTruLcMwR7leTtMYctQaUu/57HYCdrtjdkzNn/aYWiemcY2AR9StkKOeR7PbZziGQIPypYXzTh/DvKXtjGmaYrLGAgnZs1IOnZyGk9F0Uhp2yGbTwhzG9IMcYaAyoRiGzaUbcjVMMfuaCw9OL2NMX+AD2JYKe7dwbPv8rDXoS9K2c0NcAMa3EbWNbY72jzk56XLWvqInk212PGwJOrEjNuoWxnXCuRNQWd3C9mLa9nACuOr2mJ/7xJePn/k6/51qdY3N3WOWf21RO2hRXd/nh6iyvkOj4zK/uML6Tr0EhJkA0pHHwof3vH35inev37C0WGF755BKdZW12gELErAiwXPfljgz+7JfZnHlN4MgncxA33h4lsnAusAfDHAtm4ODI/b26xhdG9P16Im6zpDO5aBcrcGIvh8xijUKnZKHMq0oAK1Jwgj30sF1+wRhQpTmhCmlbpIMPxbpnESylzNASyPZXcnlOCZNBSyGQvJQpYRRqgie7pUWM5nYCmeqyeKETNY8z4WbofPsHigRXyxvH0tMIndKS1lTRxGokyLH5NPSUiHJUO4FWVoF+y9EANMyy1V+RTf3AYmcTyHFZQH5L1X2IoF3CinHUmQuWsi0dFwCiplIe3lcajoRVRQcF32Jp7CVJZaVTEuZZJ0GTAGTd0j5C8KinKaTkuNJAAAAAElFTkSuQmCC</os:Image><os:Url type="text/html" method="GET" template="https://www.ixquick.com/do/search?q={searchTerms}"></os:Url></SearchPlugin>


Finally I changed the browser.qml file, by replacing "duckduckgo" with "ixquick". I had to change the default search engine to google and the back to ixquick to get it working.

more

I think, the best way is to make search plug-ins list easily editable by user (just the way it can be done now, for example, in Opera browser). No matter how many search engines Jolla (or any 3rd party patches) would add to browser, there always be something missed by somebody.

more

Data under '/usr/lib/mozembedlite/chrome/embedlite/content/' should not be modified by third party developers. I have updated sailfish browser to scan for search descriptors in '/home/nemo/.local/share/org.sailfishos/sailfish-browser/opensearch' directory (https://github.com/sailfishos/sailfish-browser/pull/318). Once these changes are shipped to devices, third party developers should install search descriptors under '/home/nemo/.local/share/org.sailfishos/sailfish-browser/opensearch' instead of '/usr/lib/mozembedlite/chrome/embedlite/content/'.

more

I'm using Sailfish OS Björnträsket/1.1.7.28 and discovered the directory '/home/nemo/.mozilla/mozembed/searchplugins/'. In which way is this extensible?

( 2015-09-12 13:26:46 +0300 )edit

There's an error in this comment - the directory added by that commit is '/home/nemo/.local/share/org.sailfishos/sailfish-browser/searchEngines/', not '.../opensearch'.

That path is constructed with three very different ideas of proper capitalisation... Hint: CamelCaseIsAlwaysWrongBecauseItIsHardToReadAndJustBecauseSomeoneElseUsedItDoesntMakeItOK, whereas_using_underscores_is_much_better_because_it_is_easy_to_read

( 2018-06-08 21:08:46 +0300 )edit

Looks like it is not happening. #PrivacyMatters should translate to product features :)

https://github.com/sailfishos/sailfish-browser/pull/139

Closing as search engines are supposed to be installed by means of 3d-party packages.

more

Web Pirate, an excellent browser available in the Jolla store, does support DuckDuckGo. The browser also contains an adblocker. These features can be considered basics, so please add them to the native Jolla browser.

more