Update search hints for Firefox and Librewolf and align clear on shutdown settings

This commit is contained in:
Alexander Schäferdiek 2024-06-05 09:09:06 +02:00
parent 03c7e2acd3
commit 5eff76e80b
3 changed files with 27 additions and 29 deletions

View file

@ -71,22 +71,15 @@ Use a password manager and don't store or synchronize your passwords within inte
If not possible in another way, you can add them via [Add custom search engine](https://addons.mozilla.org/en-US/firefox/addon/add-custom-search-engine/). Just follow instructions after installing and opening the extension.
```shell
# Tied to "Germany" for search results, maybe you like to change this
# Then generate a different URL
https://duckduckgo.com/?q=%s&ks=l&kav=1&kn=1&kp=-2&kak=-1&kax=-1&kaq=-1&kao=-1&kau=-1&kaj=m&kam=google-maps&k1=-1&kae=c
```
For most search engines, you can also store your preferences inside the URL itself. This is great for having the same experience across devices and if you clear any cookies when your browser shuts down. Make sure that you have those preferences in when you save as a new search engine.
You should also prefer `POST` over `GET`. Depending if there's a `%s` in the URL, it's using `GET`. If it's not present in the examples below, make sure to hit the _Advanced settings_ when adding it as search engine and check `POST`. Then provide `q={searchTerms}` in the input field.
```shell
# Tied to "Germany" for search results, maybe you like to change this
# Then generate a different URL
https://www.qwant.com/?q=%s&r=DE&sr=de&l=en_gb&h=1&s=0&a=1&b=1&vt=0&hc=0&smartNews=0&smartSocial=0&theme=0&i=1&donation=0&qoz=0&shb=0&shl=0
```
```shell
# Tied to "Germany" for search results, maybe you like to change this
# Then generate a different URL
https://duckduckgo.com/?q=%s&ks=l&kav=1&kn=1&kp=-2&kak=-1&kax=-1&kaq=-1&kao=-1&kau=-1&kaj=m&kam=google-maps&k1=-1&kae=c
https://searx.be
https://duckduckgo.com
https://www.qwant.com
https://duckduckgo.com
```
Be sure to add shortcuts to be used in your navigation bar, e.g. `@ddg` refers to DuckDuckGo search engine and directly issues searches to DuckDuckGo from the navigation bar and does not use the default search engine, but your default!

View file

@ -41,22 +41,15 @@ Use a password manager and don't store or synchronize your passwords within inte
If not possible in another way, you can add them via [Add custom search engine](https://addons.mozilla.org/en-US/firefox/addon/add-custom-search-engine/). Just follow instructions after installing and opening the extension.
```shell
# Tied to "Germany" for search results, maybe you like to change this
# Then generate a different URL
https://duckduckgo.com/?q=%s&ks=l&kav=1&kn=1&kp=-2&kak=-1&kax=-1&kaq=-1&kao=-1&kau=-1&kaj=m&kam=google-maps&k1=-1&kae=c
```
For most search engines, you can also store your preferences inside the URL itself. This is great for having the same experience across devices and if you clear any cookies when your browser shuts down. Make sure that you have those preferences in when you save as a new search engine.
You should also prefer `POST` over `GET`. Depending if there's a `%s` in the URL, it's using `GET`. If it's not present in the examples below, make sure to hit the _Advanced settings_ when adding it as search engine and check `POST`. Then provide `q={searchTerms}` in the input field.
```shell
# Tied to "Germany" for search results, maybe you like to change this
# Then generate a different URL
https://www.qwant.com/?q=%s&r=DE&sr=de&l=en_gb&h=1&s=0&a=1&b=1&vt=0&hc=0&smartNews=0&smartSocial=0&theme=0&i=1&donation=0&qoz=0&shb=0&shl=0
```
```shell
# Tied to "Germany" for search results, maybe you like to change this
# Then generate a different URL
https://duckduckgo.com/?q=%s&ks=l&kav=1&kn=1&kp=-2&kak=-1&kax=-1&kaq=-1&kao=-1&kau=-1&kaj=m&kam=google-maps&k1=-1&kae=c
https://searx.be
https://duckduckgo.com
https://www.qwant.com
https://duckduckgo.com
```
Be sure to add shortcuts to be used in your navigation bar, e.g. `@ddg` refers to DuckDuckGo search engine and directly issues searches to DuckDuckGo from the navigation bar and does not use the default search engine, but your default!

View file

@ -7,8 +7,20 @@
/* Avoid non-playing, see https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1874808 */
defaultPref("media.autoplay.blocking_policy", 1);
/* Keep history */
/* Keep history, delete everything else */
//defaultPref("privacy.clearOnShutdown.cache", true);
//defaultPref("privacy.clearOnShutdown.cookies", true);
//defaultPref("privacy.clearOnShutdown.downloads", true);
//defaultPref("privacy.clearOnShutdown.formdata", true);
//defaultPref("privacy.clearOnShutdown.history", false);
//defaultPref("privacy.clearOnShutdown.offlineApps", true);
//defaultPref("privacy.clearOnShutdown.openWindows", true);
//defaultPref("privacy.clearOnShutdown.sessions", true);
//defaultPref("privacy.clearOnShutdown.siteSettings", true);
//defaultPref("privacy.clearOnShutdown_v2.cache", true);
//defaultPref("privacy.clearOnShutdown_v2.cookiesAndStorage", true);
//defaultPref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", true);
//defaultPref("privacy.clearOnShutdown_v2.siteSettings", true);
/* Disable logins */
defaultPref("services.sync.engine.passwords", false);