summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/firefox-bin/files')
-rw-r--r--www-client/firefox-bin/files/10firefox-bin1
-rw-r--r--www-client/firefox-bin/files/all-gentoo-1.js11
-rw-r--r--www-client/firefox-bin/files/firefox-bin-prefs.js6
-rw-r--r--www-client/firefox-bin/files/firefox-bin.desktop9
-rw-r--r--www-client/firefox-bin/files/local-settings.js2
5 files changed, 29 insertions, 0 deletions
diff --git a/www-client/firefox-bin/files/10firefox-bin b/www-client/firefox-bin/files/10firefox-bin
new file mode 100644
index 000000000000..6e0709edaf53
--- /dev/null
+++ b/www-client/firefox-bin/files/10firefox-bin
@@ -0,0 +1 @@
+SEARCH_DIRS_MASK="/opt/firefox"
diff --git a/www-client/firefox-bin/files/all-gentoo-1.js b/www-client/firefox-bin/files/all-gentoo-1.js
new file mode 100644
index 000000000000..0ac6d6a49886
--- /dev/null
+++ b/www-client/firefox-bin/files/all-gentoo-1.js
@@ -0,0 +1,11 @@
+// Ensure preference cann't be changed by users
+lockPref("app.update.auto", false);
+lockPref("app.update.enabled", false);
+lockPref("intl.locale.matchOS", true);
+// Allow user to change based on needs
+defaultPref("browser.display.use_system_colors", true);
+defaultPref("spellchecker.dictionary_path", "/usr/share/myspell");
+defaultPref("browser.shell.checkDefaultBrowser", false);
+// Preferences that should be reset every session
+pref("browser.EULA.override", true);
+
diff --git a/www-client/firefox-bin/files/firefox-bin-prefs.js b/www-client/firefox-bin/files/firefox-bin-prefs.js
new file mode 100644
index 000000000000..c40cec506636
--- /dev/null
+++ b/www-client/firefox-bin/files/firefox-bin-prefs.js
@@ -0,0 +1,6 @@
+pref("app.update.enabled", false);
+pref("app.update.autoInstallEnabled", false);
+pref("browser.display.use_system_colors", true);
+pref("browser.shell.checkDefaultBrowser", false);
+pref("browser.EULA.override", true);
+pref("intl.locale.matchOS", true);
diff --git a/www-client/firefox-bin/files/firefox-bin.desktop b/www-client/firefox-bin/files/firefox-bin.desktop
new file mode 100644
index 000000000000..cf88bfd83e03
--- /dev/null
+++ b/www-client/firefox-bin/files/firefox-bin.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Mozilla Firefox (bin)
+Comment=Mozilla Firefox Web Browser
+Exec=/usr/bin/firefox-bin %u
+Icon=firefox-bin
+Terminal=false
+Type=Application
+MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
+Categories=Network;WebBrowser;
diff --git a/www-client/firefox-bin/files/local-settings.js b/www-client/firefox-bin/files/local-settings.js
new file mode 100644
index 000000000000..9dac3b0eae0a
--- /dev/null
+++ b/www-client/firefox-bin/files/local-settings.js
@@ -0,0 +1,2 @@
+pref("general.config.filename", "all-gentoo.js");
+pref("general.config.obscure_value", 0); // use this to disable the byte-shift