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.

  • Manjushri@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    12 hours 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.