Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/earthlng/aboutconfig
https://github.com/earthlng/aboutconfig
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/earthlng/aboutconfig
- Owner: earthlng
- Created: 2021-02-16T15:37:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-07T10:58:42.000Z (about 1 year ago)
- Last Synced: 2024-08-01T16:48:29.326Z (3 months ago)
- Language: JavaScript
- Size: 53.7 KB
- Stars: 18
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## aboutconfig
The bare minimum to keep the old XUL-based `about:config` version available in Firefox 87+
Mostly copied from https://github.com/xiaoxiaoflood/firefox-scripts, all credit goes to them.
All credit goes to [@aminomancer](https://github.com/aminomancer/) for the idea and the code for registering a proper about: page!
## Installation
1. download and extract the [master.zip](https://github.com/earthlng/aboutconfig/archive/main.zip)
2. copy the files/folders from `installdir` into your Firefox installation folder and the `chrome` folder from `profile` into your profile directory
3. load `about:support` and click the button "Clear startup cache..." (not sure if this is really necessary)
4. restart Firefox
5. you can now access the old `about:config` via `chrome://userchromejs/content/aboutconfig/config.xhtml`Optionally you can also let the script register an `about:cfg` page. To do that, copy/move `aboutcfg.jsm` into the `profile/chrome/utils/` folder
and uncomment the 2nd-to-last line in the `_autoconfig.cfg` file.
Now you can access the old about:config page at `about:cfg` !### How it works
- `autoconfig.js` tells Firefox to load the autoconfig file `_autoconfig.cfg`
- `_autoconfig.cfg` tells Firefox to load the `chrome.manifest` from the chrome directory in the profile folder
- `chrome.manifest` registers a `chrome://` namespace `userchromejs`
#### original files + modifications madeMozilla removed the old `about:config` in https://hg.mozilla.org/mozilla-central/rev/2e2f7a1fd4fa
see the above link for the original files:
- toolkit/components/viewconfig/content/config.js
- toolkit/components/viewconfig/content/config.xhtml
- toolkit/locales/en-US/toolkit/about/aboutConfig.ftl
- toolkit/themes/shared/config.cssThe only modifications are:
1. hardcoding all the localization stuff from aboutConfig.ftl into config.js and config.xhtml
2. remove the unnecessary telemetry stuff from config.js