this post was submitted on 19 Nov 2025
9 points (76.5% liked)

Firefox

21293 readers
6 users here now

/c/firefox

A place to discuss the news and latest developments on the open-source browser Firefox.


Rules

1. Adhere to the instance rules

2. Be kind to one another

3. Communicate in a civil manner


Reporting

If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.


founded 6 years ago
MODERATORS
 

To easy understand what i am saying, i will give you this example, you visit domain.com but on this page there are other things from external domains other than domain.com that firefox fetches/connects to - cdn.blabla.com; third-party.socialwebsites.com, etc. What i want, is to simply not connect to any other domain except what i typed in url bar. I understand it can break pages but i dont care.
A while ago, setting permission.default.images to 2 somehow worked and stopped loading of external content. Disabling prefetch/preconnect/predict/predictor does nothing.
p.s. i dont want to use extensions, only about config.

you are viewing a single comment's thread
view the rest of the comments
[–] Manjushri@piefed.social 3 points 1 week ago

Without using an extension like NoScript (which does exactly what you want) the best idea I have for you is go into your hosts.txt file and block the individual domains you want to block one by one. I don't know of any way to just blanket block all third party connections.

Plus, as a NoScript user, I can tell you from experience that a very large number of the sites you visit will be unusable without at least some of those 3rd party connections. The "cdn" in your cdn.blabla.com example stands for Content Delivery Network. If you block that domain, then the web page will not show any content from that network, which may well include the text, images, or video you want to see there.