Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/RJ-Infinity/UserChromeScriptLoader
https://github.com/RJ-Infinity/UserChromeScriptLoader
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/RJ-Infinity/UserChromeScriptLoader
- Owner: RJ-Infinity
- Created: 2023-02-26T00:31:37.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-02-27T20:37:35.000Z (over 1 year ago)
- Last Synced: 2024-08-01T16:45:03.722Z (3 months ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# UserChromeScriptLoader thing
only tested on firefox 110.0 (64-bit)
## to install you unzip and add some symlinks to the firefox installation
> at `C:\Program Files\Mozilla Firefox`(or where firefox is installed)`\defaults\pref`
>
> a new hardlink `config-prefs.js`
>
> (windows commands example) providing you are in the diriectory for this git
> ```bat
> mklink /H "C:\Program Files\Mozilla Firefox\defaults\pref\config-prefs.js" ".\config-prefs.js"
> ```
> note that this one is a hard link as firefox checks for symlinks and ignores them for some reason so to get it to work you can use a hard link> at `C:\Program Files\Mozilla Firefox`(or where firefox is installed)
>
> a new symlink `configRJ1.js`
>
> (windows commands example) providing you are in the diriectory for this git
> ```bat
> mklink "C:\Program Files\Mozilla Firefox\configRJ1.js" ".\configRJ1.js"
> ```> at `C:\Users\`[username]`\AppData\Roaming\Mozilla\Firefox`
>
> a new symlink `RJAutoConfig.json`
>
> (windows commands example) providing you are in the diriectory for this git
> ```bat
> mklink "C:\Users\%username%\AppData\Roaming\Mozilla\Firefox\RJAutoConfig.json" ".\RJAutoConfig.json"
> ```> at `C:\Users\`[username]`\AppData\Roaming\Mozilla\Firefox`
>
> a new directory symlink `RJAutoConfigFiles`
>
> (windows commands example) providing you are in the diriectory for this git
> ```bat
> mklink /D "C:\Users\%username%\AppData\Roaming\Mozilla\Firefox\RJAutoConfigFiles" ".\RJAutoConfigFiles"
> ```## how it works
the `config-prefs.js` registers the `configRJ1.js` file as a file to run on startup then that loads the `RJAutoConfig.json` and finds the files in the `RJAutoConfigFiles` directory and runs them
much of this knowledge comes from https://www.userchrome.org and https://github.com/alice0775/userChrome.js