firefox: rollback DuckDuckGo/Firefox partnership search codes
This commit is contained in:
parent
cdc5bf12f1
commit
be47f8d159
2 changed files with 47 additions and 3 deletions
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Copyright (C) 2008-2022 Ruben Rodriguez <ruben@trisquel.info>
|
||||
# Copyright (C) 2015 Santiago Rodriguez <santi@trisquel.info>
|
||||
# Copyright (C) 2022 Luis Guzman <ark@switnet.org>
|
||||
# Copyright (C) 2023 Luis Guzman <ark@switnet.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
VERSION=94
|
||||
VERSION=95
|
||||
EXTERNAL='deb-src http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu $UPSTREAM main'
|
||||
REPOKEY=9BDB3D89CE49EC21
|
||||
|
||||
|
|
@ -238,11 +238,11 @@ cp $DATA/newtab/*.ico browser/components/newtab/data/content/tippytop/favicons/
|
|||
cp $DATA/newtab/*.png browser/components/newtab/data/content/tippytop/images/
|
||||
|
||||
# Custom DDG
|
||||
sed '/"params"/,/],/d' -i browser/components/search/extensions/ddg/manifest.json
|
||||
cp browser/components/search/extensions/ddg browser/components/search/extensions/ddg-html -a
|
||||
sed 's|/duckduckgo.com/|/html.duckduckgo.com/html/|' -i browser/components/search/extensions/ddg-html/manifest.json
|
||||
sed 's|DuckDuckGo|DuckDuckGo (HTML)|' -i browser/components/search/extensions/ddg-html/manifest.json
|
||||
sed 's|ddg@|ddg-html@|' -i browser/components/search/extensions/ddg-html/manifest.json
|
||||
patch --no-backup-if-mismatch -p1 < $DATA/rollback_ddg_firefox_partnership_codes.patch
|
||||
# disable ads, disable redirect
|
||||
#sed '/search/s|q=|k1=-1\&kd=-1\&ko=1\&q=|' -i browser/components/search/extensions/ddg/manifest.json
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue