abrowser: Correction to make ddg the default search engine. Added packages.trisquel.org to engines and newtab. Use default values for strict content blocking
This commit is contained in:
parent
6f84cb8d7e
commit
593bf40d8e
9 changed files with 50 additions and 5 deletions
BIN
helpers/DATA/firefox/newtab/trisquel-packages.ico
Normal file
BIN
helpers/DATA/firefox/newtab/trisquel-packages.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
BIN
helpers/DATA/firefox/newtab/trisquel-packages.png
Normal file
BIN
helpers/DATA/firefox/newtab/trisquel-packages.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
|
|
@ -176,6 +176,8 @@ class SearchConfig(RemoteSettings):
|
|||
|
||||
if 'included' in specifier and 'everywhere' in specifier[
|
||||
'included'] and specifier['included']['everywhere']:
|
||||
if search_engine['webExtension']['id'] == cls._DUCKDUCKGO_SEARCH_ENGINE_ID:
|
||||
specifier['default'] = 'yes'
|
||||
general_specifier = specifier
|
||||
|
||||
if not general_specifier:
|
||||
|
|
|
|||
BIN
helpers/DATA/firefox/searchplugins/trisquel-packages/favicon.ico
Normal file
BIN
helpers/DATA/firefox/searchplugins/trisquel-packages/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"name": "Trisquel Packages",
|
||||
"description": "Search available software packages for Trisquel GNU/Linux",
|
||||
"manifest_version": 2,
|
||||
"version": "1.0",
|
||||
"applications": {
|
||||
"gecko": {
|
||||
"id": "trisquel-packages@search.mozilla.org"
|
||||
}
|
||||
},
|
||||
"hidden": true,
|
||||
"icons": {
|
||||
"16": "favicon.ico",
|
||||
"32": "favicon.ico",
|
||||
"48": "favicon.ico",
|
||||
"256": "favicon.ico"
|
||||
},
|
||||
"web_accessible_resources": [
|
||||
"favicon.ico"
|
||||
],
|
||||
"chrome_settings_overrides": {
|
||||
"search_provider": {
|
||||
"name": "Trisquel Packages",
|
||||
"search_url": "https://packages.trisquel.org/search?keywords={searchTerms}",
|
||||
"search_form": "https://packages.trisquel.org/search?keywords={searchTerms}"
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 48 KiB |
|
|
@ -10,7 +10,10 @@
|
|||
},
|
||||
"hidden": true,
|
||||
"icons": {
|
||||
"16": "favicon.ico"
|
||||
"16": "favicon.ico",
|
||||
"32": "favicon.ico",
|
||||
"48": "favicon.ico",
|
||||
"256": "favicon.ico"
|
||||
},
|
||||
"web_accessible_resources": [
|
||||
"favicon.ico"
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ pref("network.protocol-handler.external.apt+http",true);
|
|||
// https://webdevelopmentaid.wordpress.com/2013/10/21/customize-privacy-settings-in-mozilla-firefox-part-1-aboutconfig/
|
||||
// https://panopticlick.eff.org
|
||||
// https://wiki.mozilla.org/Fingerprinting
|
||||
pref("browser.contentblocking.features.strict", "tp,tpPrivate,cookieBehavior1,cm,fp,stp");
|
||||
//pref("browser.contentblocking.features.strict", "tp,tpPrivate,cookieBehavior1,cm,fp,stp");
|
||||
pref("privacy.donottrackheader.enabled", true);
|
||||
pref("privacy.donottrackheader.value", 1);
|
||||
pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false);
|
||||
|
|
@ -232,7 +232,7 @@ pref("browser.onboarding.updatetour", "performance,library,singlesearch,customiz
|
|||
pref("browser.onboarding.enabled", false);
|
||||
|
||||
// New tab settings
|
||||
pref("browser.newtabpage.activity-stream.default.sites", "https://trisquel.info/,https://www.gnu.org/,https://www.fsf.org/,https://directory.fsf.org,https://libreplanet.org/,https://fsfe.org,https://www.wikipedia.org/wiki/,https://www.h-node.org/");
|
||||
pref("browser.newtabpage.activity-stream.default.sites", "https://trisquel.info/,https://packages.trisquel.org,https://www.gnu.org/,https://www.fsf.org/,https://directory.fsf.org,https://libreplanet.org/,https://fsfe.org,https://www.wikipedia.org/wiki/,https://www.h-node.org/");
|
||||
pref("browser.newtabpage.activity-stream.showTopSites",true);
|
||||
pref("browser.newtabpage.activity-stream.feeds.section.topstories",false);
|
||||
pref("browser.newtabpage.activity-stream.feeds.snippets",false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue