Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question+Suggestion: There's a lot of bloat that's still enabled, could you implementing adding brave browser launch flags? #3

Open
BubbleSquish opened this issue Dec 24, 2024 · 20 comments
Labels
enhancement New feature or request

Comments

@BubbleSquish
Copy link

BubbleSquish commented Dec 24, 2024

There's a lot of stuff that's still toggled on. You can still for some reason enable the crap accidentally regardless of the policy management. For instance, when it randomly asks you if you'd like to "Enable some bullshit feature?" or "Send us some bullshit data?" or "Our bullshit crashed, automatically opt into ads for top 5 mini-fridges?" via notification directly under the bookmark bar.

I'd like to suggest adding in launch flags that'd disable all the bullshit tagged with News Wallet Crypto Coin Badge Rewards Ads Usage and intelligently implement flags that'd disable things related to bro wtf warnings/prompts.

Via flags, I have noticed I can actually even disable even seeing the options to enable/disable them... Which is great for navigating on the chrome page.

The policies... Even if it's not related to your script, but rather if Brave wants to include a policy to manage it or not, don't seem to be doing much, if anything.

@Twig6943
Copy link

Twig6943 commented Jan 11, 2025

@BubbleSquish could you post an all-in-one flag combination (flags to disable max amount of shit as possible) for debullshitiniation?

@MulesGaming MulesGaming added the enhancement New feature or request label Jan 12, 2025
@Twig6943
Copy link

FYI; Chromium supports the ability to save launch flags to a config file please see

https://wiki.archlinux.org/title/Chromium#Configuration
https://github.com/Twig6943/dotfiles/blob/main/chromium/cromite/cromite-flags.conf

@MulesGaming
Copy link
Owner

My main concern here is getting brave to launch with the flags applied. On linux I should just be able to modify the .desktop file to add launch flags, but for windows I can't really do that. I could edit the desktop shortcut but that wouldn't apply the flags when launching Brave any other way.

FYI; Chromium supports the ability to save launch flags to a config file please see

https://wiki.archlinux.org/title/Chromium#Configuration
https://github.com/Twig6943/dotfiles/blob/main/chromium/cromite/cromite-flags.conf

As far as I can tell this is exclusive to Arch Linux and doesn't exist on any other platforms so I'm a bit hesitant to use the config file.

@Twig6943
Copy link

My main concern here is getting brave to launch with the flags applied. On linux I should just be able to modify the .desktop file to add launch flags, but for windows I can't really do that. I could edit the desktop shortcut but that wouldn't apply the flags when launching Brave any other way.

FYI; Chromium supports the ability to save launch flags to a config file please see
https://wiki.archlinux.org/title/Chromium#Configuration
https://github.com/Twig6943/dotfiles/blob/main/chromium/cromite/cromite-flags.conf

As far as I can tell this is exclusive to Arch Linux and doesn't exist on any other platforms so I'm a bit hesitant to use the config file.

Nope its not exclusive to arch linux. I'm pretty sure this works with all linux distros. idk about mac and windows tho (somebody pls test)

@BubbleSquish
Copy link
Author

BubbleSquish commented Jan 14, 2025

My main concern here is getting brave to launch with the flags applied. On linux I should just be able to modify the .desktop file to add launch flags, but for windows I can't really do that. I could edit the desktop shortcut but that wouldn't apply the flags when launching Brave any other way.

FYI; Chromium supports the ability to save launch flags to a config file please see
https://wiki.archlinux.org/title/Chromium#Configuration
https://github.com/Twig6943/dotfiles/blob/main/chromium/cromite/cromite-flags.conf

As far as I can tell this is exclusive to Arch Linux and doesn't exist on any other platforms so I'm a bit hesitant to use the config file.

You're able to do this with most Linux distros, but the method for doing it with Windows is a little more complicated, but still pretty much basically the same. Just remember... Flags that apply to Linux don't always apply to Windows, and vise versa - simply because the feature isn't there yet for whichever operating system.

Simply put, for Windows, you can implement launch flags via registry. So basically, you can add the launch flags to your .reg file in your code. Which is mildly convenient since you're already doing something like that but for policies.

For almost all Linux distros. You can do the Local State method... Which is a little risky because you're modifying the users personal chromium profile, but it's literally just a text file with some gibberish related to their profile and the features enabled and then the flags they have enabled. So, you could just echo the debullshitter stuff in there. Or do the .desktop file, which I hate, don't do it. Or you can literally do $which brave (Consider nightly and beta as well) and then echo launch flags in their brave browser launcher, which is always a script and not an executable.

For nightly, I believe there's two fucking launchers called brave-nightly and brave-nightly-launcher... Which I haven't bothered to understand.


NOTE: There's policies that seem to be unable to be toggled off in:
brave://policy/logs

Notice Active Variations

Good Lord.... Anyway, I haven't figured out a way to toggle that shit off like the Ads related stuff and the other experimental surveillance features. This makes me believe that no matter what you do with your policies, they are still executing and communicating with their Rewards/VPN/AI/Ads/News bullshit as these Active Variations are only experimental and yet to be implemented. I haven't figured out how to stop them.

@BubbleSquish
Copy link
Author

@BubbleSquish could you post an all-in-one flag combination (flags to disable max amount of shit as possible) for debullshitiniation?

Yeah sure... Just give me a little because I have flags I am just fucking around with and I have to compile all the ones that relate to all debullshitting into a list.

@Twig6943
Copy link

@BubbleSquish could you post an all-in-one flag combination (flags to disable max amount of shit as possible) for debullshitiniation?

Yeah sure... Just give me a little because I have flags I am just fucking around with and I have to compile all the ones that relate to all debullshitting into a list.

alright alright bet

@MulesGaming MulesGaming pinned this issue Jan 15, 2025
@MulesGaming MulesGaming reopened this Jan 24, 2025
@Twig6943
Copy link

@BubbleSquish soo its been a while

@BubbleSquish
Copy link
Author

BubbleSquish commented Jan 24, 2025

@Twig6943

@BubbleSquish soo its been a while

I've been busy with some insurance and doctor appointments (all is fine, just switching things up due to outdated info).

What OS are you running?
Do you want an automated script example, or just a general breakdown? Let me know what exactly you're looking for.


Step 1: Revert Existing Policies

Before applying new customizations, back up and remove your current .json or .reg policy entries.

Reason: Policies can override your own custom flags. If a global policy is enabled, it could prevent your changes from taking effect. That’s why you should temporarily back them up and remove them, then reapply as needed. You'll still want them afterwards.

Depending on your OS, revert the changes made by:


Step 2: Disable Flags

Go to brave://flags and search for the following flags:

  • brave-ads (not to be confused with brave-adblock)
  • brave-rewards
  • brave-ai
  • brave-wallet
  • native-brave-wallet
  • brave-news
  • brave-ntp
  • brave-super-referral

Set them all to Disabled. After reading each description, it looks like “Disabled” is the correct configuration.


Experimental Policies

I’m experimenting with EnableExperimentalPolicies to figure out what it does and what else might be possible. Don't worry! They haven't documented it yet. So, you have to figure it out on your own. After that, you can send the Brave devs information on what they did so they can document it.

Also, @MulesGaming, it seems they removed NewTabPageLocation from actually doing anything. While it’s still a recognized policy, it’s marked invalid in practice—meaning the NTP location is now hard-locked. You have to manually configure it in Settings.

Which implies the background processes are still running, even if the front-end doesn’t show it. Honestly, they keep changing things so often that it breaks everything. We may need to compile our own version of Brave.

We should call our fork something like…

  • Scare
  • Archangel Michael

So when you dare to make your own brave fork of Brave, Archangel Michael will Scare Brendan Eich away.

Nahh... Brendan Eich is alright, it's just... Don't fork his browser or he'll sue you for some reason.

Sources:
https://en.wikipedia.org/wiki/Brendan_Eich
https://en.wikipedia.org/wiki/Christianity
https://www.youtube.com/watch?v=7xzU9Qqdqww
https://www.webmd.com/
https://en.wikipedia.org/wiki/Michael_(archangel)

Alternative sources:
https://en.wikipedia.org/wiki/Jesus

Additional sources:
https://en.wikipedia.org/wiki/Yeshua

Source:
https://www.biblestudytools.com/
https://o-bible.com/kjv.html
https://www.openbible.info/

Closed-source source sources:
https://www.holybooks.com/wp-content/uploads/2010/05/The-Holy-Bible-King-James-Version.pdf

Open-source source sources hosted on a closed-source website BUT uses open-source CMS (WordPress) HOWEVER is using closed-source extensions/plugins/themes/fonts/code such as Enfold. I am looking into it now for more information. Check for embedded DRM content in the .epub before downloading the .epub file as well as RMS-forbidden closed-source fonts:
http://www.equipd.me/wp-content/uploads/2015/06/KJV.epub

Source again:

Image

Issue:
https://en.wikipedia.org/wiki/Satan
You
Others
Myself

@BubbleSquish
Copy link
Author

BubbleSquish commented Jan 25, 2025

Just remember, I am kind of new to github and coding in general, so don't take everything I say as factual.

😅

@MulesGaming
Copy link
Owner

I've disabled all the flags you've mentioned but nothing except brave-ntp-search-widget and the ai related ones seems to have actually disabled anything. Rewards, wallet, and new tab page ads are still active.

@BubbleSquish
Copy link
Author

I've disabled all the flags you've mentioned but nothing except brave-ntp-search-widget and the ai related ones seems to have actually disabled anything. Rewards, wallet, and new tab page ads are still active.

....There should be some processes or subprocess that's active that's running the crypto and lovely ads.
I'm not sure though, because whoever created javascript really wants web3. It's not likely able to be changed without making our changes and recompiling and hopefully without having to do much.

But there's the issue with giving what we personally believe is a common annoyance, that of which is bullshit. Removing it, obviously. Do not wastefully discourage yourself. I'm full of debullshit and will look into it.

@BubbleSquish
Copy link
Author

BubbleSquish commented Jan 26, 2025

My main concern here is getting brave to launch with the flags applied. On linux I should just be able to modify the .desktop file to add launch flags, but for windows I can't really do that. I could edit the desktop shortcut but that wouldn't apply the flags when launching Brave any other way.

FYI; Chromium supports the ability to save launch flags to a config file please see
https://wiki.archlinux.org/title/Chromium#Configuration
https://github.com/Twig6943/dotfiles/blob/main/chromium/cromite/cromite-flags.conf

As far as I can tell this is exclusive to Arch Linux and doesn't exist on any other platforms so I'm a bit hesitant to use the config file.

Previously mentioned "local state method"
https://github.com/lepras/BraveBrowserDebloater/blob/main/BraveBrowserDebloater.sh
Edit the Local State file found in the users Brave folder and just put in your env var
BRAVE_DBLSHITR_FLGS='cat /path/to/wherever/that/will/be/DBLSHITR_FLAGS.conf'
call upon your wanted flags configuration
use /etc/environment to lock it in place globally using colorful mystery code

Random thing I found:
https://github.com/foxium-browser/foxium

@MulesGaming
Copy link
Owner

Modifying the local state & preferences files seems like it should work, and would allow more de-bloating options as well because were able to modify settings directly, but even if we do apply flags this way though there is still the issue of some of the flags not actually doing anything. We could just modify the settings however that still leaves remnants of the "features" that we're trying to disable. The main reason I went with group policies when first designing this is that is nearly whipped also visible parts of the bloat out of the browser, which just changing settings doesn't do. I might look at changing the flags that do work, and maybe some settings in the future, but unless you can figure out how to make flags disable everything, I don't think this can fully replace group policies.

For future reference the paths to the Brave user folder is C:\Users\{user}\AppData\Local\BraveSoftware\Brave-Browser on windows and /home/{user}/.config/BraveSoftware/Brave-Browser on linux.

Random thing I found:
https://github.com/foxium-browser/foxium

This seems cool, but if we were to fork brave, we would also be left with the responsibility of maintaining it, which is a lot for a browser which revives minor updates multiple times a week

@BubbleSquish
Copy link
Author

@MulesGaming

I never wanted to replace the policy stuff, it's just...

...At which part now are we at where flags aren't doing much and neither is policies due to the "HELLO! WOULD YOU LIKE TO OPT INTO STATISTICS", "BRAVE CRASHED SEND US YOUR SHIT", and "oops I somehow accidently clicked "aight bet" because you're yelling at me under right under my bookmark bar through rude banner notifications". Then, there's also this whole NTP issue that's refusing to comply with our demands to completely flush.

@BubbleSquish
Copy link
Author

BubbleSquish commented Jan 26, 2025

@MulesGaming

This seems cool, but if we were to fork brave, we would also be left with the responsibility of maintaining it, which is a lot for a browser which revives minor updates multiple times a week

Well... Heh! Let's do it.

We do not like bullshit, imagine... Brave but without crypto and ads.... It's almost like the devs knew this challenge would come, will we be sued by johovascript? I would love a web browser that does exactly what brave does.... Without all the things that the forum people are claiming can be easily be disabled despite what we seem to be confusingly running into on github of all places.

I mean... you can Google or "Bravely search it" and everyone who's complaining about it is being ass blasted by keyboard warriors for claiming the issue doesn't exist because you can press the happy-toggle-off button and issue gone. (it's not, are these people for real?)

@MulesGaming
Copy link
Owner

MulesGaming commented Jan 30, 2025

...At which part now are we at where flags aren't doing much and neither is policies due to the "HELLO! WOULD YOU LIKE TO OPT INTO STATISTICS", "BRAVE CRASHED SEND US YOUR SHIT", and "oops I somehow accidently clicked "aight bet" because you're yelling at me under right under my bookmark bar through rude banner notifications". Then, there's also this whole NTP issue that's refusing to comply with our demands to completely flush.

I agree. If there is a proper way to modify Brave to fully disable this I'll happily add it to the repo. If we can genuinely get flags to work they seem like they could fix stuff like this.

Well... Heh! Let's do it.

We do not like bullshit, imagine... Brave but without crypto and ads.... It's almost like the devs knew this challenge would come, will we be sued by johovascript? I would love a web browser that does exactly what brave does.... Without all the things that the forum people are claiming can be easily be disabled despite what we seem to be confusingly running into on github of all places.

I mean... you can Google or "Bravely search it" and everyone who's complaining about it is being ass blasted by keyboard warriors for claiming the issue doesn't exist because you can press the happy-toggle-off button and issue gone. (it's not, are these people for real?)

I'd support a de-bloated Brave fork but I don't really want the responsibility or time commitment of maintaining a fork of a browser. Even if you just look at something like Cromite there are multiple commits a day just to keep it up to date.

@Twig6943
Copy link

Meeh tbh people should just use cromite instead Cromite its the only foss chromium non-bloated browser that still has a built-in adblocker

@BubbleSquish
Copy link
Author

Meeh tbh people should just use cromite instead Cromite its the only foss chromium non-bloated browser that still has a built-in adblocker

Do it even matter though?

Right now I am just using brave because of its superior force-dark implementations (which is mostly just up-to-date chrome-dev features with its own twist)

@MulesGaming
Copy link
Owner

Meeh tbh people should just use cromite instead Cromite its the only foss chromium non-bloated browser that still has a built-in adblocker

Yeah, I'm using Cromite as my browser on my phone and it's good. I haven't really used it on desktop though. It's built in adblocker isn't as good as Brave's (but Brave's is the only built-in adblocker I've seen that gets anywhere close to uBlock origin), but that's not really a big deal because uBlock Origin exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants