Skip to content

Commit

Permalink
Add user.js override files
Browse files Browse the repository at this point in the history
Signed-off-by: celenity <[email protected]>
  • Loading branch information
celenityy committed Dec 16, 2024
1 parent c8e826f commit 57ab540
Show file tree
Hide file tree
Showing 33 changed files with 34 additions and 1 deletion.
Binary file modified archives/phoenix.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion build/gen_archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

rm archives/phoenix.zip

zip -R archives/phoenix.zip 'filter.pac' 'configs/*' 'configs/ui-fix/*' 'defaults/*' 'defaults/pref/*' 'etc/*' 'etc/profile.d/*' 'phoenix.cfg' 'policies.json' 'personal-policies/*' 'README.md' -x 'build/*' 'legacy/*' '.git*' '.DS_Store'
zip -R archives/phoenix.zip 'filter.pac' 'configs/*' 'configs/ui-fix/*' 'defaults/*' 'defaults/pref/*' 'etc/*' 'etc/profile.d/*' 'phoenix.cfg' 'policies.json' 'personal-policies/*' 'userjs/*' 'userjs/linux/*' 'userjs/linux/dev/*' 'userjs/linux/discord/*' 'userjs/linux/hardened/*' 'userjs/linux/hardened-no-sync/*' 'userjs/linux/no-sync/*' 'userjs/linux/twitter/*' 'userjs/linux/ui-fix-base/*' 'userjs/linux/youtube/*' 'userjs/linux/ui-fix/dev/*' 'userjs/linux/ui-fix/discord/*' 'userjs/linux/ui-fix/hardened/*' 'userjs/linux/ui-fix/hardened-no-sync/*' 'userjs/linux/ui-fix/no-sync/*' 'userjs/linux/ui-fix/twitter/*' 'userjs/linux/ui-fix/youtube/*' 'userjs/macos/*' 'userjs/macos/dev/*' 'userjs/macos/discord/*' 'userjs/macos/hardened/*' 'userjs/macos/hardened-no-sync/*' 'userjs/macos/no-sync/*' 'userjs/macos/twitter/*' 'userjs/macos/ui-fix-base/*' 'userjs/macos/youtube/*' 'userjs/macos/ui-fix/dev/*' 'userjs/macos/ui-fix/discord/*' 'userjs/macos/ui-fix/hardened/*' 'userjs/macos/ui-fix/hardened-no-sync/*' 'userjs/macos/ui-fix/no-sync/*' 'userjs/macos/ui-fix/twitter/*' 'userjs/macos/ui-fix/youtube/*' 'README.md' -x 'build/*' 'legacy/*' '.git*' '.DS_Store'
3 changes: 3 additions & 0 deletions userjs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# user.js

This is a directory containing user.js files for Phoenix overrides/specialized configs, such as 'Hardened'. If you want to use the override/specialized config in your profile, simply copy and paste the corresponding user.js file into your Firefox profile's directory. The user.js file itself does not need to be updated, as it will always pull the latest config file locally from Phoenix's installation folder.
1 change: 1 addition & 0 deletions userjs/linux/dev/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///etc/firefox/phoenix/configs/dev.cfg");
1 change: 1 addition & 0 deletions userjs/linux/discord/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///etc/firefox/phoenix/configs/discord.cfg");
1 change: 1 addition & 0 deletions userjs/linux/hardened-no-sync/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///etc/firefox/phoenix/configs/hardened-no-sync.cfg");
1 change: 1 addition & 0 deletions userjs/linux/hardened/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///etc/firefox/phoenix/configs/hardened.cfg");
1 change: 1 addition & 0 deletions userjs/linux/no-sync/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///etc/firefox/phoenix/configs/no-sync.cfg");
1 change: 1 addition & 0 deletions userjs/linux/twitter/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///etc/firefox/phoenix/configs/twitter.cfg");
1 change: 1 addition & 0 deletions userjs/linux/ui-fix-base/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///etc/firefox/phoenix/configs/ui-fix.cfg");
1 change: 1 addition & 0 deletions userjs/linux/ui-fix/dev/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///etc/firefox/phoenix/configs/ui-fix/dev.cfg");
1 change: 1 addition & 0 deletions userjs/linux/ui-fix/discord/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///etc/firefox/phoenix/configs/ui-fix/discord.cfg");
1 change: 1 addition & 0 deletions userjs/linux/ui-fix/hardened-no-sync/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///etc/firefox/phoenix/configs/ui-fix/hardened-no-sync.cfg");
1 change: 1 addition & 0 deletions userjs/linux/ui-fix/hardened/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///etc/firefox/phoenix/configs/ui-fix/hardened.cfg");
1 change: 1 addition & 0 deletions userjs/linux/ui-fix/no-sync/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///etc/firefox/phoenix/configs/ui-fix/no-sync.cfg");
1 change: 1 addition & 0 deletions userjs/linux/ui-fix/twitter/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///etc/firefox/phoenix/configs/ui-fix/twitter.cfg");
1 change: 1 addition & 0 deletions userjs/linux/ui-fix/youtube/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///etc/firefox/phoenix/configs/ui-fix/youtube.cfg");
1 change: 1 addition & 0 deletions userjs/linux/youtube/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///etc/firefox/phoenix/configs/youtube.cfg");
1 change: 1 addition & 0 deletions userjs/macos/dev/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///opt/homebrew/opt/phoenix-osx/configs/dev.cfg");
1 change: 1 addition & 0 deletions userjs/macos/discord/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///opt/homebrew/opt/phoenix-osx/configs/discord.cfg");
1 change: 1 addition & 0 deletions userjs/macos/hardened-no-sync/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///opt/homebrew/opt/phoenix-osx/configs/hardened-no-sync.cfg");
1 change: 1 addition & 0 deletions userjs/macos/hardened/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///opt/homebrew/opt/phoenix-osx/configs/hardened.cfg");
1 change: 1 addition & 0 deletions userjs/macos/no-sync/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///opt/homebrew/opt/phoenix-osx/configs/no-sync.cfg");
1 change: 1 addition & 0 deletions userjs/macos/twitter/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///opt/homebrew/opt/phoenix-osx/configs/twitter.cfg");
1 change: 1 addition & 0 deletions userjs/macos/ui-fix-base/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///opt/homebrew/opt/phoenix-osx/configs/ui-fix.cfg");
1 change: 1 addition & 0 deletions userjs/macos/ui-fix/dev/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///opt/homebrew/opt/phoenix-osx/configs/ui-fix/dev.cfg");
1 change: 1 addition & 0 deletions userjs/macos/ui-fix/discord/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///opt/homebrew/opt/phoenix-osx/configs/ui-fix/discord.cfg");
1 change: 1 addition & 0 deletions userjs/macos/ui-fix/hardened-no-sync/user.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions userjs/macos/ui-fix/hardened/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///opt/homebrew/opt/phoenix-osx/configs/ui-fix/hardened.cfg");
1 change: 1 addition & 0 deletions userjs/macos/ui-fix/no-sync/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///opt/homebrew/opt/phoenix-osx/configs/ui-fix/no-sync.cfg");
1 change: 1 addition & 0 deletions userjs/macos/ui-fix/twitter/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///opt/homebrew/opt/phoenix-osx/configs/ui-fix/twitter.cfg");
1 change: 1 addition & 0 deletions userjs/macos/ui-fix/youtube/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///opt/homebrew/opt/phoenix-osx/configs/ui-fix/youtube.cfg");
1 change: 1 addition & 0 deletions userjs/macos/youtube/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user_pref("autoadmin.global_config_url", "file:///opt/homebrew/opt/phoenix-osx/configs/youtube.cfg");

0 comments on commit 57ab540

Please sign in to comment.