Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include setting Firefox (default) search engine./Update policies.json #59

Open
a-t-0 opened this issue Apr 29, 2023 · 0 comments
Open

Comments

@a-t-0
Copy link
Contributor

a-t-0 commented Apr 29, 2023

Search Engines

The (apt) Firefox search engines were initially set using a policies.json file. HOwever that is not supported for non-ESR firefox.
See: https://access.redhat.com/solutions/6707711
And:
https://support.mozilla.org/en-US/questions/1295935
suggests it may be done using the
autoconfig.cfg

Update policies.json

Some elements in the current policies.json file are outdated:

Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
console.warn: services.settings: Ignoring preference override of remote settings server
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
console.error: Policies.jsm: 
  'ExpireAtSessionEnd' has been deprecated and it has no effect anymore.
console.error: ({})
console.error: (new TypeError("NetworkError: Network request failed", "resource://services-settings/Utils.jsm", 237))
console.error: Policies.jsm: 
  Download failed - ERROR_NETWORK_FAILURE - https://addons.mozilla.org/firefox/downloads/latest/bypass-paywalls-clean/latest.xpi
console.error: Policies.jsm: 
  Download failed - ERROR_NETWORK_FAILURE - https://addons.mozilla.org/firefox/downloads/latest/https-everywhere/latest.xpi
*** You are running in background task mode. ***
*** You are running in headless mode.
console.error: Policies.jsm: 
  'ExpireAtSessionEnd' has been deprecated and it has no effect anymore.
console.error: "/home/name/.mozilla/firefox/kwz4y9x4.default-release/storage" "to-be-removed" 0 "" ""
JavaScript error: resource://gre/modules/AddonManager.jsm, line 3030: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
[ERROR glean_core] Error setting metrics feature config: Json(Error("EOF while parsing a value", line: 1, column: 0))
console.error: "Cache folder attempt no 1"
console.error: "couldn't find cache folder /home/name/.mozilla/firefox/kwz4y9x4.default-release/storage/to-be-removed"
console.warn: "Skipping Glean as no metrics id is passed"
JavaScript error: undefined, line 0: Error: Content script already unregistered
JavaScript error: undefined, line 0: Error: Content script already unregistered
JavaScript error: undefined, line 0: Error: Content script already unregistered
JavaScript error: undefined, line 0: Error: Content script already unregistered
Extension error: TypeError: sender.tab is undefined moz-extension://520d087f-9a99-4fa7-9d0d-0038c91373ab/background_scripts/main.js 438
[[Exception stack
onConnect@moz-extension://520d087f-9a99-4fa7-9d0d-0038c91373ab/background_scripts/main.js:438:31
@moz-extension://520d087f-9a99-4fa7-9d0d-0038c91373ab/background_scripts/main.js:87:62
Current stack
applySafeWithoutClone@resource://gre/modules/ExtensionCommon.jsm:707:41
addListener/asyncWithoutClone/<@resource://gre/modules/ExtensionCommon.jsm:2644:39
]]
JavaScript error: moz-extension://92f75756-5a29-4de8-a1ce-457beb62c983/dist/content_script_bundle.js, line 122: TypeError: u.app is undefined
Extension error: TypeError: can't convert undefined to object moz-extension://f7be818a-fb93-4878-89b8-fa1bbd66ebf8/content.js 50
[[Exception stack
Go/</n/s/<@moz-extension://f7be818a-fb93-4878-89b8-fa1bbd66ebf8/content.js:50:248
Current stack
applySafeWithoutClone@resource://gre/modules/ExtensionCommon.jsm:707:41
wrapPromise/<@resource://gre/modules/ExtensionCommon.jsm:913:22
]]

Update the file.

@a-t-0 a-t-0 changed the title Include setting Firefox (default) search engine. Include setting Firefox (default) search engine./Update policies.json Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant