Skip to content
Snippets Groups Projects
Commit 593bf40d authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

abrowser: Correction to make ddg the default search engine. Added...

abrowser: Correction to make ddg the default search engine. Added packages.trisquel.org to engines and newtab. Use default values for strict content blocking
parent 6f84cb8d
No related branches found
No related tags found
No related merge requests found
Pipeline #905 passed
helpers/DATA/firefox/newtab/trisquel-packages.ico

40.4 KiB

helpers/DATA/firefox/newtab/trisquel-packages.png

26.5 KiB

...@@ -176,6 +176,8 @@ class SearchConfig(RemoteSettings): ...@@ -176,6 +176,8 @@ class SearchConfig(RemoteSettings):
if 'included' in specifier and 'everywhere' in specifier[ if 'included' in specifier and 'everywhere' in specifier[
'included'] and specifier['included']['everywhere']: 'included'] and specifier['included']['everywhere']:
if search_engine['webExtension']['id'] == cls._DUCKDUCKGO_SEARCH_ENGINE_ID:
specifier['default'] = 'yes'
general_specifier = specifier general_specifier = specifier
if not general_specifier: if not general_specifier:
......
helpers/DATA/firefox/searchplugins/trisquel-packages/favicon.ico

40.4 KiB

{
"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}"
}
}
}
helpers/DATA/firefox/searchplugins/trisquel/favicon.ico

11.4 KiB | W: | H:

helpers/DATA/firefox/searchplugins/trisquel/favicon.ico

47.8 KiB | W: | H:

helpers/DATA/firefox/searchplugins/trisquel/favicon.ico
helpers/DATA/firefox/searchplugins/trisquel/favicon.ico
helpers/DATA/firefox/searchplugins/trisquel/favicon.ico
helpers/DATA/firefox/searchplugins/trisquel/favicon.ico
  • 2-up
  • Swipe
  • Onion skin
...@@ -10,7 +10,10 @@ ...@@ -10,7 +10,10 @@
}, },
"hidden": true, "hidden": true,
"icons": { "icons": {
"16": "favicon.ico" "16": "favicon.ico",
"32": "favicon.ico",
"48": "favicon.ico",
"256": "favicon.ico"
}, },
"web_accessible_resources": [ "web_accessible_resources": [
"favicon.ico" "favicon.ico"
......
...@@ -92,7 +92,7 @@ pref("network.protocol-handler.external.apt+http",true); ...@@ -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://webdevelopmentaid.wordpress.com/2013/10/21/customize-privacy-settings-in-mozilla-firefox-part-1-aboutconfig/
// https://panopticlick.eff.org // https://panopticlick.eff.org
// https://wiki.mozilla.org/Fingerprinting // 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.enabled", true);
pref("privacy.donottrackheader.value", 1); pref("privacy.donottrackheader.value", 1);
pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false); pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false);
...@@ -232,7 +232,7 @@ pref("browser.onboarding.updatetour", "performance,library,singlesearch,customiz ...@@ -232,7 +232,7 @@ pref("browser.onboarding.updatetour", "performance,library,singlesearch,customiz
pref("browser.onboarding.enabled", false); pref("browser.onboarding.enabled", false);
// New tab settings // 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.showTopSites",true);
pref("browser.newtabpage.activity-stream.feeds.section.topstories",false); pref("browser.newtabpage.activity-stream.feeds.section.topstories",false);
pref("browser.newtabpage.activity-stream.feeds.snippets",false); pref("browser.newtabpage.activity-stream.feeds.snippets",false);
......
#!/bin/bash #!/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) 2015 Santiago Rodriguez <santi@trisquel.info>
# Copyright (C) 2023 Luis Guzman <ark@switnet.org> # Copyright (C) 2023 Luis Guzman <ark@switnet.org>
# #
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # 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' EXTERNAL='deb-src http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu $UPSTREAM main'
REPOKEY=9BDB3D89CE49EC21 REPOKEY=9BDB3D89CE49EC21
...@@ -138,6 +138,11 @@ cat << EOF >> browser/components/newtab/data/content/tippytop/top_sites.json ...@@ -138,6 +138,11 @@ cat << EOF >> browser/components/newtab/data/content/tippytop/top_sites.json
"image_url": "images/trisquel.png", "image_url": "images/trisquel.png",
"favicon_url": "favicons/trisquel.ico" "favicon_url": "favicons/trisquel.ico"
}, },
{
"domains": ["packages.trisquel.org"],
"image_url": "images/trisquel-packages.png",
"favicon_url": "favicons/trisquel-packages.ico"
},
{ {
"domains": ["gnu.org"], "domains": ["gnu.org"],
"image_url": "images/gnu.png", "image_url": "images/gnu.png",
...@@ -187,6 +192,13 @@ cat << TOP_JSON > services/settings/dumps/main/top-sites.json ...@@ -187,6 +192,13 @@ cat << TOP_JSON > services/settings/dumps/main/top-sites.json
"id": "ec7f4843-6be5-5e86-870a-1c8383500a4b", "id": "ec7f4843-6be5-5e86-870a-1c8383500a4b",
"last_modified": $(date +%s%N | cut -b1-13) "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/", "url": "https://www.gnu.org/",
"order": 1, "order": 1,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment