Add Custom Search URL? Topic is solved
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Add Custom Search URL?
Good Day Community ,
I am trying to add DuckDuckGo Lite as a "custom" search engine. It doesn't use javascript and is why I want to set it as default. The URL one needs is as follows:
https://duckduckgo.com/lite/?t=palemoon&q=insert search term here
Can anyone help me with this? If I want to add a search engine, Pale Moon takes me to the Pale Moon website.
Thank You
I am trying to add DuckDuckGo Lite as a "custom" search engine. It doesn't use javascript and is why I want to set it as default. The URL one needs is as follows:
https://duckduckgo.com/lite/?t=palemoon&q=insert search term here
Can anyone help me with this? If I want to add a search engine, Pale Moon takes me to the Pale Moon website.
Thank You
Systemd Free - MX Linux, Antix Linux & Artix Linux
Re: Add Custom Search URL?
Click your link to navigate to DDG Lite, then go to the browser's Search box, hit the down arrow on the left, and near the bottom of the menu should be an option to "Add DuckDuckGo (Lite)".
a.k.a. Ascrod
Linux Mint 19.3 Cinnamon (64-bit), Debian Bullseye (64-bit), Windows 7 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story
Linux Mint 19.3 Cinnamon (64-bit), Debian Bullseye (64-bit), Windows 7 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story
Re: Add Custom Search URL?
Wow, it's that easy?! Thank You!Isengrim wrote:Click your link to navigate to DDG Lite, then go to the browser's Search box, hit the down arrow on the left, and near the bottom of the menu should be an option to "Add DuckDuckGo (Lite)".
I have added DuckDuckGo Lite Amazing!
Systemd Free - MX Linux, Antix Linux & Artix Linux
Re: Add Custom Search URL?
Mycroft Projects has DuckDuckGo Lite as a search plugin here: http://mycroftproject.com/search-engines.html?name=lite
Re: Add Custom Search URL?
The downside is that it won't count for searches for our project (since the t=palemoon is missing) which means no support through searches for the project.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Add Custom Search URL?
half true, they are tracking it in 2 different ways:Moonchild wrote:The downside is that it won't count for searches for our project (since the t=palemoon is missing) which means no support through searches for the project.
Code: Select all
...
<form action="/lite/" method="post">
<!-- <a rel="next" href="/lite/?q=blah&a=palemoon& ... {snip}
...
<input name="t" value="palemoon" type="hidden">
...
I was trying to get another querystring url search install, and I just happened to use the DDG Lite XML file as a basis. if a modified XML were stored in logically accessible place on a palemoon url, say at palemoon.org/opensearch/ddg-lite-qs.xml linked from palemoon.org/opensearch/ddg-lite.html with a blurb about why its there, then you have a 100% solution, that always starts DDG-lite a) with a query string, and b) with "t=palemoon" prepended.
actual modified xml:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>DuckDuckGo Lite QS</ShortName>
<Description>Search DuckDuckGo (Lite QS)</Description>
<InputEncoding>UTF-8</InputEncoding>
<LongName>DuckDuckGo Search (Lite, non-JS, QueryString)</LongName>
<Image height="16" width="16">data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAB8lBMVEUAAADkRQzjPwPjQQXkRQ3iPwTiQQXgPQPeQgrcOwPVNgDVNQDWOgbTMwDRMgDQMwDSMwDRNwTQLgDRJgDSJwDSLgDSNwTjOgDiOADjOQDkPADhQAXzs5v+/fv////0vKbiRQvgPQHpdUr85NzuknPdKgDcIwDnZzj2w7HqeU/gPQLsimb/+PftjWn97Obpb0LdJQDeLQDtjmvsi2jgSBDnbULgOQD/39HgLQDeMgDpeFLgSBH0v670uqbaJQD2qImWvP/G1Ob5+/3u//+fvvXyp47dMwDaLwD0u6v0v6/aNQDiXi/aKQD3qozU7/8gSY2vvtg0ZK/OqLDaKQHYKgLgWTfaNADZMgDZMADZLADzqpD7//+xwdz//9H/5Bn/7Bn//ADofADYMADYMQDZOgPXLgDiZDj//97/0AD3tQDvlgHZOgbXLATXMADWMgDfXjLVLQD///z+0AD/3Rn/yRnwnQDcVjbVMQDyv67wuKTSJwDRHQD+8O/tg3/iQQDwhAHnawHWMADvtKfyva7XQxHga0bQGQD2vbH/u8LXIQCmPQzja07XQxLliGn99fPkcVHvhnGZ5VguvUU5wktBwCcAgxzydVv/8/XmiGngdlL+ysi3+I8LtCE80V6P3YmX4sDleljSNQLzr6D7sKPXNQTSIwAEAbMrAAAAF3RSTlMARqSkRvPz80PTpKRG3fPe3hio9/eoGP50jNsAAAABYktHRB5yCiArAAAAyElEQVQYGQXBvUqCYRiA4fu2V9Tn+UQddI3aCpxaOoU6iU4gcqqpoYbALXBuCuoYmttamqJDiEoh4YP+MOi6BNCh+uYKEGiOVNCXXxA2XDVV/UyfKbRCXTLQWAxbP2vt8Ue/uYDvfim91615sb2um6rqtrr/NFb1cUf1Ybd06areU6lSlYpK79jzK1SyJOkfhOl8JGEcqV5zoKrTRqO6yUzIzNu46ijdM1VV9bhuUJ/nZURExLRzUiPQm3kKXHi4BAEGOmOi78A/L1QoU/VHoTsAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTQtMDEtMTlUMjA6MDE6MTEtMDU6MDAuET6cAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE0LTAxLTE5VDIwOjAxOjExLTA1OjAwX0yGIAAAAABJRU5ErkJggg==</Image>
<Url type="text/html" method="get" template="https://duckduckgo.com/lite/">
<Param name="t" value="palemoon"/>
<Param name="q" value="{searchTerms}"/>
</Url>
<Url type="application/x-suggestions+json" template="https://duckduckgo.com/ac/?t=palemoon&q={searchTerms}&type=list"/>
</OpenSearchDescription>
for it to be easily enabled, the reference html page then just requires in the head:
Code: Select all
<link title="DuckDuckGo (Lite QS)" type="application/opensearchdescription+xml" rel="search" href="./ddg-lite-qs.xml">
I presume you can also modify the default XML in the PM repo as well
cheers
Paul
NOTE: you should also modify the current DDG suggestions url to pass the "t=palemoon" also
Last edited by paulwratt on 2018-08-10, 12:36, edited 2 times in total.
Re: Add Custom Search URL?
Aah, cool. Great work Paul! Would it be possible to add DDG Lite to the Pale Moon list of search engines with the t=palemoon included?
Systemd Free - MX Linux, Antix Linux & Artix Linux