Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In addition to completely disabling AI, I found the following setting extremely convinent to disable in about:config. They clutter up my right-click on a link or on text selection.

  browser.translations.select.enable
  dom.text_fragments.enabled
  privacy.query_stripping.strip_on_share.enabled
  devtools.accessibility.enabled
Now if only I could get rid of "Print selection" and "Services" when right-clicking, too (on MacOS)


Also forgot `browser.ml.chat.menu`, `browser.ml.linkPreview.enabled`. If only there was a way to get rid of "Email image", and "Set image as desktop background".


Try modifying a webpage’s source to open with <html mozdisallowselectionprint>. If that works, you can make that universal using any page-mod plugin (though not necessarily the userstyle CSS-only ones). I’m mobile-only tonight so I can’t test myself, but derived from:

https://searchfox.org/firefox-main/source/layout/printing/ns...


Why would you disable "dom.text_fragments.enabled"? Why "privacy.query_stripping.strip_on_share.enabled"?

The latter, especially, seems helpful.


`dom.text_fragments.enabled` to remove "Copy link to highlight" on right-click. Yes, it can be useful, but I never use it and the very rare occasion of needing to use it when opening a page, I can just search it myself.

`privacy.query_stripping.strip_on_share.enabled` to remove "Copy clean link". I would rather it just did that clean link thing automatically, but I don't actually care about clean links -- it's just annoying having two "copy link" next to each other (especially with one which is greyed out 99% of the time!)


It strips query params used for tracking. Has it never bothered you when you click share on Instagram or YouTube and it inserts a unique-to-you "share ID" in the URL? I was burned by this once, now every time I copy a share URL from a social media platform I first paste it into my text editor and remove all of the privacy invasive tracking cruft.

As an aside I think it's only matter of time before this is done without query params and instead each share link is generated just for you.


You may be interested in the ClearURLs extension: https://addons.mozilla.org/en-US/firefox/addon/clearurls/


I'm also missing:

  dom.text-recognition.enabled
  browser.search.visualSearch.featureGate
  extensions.formautofill.addresses.enabled
  extensions.formautofill.creditCards.enabled
  widget.macos.native-context-menus
The last one removes the "Services" option when right-clicking an image or highlighted text.


I wish we could also disable "Send via email" when right clicking a picture, I constantly misclick and userChrome.css does not work for the context menu on macOS since it's natively rendered...


> userChrome.css does not work for the context menu on macOS

Putting:

#context-sendimage { display:none!important; }

in that file works for me.


Does not work on macOS, it uses native context menus that can't be styled via userChrome.css.


Try disabling widget.macos.native-context-menus


That's what was missing, thank you!


> Does not work on macOS

Yes it does.


See the other comment, you have to disable "widget.macos.native-context-menus".


So was I wrong?


print.enabled should disable all the print stuff.


Thanks! I didn't know that.

I think that's a good workaround, but I'll have to re-enable it when I actually need to print something.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: