aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-02-06 04:29:48 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-02-06 04:29:48 +0800
commit7e908772c6a1050721a0a8ed4f4d1a0416277bbd (patch)
treefc926be33f5f9204bd3c090cf01cc83a3261fa23 /embed/mozilla
parent768eae4a4874a7fe0eada98423f61d84f6416bde (diff)
downloadgsoc2013-epiphany-7e908772c6a1050721a0a8ed4f4d1a0416277bbd.tar
gsoc2013-epiphany-7e908772c6a1050721a0a8ed4f4d1a0416277bbd.tar.gz
gsoc2013-epiphany-7e908772c6a1050721a0a8ed4f4d1a0416277bbd.tar.bz2
gsoc2013-epiphany-7e908772c6a1050721a0a8ed4f4d1a0416277bbd.tar.lz
gsoc2013-epiphany-7e908772c6a1050721a0a8ed4f4d1a0416277bbd.tar.xz
gsoc2013-epiphany-7e908772c6a1050721a0a8ed4f4d1a0416277bbd.tar.zst
gsoc2013-epiphany-7e908772c6a1050721a0a8ed4f4d1a0416277bbd.zip
Split mozilla related calls out of EmbedShell. Load default mozilla prefs
2003-02-05 Marco Pesenti Gritti <marco@it.gnome.org> * embed/Makefile.am: * embed/ephy-embed-event.h: * embed/ephy-embed-shell.c: (ephy_embed_shell_init), (ephy_embed_shell_finalize), (ephy_embed_shell_new), (ephy_embed_shell_get_embed_single), (impl_get_downloader_view): * embed/ephy-embed-shell.h: * embed/ephy-embed-utils.c: (ephy_embed_utils_save), (ephy_embed_utils_build_charsets_submenu): * embed/ephy-embed.c: (ephy_embed_new): * embed/ephy-embed.h: * embed/mozilla/ContentHandler.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/PromptService.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: * embed/mozilla/mozilla-prefs.cpp: * embed/mozilla/mozilla-prefs.h: * src/appearance-prefs.c: (setup_font_menu): * src/ephy-encoding-menu.c: (ephy_encoding_menu_rebuild): * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init): * src/ephy-shell.c: (ephy_shell_get_type), (ephy_shell_init): * src/ephy-tab.c: (ephy_tab_init): * src/general-prefs.c: (default_charset_menu_changed_cb), (create_default_charset_menu): * src/pdm-dialog.c: (pdm_dialog_cookie_remove), (pdm_dialog_password_remove), (pdm_dialog_cookies_free), (pdm_dialog_passwords_free), (pdm_dialog_init): * src/prefs-dialog.c: (prefs_clear_memory_cache_button_clicked_cb), (prefs_clear_disk_cache_button_clicked_cb): * src/window-commands.c: (window_cmd_file_open): Split mozilla related calls out of EmbedShell. Load default mozilla prefs from a .js file. Disable stupid useless security dialogs. Fix chechbox alert to have Ok as default action.
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/default-prefs.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/embed/mozilla/default-prefs.js b/embed/mozilla/default-prefs.js
new file mode 100644
index 000000000..82ce61c46
--- /dev/null
+++ b/embed/mozilla/default-prefs.js
@@ -0,0 +1,24 @@
+// Don't allow mozilla to raise window when setting focus (work around bugs)
+user_pref("mozilla.widget.raise-on-setfocus", false);
+
+// set default search engine
+user_pref("keyword.URL", "http://www.google.com/search?q=");
+user_pref("keyword.enabled", true);
+user_pref("security.checkloaduri", false);
+
+// dont allow xpi installs from epiphany, there are crashes
+user_pref("xpinstall.enabled", false);
+
+// deactivate mailcap and mime.types support
+user_pref("helpers.global_mailcap_file", "");
+user_pref("helpers.global_mime_types_file", "");
+user_pref("helpers.private_mailcap_file", "");
+user_pref("helpers.private_mime_types_file", "");
+
+// disable sucky XUL ftp view, have nice ns4-like html page instead
+user_pref("network.dir.generate_html", true);
+
+// disable usless security warnings
+user_pref("security.warn_entering_secure", false);
+user_pref("security.warn_leaving_secure", false);
+user_pref("security.warn_submit_insecure", false);