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
    3
    ·
    17 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.

  • Ilumar@lemmy.zip
    link
    fedilink
    arrow-up
    7
    ·
    1 day ago

    No offense intended, you do you and you don’t owe me any explanations, but I always find these types of post hilarious.

    I want to do X. I don’t want to use thing that does exactly X and is used by most people trying to do X. Refuses to elaborate.

    • pie@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      3
      ·
      17 hours ago

      what most people do is wrong in most cases. elaboration goes nowhere and in general just derails the topic more.

  • Ardens@lemmy.ml
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    22 hours ago

    The easy solution is to stop visiting domain.com that so annoys you, and use another site, that doesn’t annoy you.

      • Ardens@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        17 hours ago

        I know it was an example. And so was my answer…

        It would be nice if more sites didn’t connect to a third party, but those you use, do… most won’t work, if you, in any way, block them.

  • Moonrise2473@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    24 hours ago

    I use noscript extensively and an approach like yours will break 99.9% of the websites. Everyone nowadays uses CDNs and all you’ll see is a broken HTML page with no images.

    Probably if there’s a way to break the browser like that, you’ll be only be able to browse sites hosted on neocities

  • Delusion6903@discuss.online
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    Just use an ad blocking DNS. It might not block every other domain from connecting but it blocks most of what you want to block.

  • thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    2 days ago

    I think uMatrix extension does that? But the user interface might be a little bit unintuitive at first and you have to learn how to enable and disable specific domains. And you have to click the save button to make the settings permanent for that website. The cool thing is, you have detailed control which domain for each website and even what type they can access.

    But that is not strict what you was asking. So if you really want strictly prohibit all domains and files from being accessed and loaded up by default, then you should look into other configuration or extension. I am not aware of such a configuration in Firefox itself.

    Edit: Yes I know you don’t want to use an extension, but if Firefox itself does not provide it, that would be your best next thing.

    • Lucki@feddit.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      23 hours ago

      uBlock in expert mode provides a similar interface. It’s not able too fine tune at the same level though.

    • pie@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      4
      ·
      17 hours ago

      an extension has access to eveything you visit. it tracks you and sells/shares your data. not to mention potential bad code injection.

      • Ilumar@lemmy.zip
        link
        fedilink
        arrow-up
        4
        ·
        16 hours ago

        Replace “an extension” with “a browser” and you can say the exact same thing. At some point you have to trust something and I have seen no evidence that uBlock Origin is doing anything nefarious so far.

      • thingsiplay@beehaw.org
        link
        fedilink
        arrow-up
        1
        ·
        17 hours ago

        Not every extension has access to everything. The things that it has access is listed. And if they are open source, then it can be audited that it does not collect data. The filter lists are local on your computer.

        However I do understand the concern, it just does not apply to everything. But off course, it would be better if there is a builtin functionality. I am just not aware of something like that in Firefox itself. That’s why I suggested the best next thing.

        • pie@piefed.socialOP
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          3
          ·
          edit-2
          16 hours ago

          i hoped there are some config values that i am unaware of to do the changes i want.

          open source = some parts of the code can be open at best, it isnt what it sound. license matters. this word is just a trick.

          yet, i wouldnt count on someone auditing code, there was lots of big projects with trully open code that had bad code injected for decades and noone noticed.

          as much as i know, those extensions call back on developer server for updates/new filters etc. so i skip.

          • thingsiplay@beehaw.org
            link
            fedilink
            arrow-up
            2
            ·
            16 hours ago

            You don’t have to update the filter lists. You can have a totally local offline list that never updates, but you can add your own exceptions and filters. I mean you can do what you want, but I think there are some misconceptions. In example uMatrix is not spyware. It does not send unwanted information to developers back. And people audit not only the code, but also what is sent through network after installation.

            If you really don’t trust much, which is understandable (i am not trying to convince you to install spyware), then I think Firefox is not the best browser for you. In that case it would be better to use a browser like LibreWolf, a fork of Firefox with configurations of privacy and security in mind. It comes with uBlock Origin plugin though, if that is a deal breaker.

            Good luck finding a solution. I don’t know any way doing it in Firefox without addons.