Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:HSF
MozillaFirefox
firefox.js
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File firefox.js of Package MozillaFirefox
//pref("intl.locale.requested", ""); //pref("intl.accept_languages", "en-GB,en-DK,en"); pref("intl.multilingual.enabled", true); //pref("privacy.spoof_english", 1); pref("browser.startup.homepage", "about:about"); pref("browser.startup.page", 3); pref("browser.privatebrowsing.autostart", false); // Ridiculously named multi-threading pref("browser.tabs.remote.autostart", true); //pref("browser.tabs.remote.force-enable", true); //pref("browser.tabs.remote.force-disable", true); pref("browser.tabs.remote.separateFileUriProcess", true); pref("browser.tabs.remote.separatePrivilegedContentProcess", true); pref("browser.tabs.remote.useCrossOriginOpenerPolicy", true); pref("browser.tabs.remote.useCrossOriginPolicy", true); pref("extensions.webextensions.remote", true); pref("gfx.canvas.remote", true); pref("gfx.canvas.remote.allow-in-parent", true); //pref("gfx.canvas.remote.worker-threads", 8); //pref("devtools.browsertoolbox.fission", true); //pref("fission.openNonFissionWindowOption", true); //pref("layers.advanced.fission.enabled", true); pref("browser.urlbar.decodeURLsOnCopy", true); pref("dom.block_download_insecure", false); pref("dom.icc.enabled", true); pref("dom.ipc.processCount", 6); pref("dom.ipc.processCount.file", 2); pref("dom.ipc.processCount.webLargeAllocation", 15); pref("dom.maxHardwareConcurrency", 5); pref("dom.ipc.processPrelaunch.delayMs", 490); pref("dom.max_script_run_time", 15); // Firefox likes to constantly write something with its IndexedDB thread, needlessly degrading SSDs // and so is Chrome: https://bugs.chromium.org/p/chromium/issues/detail?id=52663 // can we safely disable it ? pref("dom.indexedDB.logging.enabled", false); pref("dom.indexedDB.logging.details", false); pref("experiments.activeExperiment", false); pref("experiments.enabled", false); pref("experiments.supported", true); pref("extensions.ui.experiment.hidden", false); pref("network.allow-experiments", false); // Mozilla has very strange definition of font sizes which is 1.5 times smaller pref("font.size.inflation.minTwips", 200); pref("font.size.inflation.maxRatio", 2); pref("font.size.inflation.emPerLine", 10); pref("font.minimum-size", 13); pref("font.size.fixed", 15); pref("font.size.monospace", 15); pref("font.size.variable", 15); pref("font.name.monospace", "Hack"); pref("font.name.sans-serif", "Noto Sans"); pref("font.name.serif", "Noto Serif"); pref("font.default", "sans-serif"); pref("font.default.x-western", "sans-serif"); pref("font.default.x-cyrillic", "sans-serif"); pref("font.default.x-unicode", "sans-serif"); // this inexplicably completely breaks UI in Thunderbird, who knows what it can do to FF //pref("font.language.group", "x-western"); pref("font.minimum-size.x-unicode", 13); pref("font.size.fixed.x-unicode", 15); pref("font.size.monospace.x-unicode", 15); pref("font.size.variable.x-unicode", 15); pref("font.name.monospace.x-unicode", "Hack"); pref("font.name.sans-serif.x-unicode", "Noto Sans"); pref("font.name.serif.x-unicode", "Noto Serif"); pref("font.minimum-size.x-western", 13); pref("font.size.fixed.x-western", 15); pref("font.size.monospace.x-western", 15); pref("font.size.variable.x-western", 15); pref("font.name.monospace.x-western", "Hack"); pref("font.name.sans-serif.x-western", "Noto Sans"); pref("font.name.serif.x-western", "Noto Serif"); pref("font.minimum-size.x-cyrillic", 13); pref("font.size.fixed.x-cyrillic", 15); pref("font.size.monospace.x-cyrillic", 15); pref("font.size.variable.x-cyrillic", 15); pref("font.name.monospace.x-cyrillic", "Hack"); pref("font.name.sans-serif.x-cyrillic", "Noto Sans"); pref("font.name.serif.x-cyrillic", "Noto Serif"); // FF & TB, due to their GTK-based nature, are retarded and hardcoded for 96 dpi "cuz Windoz be like dat and Windoz 2x+good !" // see https://wiki.archlinux.org/index.php/Firefox/Tweaks#Configure_the_DPI_value and https://wiki.archlinux.org/index.php/HiDPI#Firefox pref("layout.css.dpi", 0); pref("layout.css.d-property.enabled", true); pref("layout.css.cross-fade.enabled", true); pref("layout.css.convertFromNode.enabled", true); pref("layout.css.constructable-stylesheets.enabled", true); pref("layout.css.color-scheme.enabled", true); pref("layout.css.color-mix.color-spaces.enabled", true); pref("layout.css.cascade-layers.enabled", true); //pref("layout.css.emulate-moz-box-with-flex", true); //pref("layout.css.fit-content-function.enabled", true); pref("layout.css.math-depth.enabled", true); pref("layout.css.math-style.enabled", true); pref("layout.css.motion-path-ray.enabled", true); //pref("layout.css.moz-document.content.enabled", true); pref("layout.css.prefers-contrast.enabled", true); // This shite needs to be hardcoded per display… yeah //pref("layout.css.devPixelsPerPx", "-1.0"); // This should have been 'false' if FF used real DPI of a display pref("browser.zoom.full", true); pref("browser.zoom.siteSpecific", true); pref("browser.ui.zoom.force-user-scalable", true); pref("zoom.minPercent", 10); pref("zoom.maxPercent", 500); //pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%"); // Use on-disk and RAM caches pref("browser.cache.compression_level", 1); pref("browser.cache.disk.amount_written", 170754); // It's in MBs… but only this one ! pref("browser.cache.disk.capacity", 1024); pref("browser.cache.disk.filesystem_reported", 1); pref("browser.cache.disk.hashstats_reported", 1); pref("browser.cache.disk.parent_directory", "${HOME}/.cache/mozilla/SHITTER"); pref("browser.cache.disk.smart_size.enabled", false); pref("browser.cache.disk.smart_size.first_run", false); pref("browser.cache.disk.smart_size.use_old_max", false); pref("browser.cache.disk.smart_size_cached_value", 358400); pref("browser.cache.disk_cache_ssl", true); pref("browser.cache.memory.capacity", 512000); pref("browser.cache.memory.max_entry_size", 20480); // Use GPU. Mozilla continues to deliberately ignore Linux in general and AMD GPUs in particular, the only real GPUs with F/OSS drivers pref("gfx.offscreencanvas.enabled", true); pref("gfx.omta.background-color", true); //pref("gfx.prefer-mesa-llvmpipe", false); //pref("gfx.prefer-x11-egl", true); //pref("gfx.x11-egl.force-enabled", true); pref("gfx.swap-interval.egl", true); // fps cap ? pref("layout.throttled_frame_rate", 120); // WebRender may segfault on Mesa if mesa_glthread=true // this just forced CPU rendering for no reason //pref("gfx.webrender.software", true); pref("gfx.webrender.software.opengl", true); pref("gfx.webrender.all", true); pref("gfx.webrender.enabled", true); pref("gfx.webrender.layers-free", true); pref("gfx.webrendest.enabled", true); pref("gfx.webrender.batched-texture-uploads", true); //pref("gfx.webrender.compositor", true); //pref("gfx.webrender.max-partial-present-rects", "-1"); //pref("gfx.webrender.compositor.force-enabled", true); //pref("gfx.webrender.compositor.surface-pool-size", 32); //pref("gfx.webrender.enable-gpu-markers", true); //pref("gfx.webrender.enable-low-priority-pool", true); //pref("gfx.webrender.max-filter-ops-per-chain", 256); // actual shader cache pref("gfx.webrender.program-binary-disk", true); pref("gfx.webrender.precache-shaders", true); pref("gfx.webrender.svg-images", true); pref("gfx.webrender.svg-filter-effects", true); pref("gfx.webrender.quality.force-subpixel-aa-where-possible", true); // https://bugzilla.mozilla.org/show_bug.cgi?id=1694445 pref("widget.use-xdg-desktop-portal", true); pref("widget.use-xdg-desktop-portal.file-picker", 1); pref("widget.use-xdg-desktop-portal.mime-handler", 1); pref("widget.titlebar-x11-use-shape-mask", true); // https://bugzilla.mozilla.org/show_bug.cgi?id=1629140 // this is heavily broken //pref("widget.wayland.vsync.enabled", false); // without this FF goes all screwy with a 2nd window pref("widget.wayland.vsync.keep-firing-at-idle", true); //pref("widget.wayland.fractional-scale.enabled", true); pref("widget.gtk.global-menu.wayland.enabled", true); pref("widget.wayland-smooth-rendering", true); pref("widget.wayland-dmabuf-vaapi.enabled", true); pref("widget.wayland-dmabuf-video-textures.enabled", true); pref("widget.wayland-dmabuf-webgl.enabled", true); pref("widget.wayland_dmabuf_backend.enabled", true); pref("widget.wayland.async-data-transfer.enabled", true); // https://firefox-source-docs.mozilla.org/gfx/AdvancedLayers.html pref("layers.mlgpu.enabled", true); pref("layers.mlgpu.enable-depth-buffer", true); pref("layers.mlgpu.enable-cpu-occlusion", false); // Mozilla just can't figure this one out ! or maybe it finally did ? //pref("layers.async-pan-zoom.enabled", false); pref("gfx.webrender.split-render-roots", true); // This is still broken and likely to be never fixed //pref("gfx.use-glx-texture-from-pixmap", false); pref("gfx.xrender.enabled", false); pref("gfx.canvas.accelerated", true); //pref("gfx.canvas.azure.accelerated", true); //pref("gfx.canvas.azure.backends", "skia,cairo"); //pref("gfx.canvas.azure.enabled", true); // https://www.reddit.com/r/firefox/comments/p5wsq4/any_explanation_for_color_management_settings/ pref("gfx.color_management.enablev4", true); pref("gfx.color_management.mode", 1); pref("gfx.content.azure.accelerated", true); //pref("gfx.content.azure.backends", "skia,cairo"); //pref("gfx.content.azure.enable", true); //pref("gfx.content.always-paint", true); pref("gfx.use_text_smoothing_setting", true); pref("gfx.e10s.font-list.shared", true); pref("gfx.font-list-omt.enabled", true); //pref("gfx.work-around-driver-bugs", false); //pref("gfx.use-mutex-on-present", true); // partial present /buffer-age known for glitching out on Mesa sometimes // https://bugzilla.mozilla.org/show_bug.cgi?id=1244735 //pref("gfx.partialpresent.force", -1); //pref("gfx.webrender.allow-partial-present-buffer-age", false); //pref("gfx.webrender.force-partial-present", false); //pref("layout.animation.prerender.partial", false); pref("gfx.use-ahardwarebuffer-content", true); //pref("layers.acceleration.force-enabled", true); pref("layers.gpu-process.startup_timeout_ms", 1900); pref("layers.gpu-process.ipc_reply_timeout_ms", 2100); //pref("gfx.webrender.fallback.basic", true); //pref("gfx.webrender.fallback.software", true); //pref("gfx.webrender.fallback.software.requires-gpu-process", true); //pref("layers.gpu-process.allow-software", true); pref("layers.gpu-process.enabled", true); //pref("layers.gpu-process.force-enabled", true); //pref("layers.force-active", true); pref("layers.offmainthreadcomposition.enabled", true); //pref("layers.offmainthreadcomposition.animate-opacity", true); //pref("layers.offmainthreadcomposition.animate-transform", true); //pref("layers.progressive-paint", true); pref("layers.omtp.enabled", true); pref("layers.omtp.release-capture-on-main-thread", true); // Tiles ? //pref("layers.enable-tiles", true); pref("layers.enable-tiles-if-skia-pomtp", true); //pref("layers.single-tile.enabled", false); //pref("layers.force-per-tile-drawing", true); pref("gfx.webrender.picture-tile-height", 256); pref("gfx.webrender.picture-tile-width", 512); pref("layers.tile-height", 256); pref("layers.tile-width", 512); pref("layers.compositing-tiles.height", 256); pref("layers.compositing-tiles.width", 512); pref("webgl.max-contexts", 256); pref("webgl.max-contexts-per-principal", 64); //pref("webgl.force-enabled", true); //pref("webgl.all-angle-options", true); //pref("webgl.disable-angle", true); pref("webgl.out-of-process", true); pref("webgl.out-of-process.force", true); pref("webgl.allow-immediate-queries", true); pref("webgl.1.allow-core-profiles", true); pref("webgl.allow-fb-invalidation", true); pref("webgl.enable-ahardwarebuffer", true); pref("webgl.enable-draft-extensions", true); pref("webgl.enable-privileged-extensions", true); pref("webgl.enable-surface-texture", true); pref("widget.dmabuf-webgl.enabled", true); pref("pdfjs.enableWebGL", true); // supposed Vulkan-age WebGL replacement. Will likely crash on initialization // unlikely to ever be released, let alone - adopted //pref("dom.webgpu.enabled", true); //pref("dom.paintWorklet.enabled", true); //pref("dom.send_after_paint_to_content", true); pref("image.jxl.enabled", true); // Older GPUs don't have hardware acceleration for vp9 or av1 but h264 has worse quality for the same bitrate pref("media.av1.enabled", true); pref("image.avif.enabled", true); pref("image.cache.max-rasterized-svg-threshold-kb", 262144); pref("image.decode-immediately.enabled", true); pref("dom.media.webcodecs.enabled", true); // NO, shut up ! pref("media.autoplay.enabled", false); // Don't blast audio on full all the time ! pref("media.default_volume", "0.5"); // We don't want DRM backdoors but this is required for "online TV" trojans //pref("media.eme.enabled", false); // We want proper open-source codecs and not CISCO's "certified" blobs pref("media.gmp-gmpopenh264.enabled", false); pref("media.gmp-gmpopenh264.provider.enabled", false); //pref("media.gmp-provider.enabled", false); //pref("media.gmp.decoder.aac", 1); //pref("media.gmp.decoder.enabled", true); //pref("media.gmp.decoder.h264", 1); pref("media.ffmpeg.allow-openh264", false); pref("media.gmp.decoder.decode_batch", true); pref("media.gmp.decoder.multithreaded", true); // https://bugzilla.mozilla.org/show_bug.cgi?id=1619523 //pref("media.ffvpx.enabled", false); pref("media.navigator.mediadatadecoder_vpx_enabled", true); // May be broken at least until FF v81 pref("media.gpu-process-decoder", true); pref("media.hardware-video-decoding.enabled", true); //pref("media.hardware-video-decoding.force-enabled", true); //pref("media.cubeb.sandbox_v2", true); pref("media.rdd-process.startup_timeout_ms", 1900); pref("media.rdd-webaudio.batch.size", 256); //pref("media.rdd-process.enabled", true); pref("media.rdd-opus.enabled", true); pref("media.rdd-theora.enabled", true); //pref("media.rdd-vpx.enabled", false); //pref("media.rdd-ffvpx.enabled", false); pref("media.rdd-ffmpeg.enabled", true); pref("media.ffmpeg.vaapi.enabled", true); pref("media.ffmpeg.vaapi-drm-display.enabled", true); pref("media.ffmpeg.dmabuf-textures.enabled", true); pref("media.ffmpeg.encoder.enabled", true); // disable WebRTC for good? //pref("media.peerconnection.enabled", false); // ICE should be enabled for Tor's snowflake bridges to operate pref("media.peerconnection.ice.link_local", true); pref("media.peerconnection.ice.loopback", true); pref("media.peerconnection.agc_enabled", true); pref("media.peerconnection.noise_enabled", true); pref("media.peerconnection.mtransport_process", true); pref("media.peerconnection.video.h264_enabled", true); pref("media.peerconnection.video.vp9_enabled", true); pref("media.peerconnection.video.vp9_preferred", true); pref("media.webrtc.hw.h264.enabled", true); pref("media.webrtc.platformencoder", true); pref("media.webrtc.platformencoder.sw_only", false); pref("media.webrtc.software_encoder.fallback", true); pref("media.mediasource.webm.enabled", true); pref("media.mediasource.experimental.enabled", true); pref("media.navigator.video.red_ulpfec_enabled", true); pref("media.navigator.video.use_tmmbr", true); pref("media.navigator.video.default_height", 720); pref("media.navigator.video.default_width", 1280); pref("media.navigator.video.default_fps", 60); pref("media.tabstreaming.height", 480); pref("media.tabstreaming.width", 640); pref("media.fragmented-mp4.exposed", true); pref("media.resampling.enabled", true); pref("network.protocol-handler.external.magnet", true); // huh ? //pref("network.dns.offline-localhost", false); // Tor pref("network.dns.blockDotOnion", false); // DNS encryption pref("network.dns.echconfig.enabled", true); pref("network.dns.use_https_rr_for_speculative_connection", true); pref("network.proxy.ftp", "localhost"); pref("network.proxy.ftp_port", 8080); pref("network.proxy.http", "localhost"); pref("network.proxy.http_port", 8080); pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1/8, 192.168.0.0/16"); pref("network.proxy.socks", "localhost"); pref("network.proxy.socks_port", 9050); pref("network.proxy.socks_remote_dns", true); pref("network.proxy.ssl", "localhost"); pref("network.proxy.ssl_port", 8080); pref("network.proxy.type", 0); // More parallel connections pref("network.http.max-persistent-connections-per-proxy", 256); pref("network.http.max-persistent-connections-per-server", 48); pref("network.http.pipelining", true); pref("network.http.pipelining.aggressive", false); pref("network.http.pipelining.max-optimistic-requests", 6); pref("network.http.pipelining.maxrequests", 64); pref("network.http.pipelining.maxsize", 262144); pref("network.http.pipelining.reschedule-on-timeout", true); pref("network.http.pipelining.ssl", true); pref("network.http.proxy.pipelining", true); // https://bugzilla.mozilla.org/show_bug.cgi?id=1211165 pref("network.http.speculative-parallel-limit", 0); // Beef-up network ? pref("media.cache_readahead_limit", 30); pref("media.cache_size", 524288); pref("media.memory_cache_max_size", 131072); pref("media.media.memory_caches_combined_limit_kb", 1048576); pref("media.memory_caches_combined_limit_pc_sysmem", 12); pref("network.ssl_tokens_cache_enabled", true); // may segfault on startup and make whole thing inoperable //pref("network.process.enabled", false); pref("network.http.network_access_on_socket_process.enabled", true); pref("network.http.keep-alive.timeout", 58); pref("network.http.connection-retry-timeout", 29); pref("network.http.max-connections", 2048); pref("network.http.max-connections-per-server", 96); pref("network.buffer.cache.count", 128); // 65536-2097152-16777216 ? pref("network.tcp.tcp_fastopen_enable", true); pref("network.buffer.cache.count", 64); pref("network.buffer.cache.size", 2097152); pref("network.tcp.sendbuffer", 0); // https://bugzilla.mozilla.org/show_bug.cgi?id=1634020 //pref("network.http.http3.enabled", false); // Limit to avoid buffer fill delays ? Must be ≥16KB, 64KB (65536) may fit into GSO packet, 2MB (2097152) - into a "huge page" in RAM // Use '0' for 'system default' ? pref("network.http.http3.recvBufferSize", 2097152); //pref("network.http.http3.max_data", 16777216); //pref("network.http.http3.max_stream_data", 2097152); pref("network.http.http3.default-qpack-table-size", 2097152); pref("network.dns.http3_echconfig.enabled", true); pref("network.http.http3.enable_qlog", false); //pref("network.http.http3.enable_0rtt", false); //pref("network.http.http3.support_version1", false); pref("network.http.http3.version_negotiation.enabled", true); pref("network.dns.httpssvc.http3_fast_fallback_timeout", 90); pref("network.http.http3.parallel_fallback_conn_limit", 256); pref("network.http.http3.default-max-stream-blocked", 64); pref("network.websocket.allowInsecureFromHTTPS", true); pref("dom.udpsocket.enabled", true); // Deprecated and insecure ? https://github.com/dillbyrne/random-agent-spoofer/issues/478 // HTTP2 seems to suck on Google's sites //pref("network.http.http2.enabled", false); pref("network.http.http2.timeout", 170); pref("network.http.http2.ping-timeout", 3); pref("network.http.http2.default-concurrent", 255); pref("network.http.http2.chunk-size", 16384); pref("network.http.http2.send-buffer-size", 2097152); pref("network.http.http2.default-hpack-buffer", 2097152); pref("network.http.http2.pull-allowance", 16777216); pref("network.http.http2.push-allowance", 2097152); pref("network.http.http2.websockets", true); //pref("network.http.http2.persistent-settings", true); pref("dom.push.http2.maxRetries", 3); pref("dom.push.http2.reset_retry_count_after_ms", 2500); pref("dom.push.http2.retryInterval", 250); pref("javascript.options.baselinejit.threshold", 48); pref("javascript.options.ion.threshold", 256); pref("javascript.options.use_fdlibm_for_sin_cos_tan", true); //pref("javascript.options.wasm", true); //pref("javascript.options.wasm_baselinejit", true); pref("javascript.options.wasm_gc", true); pref("javascript.options.wasm_simd", true); pref("javascript.options.wasm_simd_avx", true); pref("javascript.options.wasm_memory64", true); pref("javascript.options.wasm_extended_const", true); pref("javascript.options.wasm_function_references", true); pref("javascript.options.wasm_relaxed_simd", true); pref("javascript.options.wasm_simd_wormhole", true); // https://bugzilla.mozilla.org/show_bug.cgi?id=1474543 pref("javascript.options.writable_streams", true); // For Tree-Style Tab pref("svg.context-properties.content.enabled", true); // DO IT, you bastard ! pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); // No, thanks, Mozilla pref("xpinstall.signatures.required", false); // Not only Mozilla has killed support for Adobe Flash blobs, it blocks Lightspark from loading local files for no reason pref("plugins.http_https_only", false); // Shut up, no one gives a shit! pref("full-screen-api.approval-required", false); pref("full-screen-api.warning.delay", 0); pref("full-screen-api.warning.timeout", 0); // Be dark pref("browser.display.background_color", "#EEEEEE"); pref("browser.display.focus_background_color", "#31363b"); pref("browser.display.focus_text_color", "#eff0f1"); pref("browser.display.foreground_color", "#0c0d0b"); pref("browser.display.use_system_colors", true); pref("extensions.activeThemeID", "firefox-compact-dark@mozilla.org"); pref("reader.color_scheme", "dark"); pref("devtools.theme", "dark"); // These may glitch out pref("browser.in-content.dark-mode", true); pref("widget.disable-dark-scrollbar", false); pref("widget.gtk.alt-theme.scrollbar", true); pref("widget.content.allow-gtk-dark-theme", true); pref("widget.gtk.alt-theme.dark", true); // Use system-wide DNS caching instead pref("network.dnsCacheEntries", 64); pref("network.dnsCacheExpiration", 10); pref("network.dnsCacheExpirationGracePeriod", 5); pref("network.dns.negative_ttl_for_type_record", 0); pref("network.dns.disablePrefetch", true); pref("network.dns.limit_253_chars", false); pref("network.predictor.enabled", false); pref("network.prefetch-next", false); pref("network.preload", true); pref("browser.fixup.dns_first_for_single_words", true); pref("browser.fixup.alternate.enabled", false); pref("network.mdns.use_js_fallback", true); // Disable DoH by default pref("network.trr.mode", 5); pref("network.trr.fallback-on-zero-response", true); pref("network.trr.odoh.min_ttl", 0); pref("network.trr.builtin-excluded-domains", "local"); pref("network.trr.allow-rfc1918", true); // Do not disable system-global or app-global extensions ? //pref("extensions.autoDisableScopes", 3); // Do not disable any scope pref("extensions.autoDisableScopes", 0); pref("extensions.shownSelectionUI", true); pref("extensions.langpacks.signatures.required", false); // enable D-Bus inteface for Gnome Shell search pref("browser.gnome-search-provider.enabled", true); // another disrespectful Mozilla idiocy: https://support.mozilla.org/en-US/questions/1370409 //pref("browser.download.improvements_to_download_panel", false);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor