Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
package-helpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
trisquel
package-helpers
Commits
be47f8d1
Commit
be47f8d1
authored
2 years ago
by
Luis Guzmán
Browse files
Options
Downloads
Patches
Plain Diff
firefox: rollback DuckDuckGo/Firefox partnership search codes
parent
cdc5bf12
No related branches found
No related tags found
1 merge request
!1006
firefox: rollback DuckDuckGo/Firefox partnership search codes
Pipeline
#873
failed
2 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
helpers/DATA/firefox/rollback_ddg_firefox_partnership_codes.patch
+44
-0
44 additions, 0 deletions
...DATA/firefox/rollback_ddg_firefox_partnership_codes.patch
helpers/make-firefox
+3
-3
3 additions, 3 deletions
helpers/make-firefox
with
47 additions
and
3 deletions
helpers/DATA/firefox/rollback_ddg_firefox_partnership_codes.patch
0 → 100644
+
44
−
0
View file @
be47f8d1
More info related to the change: https://hg.mozilla.org/mozilla-central/rev/5079bb7577182734823d6e4a3c468115d45a9dd9
diff -Nru firefox-109.0.1+build1-0ubuntu0.22.04.1~mt1+11.0trisquel94/browser/components/search/extensions/ddg/manifest.json firefox-109.0+build2/browser/components/search/extensions/ddg/manifest.json
--- firefox-109.0.1+build1-0ubuntu0.22.04.1~mt1+11.0trisquel94/browser/components/search/extensions/ddg/manifest.json 2023-01-29 00:04:37.557029994 -0600
+++ firefox-109.0+build2/browser/components/search/extensions/ddg/manifest.json 2023-01-14 12:40:57.000000000 -0600
@@ -2,7 +2,7 @@
"name": "DuckDuckGo",
"description": "Search DuckDuckGo",
"manifest_version": 2,
- "version": "1.3",
+ "version": "1.2",
"browser_specific_settings": {
"gecko": {
"id": "ddg@search.mozilla.org"
@@ -21,7 +21,7 @@
"name": "DuckDuckGo",
"search_url": "https://duckduckgo.com/",
"search_form": "https://duckduckgo.com/?q={searchTerms}",
- "search_url_get_params": "t=ffab&q={searchTerms}",
+ "search_url_get_params": "q={searchTerms}",
"suggest_url": "https://ac.duckduckgo.com/ac/",
"suggest_url_get_params": "q={searchTerms}&type=list"
}
diff -Nru firefox-109.0.1+build1-0ubuntu0.22.04.1~mt1+11.0trisquel94/browser/components/search/extensions/ddg-html/manifest.json firefox-109.0+build2/browser/components/search/extensions/ddg-html/manifest.json
--- firefox-109.0.1+build1-0ubuntu0.22.04.1~mt1+11.0trisquel94/browser/components/search/extensions/ddg-html/manifest.json 2023-01-29 00:04:37.509029685 -0600
+++ firefox-109.0+build2/browser/components/search/extensions/ddg-html/manifest.json 2023-01-14 12:40:57.000000000 -0600
@@ -2,7 +2,7 @@
"name": "DuckDuckGo (HTML)",
"description": "Search DuckDuckGo (HTML)",
"manifest_version": 2,
- "version": "1.3",
+ "version": "1.2",
"browser_specific_settings": {
"gecko": {
"id": "ddg-html@search.mozilla.org"
@@ -21,7 +21,7 @@
"name": "DuckDuckGo (HTML)",
"search_url": "https://html.duckduckgo.com/html/",
"search_form": "https://html.duckduckgo.com/html/?q={searchTerms}",
- "search_url_get_params": "t=ffab&q={searchTerms}",
+ "search_url_get_params": "q={searchTerms}",
"suggest_url": "https://ac.duckduckgo.com/ac/",
"suggest_url_get_params": "q={searchTerms}&type=list"
}
This diff is collapsed.
Click to expand it.
helpers/make-firefox
+
3
−
3
View file @
be47f8d1
...
...
@@ -2,7 +2,7 @@
#
# Copyright (C) 2008-2022 Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2015 Santiago Rodriguez <santi@trisquel.info>
# Copyright (C) 202
2
Luis Guzman <ark@switnet.org>
# Copyright (C) 202
3
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
=
9
4
VERSION
=
9
5
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment