add user.js file
This commit is contained in:
parent
2eb0ba162f
commit
f9a2295903
11
install.sh
11
install.sh
@ -21,14 +21,9 @@ download_bf() {
|
|||||||
FF_THEME="/tmp/blurredfox-master/"
|
FF_THEME="/tmp/blurredfox-master/"
|
||||||
cp -r "${FF_THEME}"* "${CHROME_DIRECTORY}"
|
cp -r "${FF_THEME}"* "${CHROME_DIRECTORY}"
|
||||||
|
|
||||||
cat > "${CHROME_DIRECTORY}/../user.js" <<'EOL'
|
# Move user.js to the main profile directory
|
||||||
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
|
mv "${CHROME_DIRECTORY}/user.js" "../"
|
||||||
user_pref("layers.acceleration.force-enabled", true);
|
|
||||||
user_pref("gfx.webrender.all", true);
|
|
||||||
user_pref("gfx.webrender.enabled", true);
|
|
||||||
user_pref("svg.context-properties.content.enabled", true);
|
|
||||||
user_pref("layout.css.backdrop-filter.enabled", true);
|
|
||||||
EOL
|
|
||||||
if [[ $? -eq 0 ]];
|
if [[ $? -eq 0 ]];
|
||||||
then
|
then
|
||||||
rm -rf "/tmp/blurredfox-master"
|
rm -rf "/tmp/blurredfox-master"
|
||||||
|
6
user.js
Normal file
6
user.js
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
|
||||||
|
user_pref("layers.acceleration.force-enabled", true);
|
||||||
|
user_pref("gfx.webrender.all", true);
|
||||||
|
user_pref("gfx.webrender.enabled", true);
|
||||||
|
user_pref("svg.context-properties.content.enabled", true);
|
||||||
|
user_pref("layout.css.backdrop-filter.enabled", true);
|
Reference in New Issue
Block a user