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);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2008-2022 Ruben Rodriguez <ruben@trisquel.info>
|
||||
# Copyright (C) 2008-2023 Ruben Rodriguez <ruben@trisquel.info>
|
||||
# Copyright (C) 2015 Santiago Rodriguez <santi@trisquel.info>
|
||||
# Copyright (C) 2023 Luis Guzman <ark@switnet.org>
|
||||
#
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
VERSION=96
|
||||
VERSION=97
|
||||
EXTERNAL='deb-src http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu $UPSTREAM main'
|
||||
REPOKEY=9BDB3D89CE49EC21
|
||||
|
||||
|
|
@ -138,6 +138,11 @@ cat << EOF >> browser/components/newtab/data/content/tippytop/top_sites.json
|
|||
"image_url": "images/trisquel.png",
|
||||
"favicon_url": "favicons/trisquel.ico"
|
||||
},
|
||||
{
|
||||
"domains": ["packages.trisquel.org"],
|
||||
"image_url": "images/trisquel-packages.png",
|
||||
"favicon_url": "favicons/trisquel-packages.ico"
|
||||
},
|
||||
{
|
||||
"domains": ["gnu.org"],
|
||||
"image_url": "images/gnu.png",
|
||||
|
|
@ -187,6 +192,13 @@ cat << TOP_JSON > services/settings/dumps/main/top-sites.json
|
|||
"id": "ec7f4843-6be5-5e86-870a-1c8383500a4b",
|
||||
"last_modified": $(date +%s%N | cut -b1-13)
|
||||
},
|
||||
{
|
||||
"url": "https://packages.trisquel.org/",
|
||||
"order": 0,
|
||||
"title": "Trisquel Packages",
|
||||
"id": "27a9b035-0b8b-4472-97cb-b1866aba0740",
|
||||
"last_modified": $(date +%s%N | cut -b1-13)
|
||||
},
|
||||
{
|
||||
"url": "https://www.gnu.org/",
|
||||
"order": 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue