Giter Site home page Giter Site logo

yokoffing / betterfox Goto Github PK

View Code? Open in Web Editor NEW
3.5K 45.0 112.0 852 KB

Firefox user.js for speed, privacy, and security. Your favorite browser, but better.

License: MIT License

JavaScript 100.00%
firefox anti-tracking mozilla privacy security settings tracking gecko performance speed

betterfox's Introduction

hey there

betterfox's People

Contributors

bestplayerbotphone avatar brenex avatar e-tho avatar galantra avatar iam-py-test avatar raecaug avatar soulspark666 avatar square789 avatar yokoffing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

betterfox's Issues

Something I've configured keeps deleting all my violentmonkey scripts upon browser restart.

I think it's an about:config setting I've changed but I don't exactly know which. Any ideas what might be causing it? Whenever I restart nightly or when it has to restart to apply updates all my violentmonkey scripts get cleared. All my extensions however, are intact, like ublock etc.

Anyone know what might be the problem?

I tried another tampermonkey too and I'm getting the same issue. But ublock for example is fine, and I'm not sure about this inconsistency.

Updater

It would be nice to have an updater instead of having to check out. if new version of Betterfox came out. You could fork ArkenFox's updater and edit it to check and pull new versions of user.js from this repo. It also would be a great opportunity to introduce user-overrides.js, so update wouldn't wipe all the user's edits.

Overrides for setting the default browser

Hi, I noticed that there is user_pref("browser.shell.checkDefaultBrowser", false); on peskyfox, I tried to set it to true in the overrides, while the popup does show up, after pressing "Set as default browser" it still doesn't set firefox as the default browser (e.g chrome is still set as the default browser).
I think that there might be other prefs that's preventing it to work. I'm thinking that maybe you know what prefs that is?
For clarity, I'm talking about this thing:
image

The Google Analytics Website is not working

BEFORE YOU BEGIN

I have attempted the following troubleshooting suggestions:

  • The issue persists when using Firefox in Troubleshoot Mode.
  • Disabled DNS-level content blocking (AdGuard Home, NextDNS, Control D, RethinkDNS, PiHole, etc), cleared my DNS cache, and used my ISP's DNS resolver (if applicable).
  • Cleared website data, restarted Firefox, and my issue persists.
  • I have created a new profile. The issue persists when using the current user.js file on GitHub. (Must be in a new profile and a new user.js!)

REPORT

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Typing causes search box to appear

When you type outside of a text box it makes the search box to appear, is there a fix/change to turn this off? I think if it isn't added yet it would be great for Peskyfox.

[BUG]Wrong placement of two commas in TinkerFox.js

REPORT

Describe the bug
TinkerFox.js in master branch line 39, 40, the comma is incorrectly placed before the closing double quote.

To Reproduce
Go to the permalink, then you can see the error.

Expected behavior
Move the comma after the closing double quote.

Screenshots
图片

Enable auto scrolling by default

On Linux for some reason auto scrolling is disabled by default, this allows you to scroll faster or scroll left or right by holding down the middle mouse button. One of the first settings I change because it's annoying without it personally. For whatever reason it's already enabled on Windows and maybe MacOS, but on Linux it isn't, personally haven't had any bugs with it or anything so I have no idea why it's like this

Opinions needed for Ghostery Dawn

Hi, my name is Krzysztof and I'm developing Ghostery Dawn - Privacy focused Firefox fork coming from Ghostery.

Our community member @PoorPocketsMcNewHold brought your project to our attention ghostery/user-agent-desktop#458.
It's great to see such nicely put set of Firefox configs in one place. We will gladly copy those into Dawn project.

It would be even better if we can get your opinion on the configs we've put together already https://github.com/ghostery/user-agent-desktop/blob/a17fe90d769324ce4e42712168d7da2084dac909/brands/ghostery/branding/pref/firefox-branding.js and what we could improve. Would you like to collaborate with us on creating those configs?

How do I update the user.js?

Hi, a newbie question sorry. I would like to know how to update the user.js version after version keeping the modifications I made. Thank you very much for your work. Best regards.

night mode

How do i override night mode setting in user,js?

Where do I create this file?

I was looking at my about:support section and found /Library/Application Support/Firefox/Profiles/yrhwfusd.default-release folder, do I simply create the user.js file here and copy/pasta? I do see my pref.js file in this same location.

Thanks.

Numbers on Desmos graph axes appear glitched (gfx.canvas.accelerated)

BEFORE YOU BEGIN

I have attempted the following troubleshooting suggestions:

  • [-] The issue persists when using Firefox in Troubleshoot Mode.
  • [☑️] Disabled DNS-level content blocking (AdGuard Home, NextDNS, Control D, RethinkDNS, PiHole, etc), cleared my DNS cache, and used my ISP's DNS resolver (if applicable).
  • [☑️] Cleared website data, restarted Firefox, and my issue persists.
  • [☑️] I have created a new profile. The issue persists when using the current user.js file on GitHub. (Must be in a new profile and a new user.js!)

REPORT

Describe the bug
A clear and concise description of what the bug is.
When using the Desmos graphing calculator, the numbers on the axes appear glitched.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://www.desmos.com/calculator'
  2. See error

Expected behavior
A clear and concise description of what you expected to happen.
The numbers on the axes should be clearly readable.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Firefox
  • Version 115.0.2 (Betterfox 115)

Additional context
Add any other context about the problem here.
This only occurs in non-troubleshooting mode. Troubleshooting mode disables hardware acceleration, which fixes it. A default profile of Firefox with hardware acceleration enabled works fine, so it must be something in the user.js.

Twitter embed video in Discord

BEFORE YOU BEGIN

I have attempted the following troubleshooting suggestions:

  • [ x] Cleared website data, restarted Firefox, and my issue persists.
  • [ x] No issues when using the website or extension in another web browser.
  • [ x] The issue persists when using Firefox in Safe Mode.
  • [x ] Disabled DNS-level content blocking (AdGuard, NextDNS, PiHole), cleared my DNS cache, and used my ISP's DNS resolver (if applicable).

REPORT

Describe the bug
Tracking Protection is blocking Twitter embed video in Discord from playing. When disabling that protection, the video plays just fine.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Discord'
  2. Log in to your account.
  3. Paste and send a twitter video link to one of your friend.
  4. Try clicking the play button
  5. Nothing is playing

Expected behavior
The Twitter embed video is playing just fine in Discord.

Screenshots
https://i.imgur.com/6dC2kxK.png
And this is when I click the play button, nothing is happening
https://i.imgur.com/VlFwWP2.png

Desktop (please complete the following information):

  • OS : Windows 10 22H2
  • Browser : Firefox
  • Version : 103.0.2 x64

Additional context
The test link for twitter embed post (https://www.newsweek.com/cryptic-tweet-britney-spears-shows-elton-john-collab-may-date-back-2015-1728036) contain a embed twitter video which is playing just fine. However, It's not the case with Discord and embed Twitter video.

To go further, when disabling Tracking Protection, the embed Twitter video plays just fine in Discord. To me, that means the Tracking Protection is blocking embed Twitter video in Discord for some reason.

Thank you

Hello there, @yokoffing
Thank you for everything you're doing here, sharing your awesome work with us. I'm using many of your repositories, they are well explained, detailed and often updated.
One question, what command(s) on your user.js/user-overrides.js disables the Firefox sync ability, please? I would like to have it enabled, so it can save my settings and bookmarks.
Again, thank you so much.

separate search bar from URL bar

Due to the fact that the current user.js has disabled search suggestions for privacy, I suggest disabling search from the address bar altogether, as already implemented in ungoogled chromium with the nosearch search provider.
To do this, you need to add user_pref such as:

user_pref("browser.urlbar.suggest.searches", false);
user_pref("keyword.enabled", false);
user_pref("browser.fixup.alternate.enabled", false);

Fix and restore the old default theme color scheme behaviour

Hello,
this is not properly an issue but a thing that I think it should be added (and reverted to the original behaviour).
Since I think version 95 of Firefox, the color scheme has been changed to match the Firefox theme and not the default system one.
For instance, we could have a totally light Windows 10/11 but still, if the Firefox theme is dark, the whole Firefox would be dark.

I guess it makes more sense for it to follow the system one, this can easily be achieved by setting:

layout.css.prefers-color-scheme.content-override to 2

Let me know what you think, if this does not make sense feel free to close the issue!
Thanks

[CMD] WidivineCmd plugin has crashed

I have attempted the following troubleshooting suggestions:

  • Cleared website data, restarted Firefox, and my issue persists.
  • No issues when using the website or extension in another web browser.
  • The issue persists when using Firefox in Safe Mode.
  • Disabled DNS-level content blocking (AdGuard, NextDNS, PiHole), cleared my DNS cache, and used my ISP's DNS resolver (if applicable).

REPORT

I can't play encrypted videos. More specifically on Udemy. Firefox sends a prompt:

The WidevineCmd plugin has crashed.

To Reproduce
Steps to reproduce the behavior:

You may need to enable DRM

  1. Go to udemy system-check
  2. Scroll down to 'encrypted test video'
  3. See error

Expected behavior
A video should play and WidivineCmd should not crash

Desktop:

  • OS: Fedora-36 KDE plasma spin

Several small issues

Hey,
I used your prebuilt user.js, but I noticed some small annoyances.

Youtube doesn't remember the Playersize after a restart of the browser. How do I fix that?

I actively used Firefox sync but even removing the lines from the user.js diodnt bring it back, I had to manually reenable the identity.fxaccount. Do I have to reenable all the prefs that I deleted from the user.js?

And the smoothfox part doesnt seem to do anything? At least for me.

I have FF 109.0.
Thanks

Here is my current file:

//
/* You may copy+paste this file and use it as it is.
 *
 * If you make changes to your about:config while the program is running, the
 * changes will be overwritten by the user.js when the application restarts.
 *
 * To make lasting changes to preferences, you will have to edit the user.js.
 */

/****************************************************************************
 * Betterfox                                                                *
 * "Ad meliora"                                                             *
 * version: 108                                                             *
 * url: https://github.com/yokoffing/Betterfox                              *
****************************************************************************/



/** DISK AVOIDANCE ***/
user_pref("browser.cache.disk.enable", false);
user_pref("browser.privatebrowsing.forceMediaMemoryCache", true);
user_pref("browser.sessionstore.privacy_level", 2);
user_pref("browser.pagethumbnails.capturing_disabled", true);



/****************************************************************************
 * SECTION: PESKYFOX                                                        *
****************************************************************************/
/** MOZILLA UI ***/
user_pref("layout.css.prefers-color-scheme.content-override", 2);
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
user_pref("app.update.suppressPrompts", true);
user_pref("accessibility.force_disabled", 1);
user_pref("browser.compactmode.show", true);
user_pref("browser.privatebrowsing.vpnpromourl", "");
user_pref("extensions.getAddons.showPane", false);
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
user_pref("browser.shell.checkDefaultBrowser", false);
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false);
user_pref("browser.preferences.moreFromMozilla", false);
user_pref("browser.tabs.tabmanager.enabled", false);
user_pref("browser.aboutwelcome.enabled", false);
user_pref("findbar.highlightAll", true);
user_pref("middlemouse.contentLoadURL", false);
user_pref("browser.privatebrowsing.enable-new-indicator", false);

/** FULLSCREEN ***/
user_pref("full-screen-api.transition-duration.enter", "0 0");
user_pref("full-screen-api.transition-duration.leave", "0 0");
user_pref("full-screen-api.warning.delay", 0);
user_pref("full-screen-api.warning.timeout", 0);

/** URL BAR ***/

/** NEW TAB PAGE ***/
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false);
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);

/*** POCKET ***/
user_pref("extensions.pocket.enabled", false);

/****************************************************************************
 * SECTION: FASTFOX                                                         *
****************************************************************************/
user_pref("nglayout.initialpaint.delay", 0);
user_pref("nglayout.initialpaint.delay_in_oopif", 0);
user_pref("content.notify.interval", 120000); // reset pref
user_pref("browser.startup.preXulSkeletonUI", false);

user_pref("browser.sessionstore.interval", 30000);

/** EXPERIMENTAL ***/
user_pref("layout.css.grid-template-masonry-value.enabled", true);
user_pref("dom.enable_web_task_scheduling", true);
user_pref("layout.css.animation-composition.enabled", true);

/** GFX ***/
user_pref("gfx.webrender.all", true);
user_pref("gfx.webrender.precache-shaders", true);
user_pref("gfx.webrender.compositor", true);
user_pref("layers.gpu-process.enabled", true);
user_pref("media.hardware-video-decoding.enabled", true);
user_pref("gfx.canvas.accelerated", true);
user_pref("gfx.canvas.accelerated.cache-items", 32768);
user_pref("gfx.canvas.accelerated.cache-size", 4096);
user_pref("gfx.content.skia-font-cache-size", 80);
user_pref("image.cache.size", 10485760);
user_pref("image.mem.decode_bytes_at_a_time", 131072);
user_pref("image.mem.shared.unmap.min_expiration_ms", 120000);
user_pref("media.memory_cache_max_size", 1048576);
user_pref("media.memory_caches_combined_limit_kb", 2560000);
user_pref("media.cache_readahead_limit", 9000);
user_pref("media.cache_resume_threshold", 6000);

/** BROWSER CACHE ***/
user_pref("browser.cache.memory.capacity", -1);
user_pref("browser.cache.memory.max_entry_size", 153600);

/** NETWORK ***/
user_pref("network.buffer.cache.size", 262144);
user_pref("network.buffer.cache.count", 128);
user_pref("network.dnsCacheEntries", 20000);	
user_pref("network.dnsCacheExpiration", 3600);	
user_pref("network.dnsCacheExpirationGracePeriod", 240);
user_pref("network.ssl_tokens_cache_capacity", 32768);

// PREF: WebGPU [HIGHLY EXPERIMENTAL!] [NIGHTLY]
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1746245
// [2] https://github.com/gpuweb/gpuweb/wiki/Implementation-Status
// [3] https://hacks.mozilla.org/2020/04/experimental-webgpu-in-firefox/
// [4] https://developer.chrome.com/docs/web-platform/webgpu/
user_pref("dom.webgpu.enabled", true);
user_pref("gfx.webgpu.force-enabled", true);

/****************************************************************************
 * SECTION: SMOOTHFOX                                                       *
****************************************************************************/
// see https://github.com/yokoffing/Betterfox/blob/master/Smoothfox.js
// Enter your scrolling prefs below this line:

// user_pref("general.smoothScroll",                                       true); // DEFAULT
// user_pref("general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS", 12);
// user_pref("general.smoothScroll.msdPhysics.enabled",                    true);
// user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant",  600);
// user_pref("general.smoothScroll.msdPhysics.regularSpringConstant",      650);
// user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS",         25);
// user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio",      2.0);
// user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant",     250);
// user_pref("general.smoothScroll.currentVelocityWeighting",              1.0);
// user_pref("general.smoothScroll.stopDecelerationWeighting",             1.0);
// user_pref("mousewheel.default.delta_multiplier_y",                      280);

/****************************************************************************
 * START: MY OVERRIDES                                                      *
****************************************************************************/
// Enter your personal prefs below this line:

/****************************************************************************
 * END: BETTERFOX                                                           *
****************************************************************************/

network.http.pipelining

I suggest adding two parameters to Fastfox and user.js that will speed up Firefox.
network.http.pipelining -> true
network.http.proxy.pipelining -> true
network.http.pipelining.maxrequests -> 30 [Set "network.http.pipelining.maxrequests" to, for example, 30, which means it will make 30 requests at a time.]

WhatsApp web QR code not loading for one install

I'm using the same modified user.js between my machines (including x86 desktops running Linux, and my MacBook Pro). On one of the Linux boxes running Fedora 37 (6.1.7-200.fc37.x86_64), WhatsApp web won't load the QR code required to sign in using my phone. It just spins for eternity and never loads. My MacBook Pro using the same user.js works perfectly with WhatsApp web, so I know (in theory) it shouldn't be the user.js at fault.

I've tried disabling all extensions (restarting into troubleshooting mode), to no avail. If I make a new profile on that machine, the page loads the QR code just fine. Having narrowed it down to the particular profile, I deleted prefs.js and restarted Firefox, thinking it was an old changed pref that didn't get modified back by user.js or whatever, but it still doesn't work. It's a pain to make a new profile (again), so I'm wondering if anyone knows what config tweak may have broken this?

I'm running Firefox 109.0-4.fc37. Extensions are uBlock Origin 1.46.0, Bitwarden 2023.1.0, h264ify-embed-fix 1.1.2, Simple Translate 2.8.0 and SponsorBlock for YouTube 5.1.12.

I have Betterfox v109 with the following overrides. Note that for ease, I have both macOS and Linux tweaks in there, so I can back up a single user.js to my NAS and offsite, and I enable/disable them as required on the particular machine:

/****************************************************************************
 * START: MY OVERRIDES                                                      *
****************************************************************************/
// Enter your personal prefs below this line:
// PREF: restore Firefox accounts
user_pref("identity.fxaccounts.enabled", true);
user_pref("browser.uidensity", 1);

// PREF: Enable GPC beacon
user_pref("privacy.globalprivacycontrol.enabled", true);
user_pref("privacy.globalprivacycontrol.functionality.enabled", true);

// PREF: smoother font
// [1] https://old.reddit.com/r/firefox/comments/wvs04y/windows_11_firefox_v104_font_rendering_different/?context=3
user_pref("gfx.webrender.quality.force-subpixel-aa-where-possible", true);

// PREF: use macOS Appearance Panel text smoothing setting when rendering text [macOS]
//user_pref("gfx.use_text_smoothing_setting", true);

/** SEARCH / URL BAR ***/
user_pref("browser.search.separatePrivateDefault.ui.enabled", false);
user_pref("browser.urlbar.update2.engineAliasRefresh", true);
user_pref("browser.search.suggest.enabled", false);
user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false);
user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", true);
user_pref("network.IDN_show_punycode", true);

// PREF: allow site notifications
user_pref("dom.push.enabled", true);
user_pref("permissions.default.desktop-notification", 0);

// PREF: enable a Dark theme for browser and webpage content
// [TEST] https://9to5mac.com/
user_pref("ui.systemUsesDarkTheme", 1); // HIDDEN
user_pref("browser.in-content.dark-mode", true); // HIDDEN

// PREF: restore "View image info"
user_pref("browser.menu.showViewImageInfo", true);

// PREF: Prevent scripts from moving and resizing open windows
user_pref("dom.disable_window_move_resize", true);

// From yokoffing user-overrides.js
/** SECUREFOX ***/
user_pref("network.trr.confirmationNS", "skip"); // skip TRR confirmation request
user_pref("network.notify.checkForProxies", false); // skip proxy request check
// HTTPS-First instead of HTTPS-only
user_pref("dom.security.https_only_mode", true); // disable in user.js
user_pref("dom.security.https_first", false); // HTTPS-First instead of HTTPS-only

/****************************************************************************
 * SECTION: FONTS                                                          *
****************************************************************************/

// PREF: disable rendering of SVG OpenType fonts
// [1] https://github.com/arkenfox/user.js/issues/1529
user_pref("gfx.font_rendering.opentype_svg.enabled", false);

// PREF: limit font visibility (Windows, Mac, some Linux) [FF94+]
// Uses hardcoded lists with two parts: kBaseFonts + kLangPackFonts [1], bundled fonts are auto-allowed
// In Normal windows: uses the first applicable: RFP (4506) over TP over Standard
// In Private Browsing windows: uses the most restrictive between normal and private
// 1=only base system fonts, 2=also fonts from optional language packs, 3=also user-installed fonts
// [1] https://searchfox.org/mozilla-central/search?path=StandardFonts*.inc
user_pref("layout.css.font-visibility.resistFingerprinting", 1); // DEFAULT
    user_pref("layout.css.font-visibility.trackingprotection", 1); // Normal Browsing windows with tracking protection enabled
    user_pref("layout.css.font-visibility.private", 1); // Private Browsing windows
        user_pref("layout.css.font-visibility.standard", 1); // Normal Browsing windows with tracking protection disabled(?)


/** PESKYFOX ***/
user_pref("general.autoScroll", true); // disable unintentional behavior for middle click
user_pref("browser.tabs.loadInBackground", true); // CTRL+SHIFT+CLICK for background tabs; Settings>General>Tabs>"When you open a link, image or media in a new tab, switch to it immediately"
user_pref("media.videocontrols.picture-in-picture.improved-video-controls.enabled", true);
user_pref("media.videocontrols.picture-in-picture.display-text-tracks.size", "small");
user_pref("image.jxl.enabled", true);

/** FASTFOX ***/
user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true);
user_pref("browser.sessionstore.interval", 30000); // set minimum interval between session save operations
user_pref("gfx.webrender.compositor.force-enabled", true); // reinforce
user_pref("layers.gpu-process.force-enabled", true); // reinforce
user_pref("media.hardware-video-decoding.force-enabled", true); // reinforce
user_pref("media.av1.enabled", false); // disable AV1 to force video hardware decoding
user_pref("network.http.speculative-parallel-limit", 18);
user_pref("network.dns.disablePrefetch", false);
    user_pref("network.dns.disablePrefetchFromHTTPS", false);
user_pref("network.prefetch-next", true);
user_pref("network.predictor.enabled", true);
user_pref("network.predictor.enable-prefetch", true);
user_pref("network.predictor.enable-hover-on-ssl", true);
    user_pref("network.predictor.preresolve-min-confidence", 10);
    user_pref("network.predictor.preconnect-min-confidence", 20);
    user_pref("network.predictor.prefetch-min-confidence", 30);
        user_pref("network.predictor.prefetch-force-valid-for", 3600);
        user_pref("network.predictor.prefetch-rolling-load-count", 120);
    user_pref("network.predictor.max-resources-per-entry", 250);
    user_pref("network.predictor.max-uri-length", 1000);

/** DELETE IF NOT macOS ***/
//user_pref("pdfjs.defaultZoomValue", "page-width"); // LAPTOP; PDF zoom level

//// MY EXISTING TWEAKS
//
// VAAPI ON LINUX
user_pref("media.ffmpeg.vaapi.enabled", true);
user_pref("gfx.webrender.all", true);
//
// Encrypt Client Hello (replaces ESNI)
user_pref("network.dns.echconfig.enabled", true);
user_pref("network.dns.http3_echconfig.enabled", true);
user_pref("network.dns.use_https_rr_as_altsvc", true);
// Enable http3/quic
user_pref("network.http.http3.enable", true);// Enable DoH3
user_pref("network.trr.allow-rfc1918", true);
user_pref("network.trr.custom_uri", "https://own.dns.server/dns-query/");
user_pref("network.trr.disable-ECS", false);
user_pref("network.trr.mode", 3);
user_pref("network.trr.uri", "https://own.dns.server/dns-query/");
//

/****************************************************************************
 * END: BETTERFOX                                                           *
****************************************************************************/

The website loads but then everything disappears

BEFORE YOU BEGIN

I have attempted the following troubleshooting suggestions:

  • Disabled DNS-level content blocking (Control D, RethinkDNS, AdGuard Home, NextDNS, PiHole, etc), cleared my DNS cache, and used my ISP's DNS resolver (if applicable).
  • Cleared website data, restarted Firefox, and my issue persists.
  • The issue persists when using the current, recommended user.js in a new profile.

REPORT

The website https://www.walmart.com/ initially loads the content then suddenly everything disappears and the web page remains empty.
The problem is not solved even by disabling uBlock Origin.
The problem is not solved even by disabling anti-trackers protection for the website.

The problem is solved with the default profile.

To Reproduce

  1. Open website

  2. Wait for the web page to finish loading

Expected behavior
That the web page shows its content

Screenshots
Current behavior:

1

Desktop (please complete the following information):

  • OS: Windows 10 22H2
  • Browser Firefox
  • Version 108.0.2

Additional context

The open website with Edge:
2

Open link on a new tab

Hello again, @yokoffing
How to make Firefox to stay on the page when I click on a link, please? I would like to stay on page and links opening on background tabs.
Thank you, friend. :)

disabling the menu bar on alt

I suggest disabling the menu bar in Peskyfox.js and user.js.
When you press alt, an annoying menu bar appears, sometimes preventing you from changing windows.
Here is the code to disable it:
user_pref("ui.key.menuAccessKeyFocuses", false);

PDF.js broken with Fastfox (gfx.canvas.accelerated)

BEFORE YOU BEGIN

I have attempted the following troubleshooting suggestions:

  • The issue persists when using Firefox in Troubleshoot Mode.
  • Disabled DNS-level content blocking (AdGuard Home, NextDNS, Control D, RethinkDNS, PiHole, etc), cleared my DNS cache, and used my ISP's DNS resolver (if applicable).
  • Cleared website data, restarted Firefox, and my issue persists.
  • I have created a new profile. The issue persists when using the current user.js file on GitHub. (Must be in a new profile and a new user.js!)

REPORT

Describe the bug
I copied Fastfox section of user.js into my user.js, and the PDF viewer seems broken.

To Reproduce

1. Copy Fastfox section into user.js
2. Open Firefox
3. Open https://www.africau.edu/images/default/sample.pdf

Expected behavior
Please don't make the PDF viewer broken.

Screenshots
image

Desktop (please complete the following information):

  • OS: [Windows 11]
  • Browser [Firefox Nightly (Latest)]

Additional context

[BUG] graad.eu Website gets broken css

BEFORE YOU BEGIN

I have attempted the following troubleshooting suggestions:

  • Cleared website data, restarted Firefox, and my issue persists.
  • No issues when using the website or extension in another web browser.
  • The issue persists when using Firefox in Safe Mode.
  • Disabled DNS-level content blocking (AdGuard, NextDNS, PiHole), cleared my DNS cache, and used my ISP's DNS resolver (if applicable).

REPORT

Describe the bug
When browsing the website graad.eu with user.js full list applied, some css files won't get loaded and the website is not displayed correctly, between those files we have: default.css, theme.css, queries.css

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'graad.eu'
  2. See error

Expected behavior
The website should be displayed correctly.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [Windows 11]
  • Browser [Firefox]
  • Version [94]

Immagine 2021-11-03 225257

Suggestion: Container Tabs

Hello. Would you mind adding these configs to the user.js?

user_pref("privacy.userContext.enabled", true);
user_pref("privacy.userContext.ui.enabled", true)

Thanks.

Consider adding overscroll to Smoothfox.js

Consider adding an option in Smoothfox.js to enable overscroll (apz.overscroll.enabled)

It only works on touchpads (and presumably touchscreens).

How it looks:

overscroll.mp4

Is possible to include these two things in the user.js?

Going through the 'optional hardening' section found this:

Sanitize on close

Clear browsing data on shutdown:

Go to ☰ → Settings → Privacy & Security → Cookies and Site Data → Delete cookies and site data when Firefox is closed

You can allow exceptions if you want to stay logged in to some sites:

Go to ☰ → Settings → Privacy & Security → Cookies and Site Data → Manage Exceptions
For cross-domain logins, add exceptions for both sites
    e.g. https://www.youtube.com (site) + https://accounts.google.com (single sign on)

Wondering if these two things, "Delete cookies and site data when Firefox is closed" and the list of exception domains can be done via user.js file instead of manually.

[BUG] Website not loading.

BEFORE YOU BEGIN

I have attempted the following troubleshooting suggestions:

  • Cleared website data, restarted Firefox, and my issue persists.
  • No issues when using the website or extension in another web browser.
  • The issue persists when using Firefox in Safe Mode.
  • Disabled DNS-level content blocking (AdGuard, NextDNS, PiHole), cleared my DNS cache, and used my ISP's DNS resolver (if applicable).

REPORT

Describe the bug
The website https://www.mg.superesportes.com.br keeps loading and shows nothing on screen. I tried all the suggestions above, but no luck. Site was working fine before using your user.js. I restored the backup from my old profile and all works fine.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://www.mg.superesportes.com.br
  2. Page never loads up

Expected behavior
Site opening normally.

Desktop (please complete the following information):

  • OS: Windows 10 Pro 21H2
  • Browser Firefox
  • Version 97.0

Additional context
It's my first time using a "custom" user.js. and I don't know much about the commands inside it. If you could let me know which command is causing the issue, please let me know, so I can change it.
Thanks in advance.

Understanding user.js syntax

First of all, I'm really new to this userjs stuff, please forgive me if my question is stupid, but /& ones like this are not expired before, right? for example

PREF: attempt to remove ugly border drawn around links when clicked [macOS]

//user_pref("accessibility.mouse_focuses_formcontrol", 0);

it's not outdated or expired, is it just something left to the user's choice? or is it outdated?

Whitelisting TLDs using "urlclassifier.trstrictackingSkipURLs"

In ETP, whitelisting a few TLDs e.g.: user_pref("urlclassifier.trackingSkipURLs", "*.com, *.net, *.org"); effectively disables most blocking of general tracking content while retaining other protections under Firefox ETP Strict Mode. Add-on content blockers such as uBlock Origin provide configurable & granular blocking & whitelisting of tracking content, while whitelisting ETP via the Firefox URLbar shield drops all tracking protection on that site. Also, having 2 different content blockers (ETP + UBO) complicates trouble-shooting broken sites.

My question is whether whitelisting TLDs using "urlclassifier.trackingSkipURLs" also disables the filtering of Cross-site cookies, Cryptominers, Fingerprinters & Social media trackers (these categories of filters reside in the same master blocklist: https://github.com/mozilla-services/shavar-prod-lists). I've searched for an answer to this, but I have been unable to find any documentation on "SkipURLs" other than what you have posted here & on Reddit.

Thank you for any insights you may have on this.

Google Maps

BEFORE YOU BEGIN

I have attempted the following troubleshooting suggestions:

  • The issue persists when using Firefox in Troubleshoot Mode.
  • Disabled DNS-level content blocking (AdGuard Home, NextDNS, Control D, RethinkDNS, PiHole, etc), cleared my DNS cache, and used my ISP's DNS resolver (if applicable).
  • Cleared website data, restarted Firefox, and my issue persists.
  • I have created a new profile. The issue persists when using the current user.js file on GitHub. (Must be in a new profile and a new user.js!)

REPORT

Describe the bug
on google maps site "globe mode" is not available and zooming is intermittent

To Reproduce
I go to google maps and observe the inability to turn on "globe mode" and intermittent zooming

1. Go to google maps
2. Click on layers
3. Scaling the map
4. See error

Expected behavior
globe mode on google maps and smooth zooming

Screenshots
If applicable, add screenshots to help explain your problem.

2023-08-01.22-18-45.mp4

Desktop (please complete the following information):

  • Windows 10 22H2 x64
  • Firefox
  • 116.0

Additional context
Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.