Can I prevent a webpage from loading content from other servers?

Posted on 2011-10-21
Last Modified: 2012-05-12
Hello all,

What I mean by the title is - when I type into my browser, it's because I want to access content from  Many websites, however, take it upon themselves to integrate content from other providers into their web pages - mostly served ads. I fel for them wanting to monetize my traffic, but I didn't ask to have my browser access all these other domains, leaving my IP all over the place.

So - what I want is a browser, or an add-on, that will go get the page I requested but nothing else.  If I ask for a page at, then accept content from and refuse to go get anything that page calls for outside of

Is it possible?

Question by:xfvgdrthbdtyvhgscv
    LVL 38

    Expert Comment

    A couple of small tricks:
    1. In IE, change your Privacy settings to "Block" all Third Party cookies, and
    2. Install a modified "HOSTS" file (
    LVL 1

    Author Comment

    You konw, I completely forgot about the hosts file.  Tinkered with that a few years ago.  I already have the mvps hosts file - but Firefox seems to be ignoring it.  I'll investigate.  Thanks.

    At the same time, though - the hosts file puts the onus on me to individually identity every host I don't want to load.  What I really want is for the browser to simply load only material delivered directly from the domain I asked for and nothing else.
    LVL 38

    Accepted Solution

    The pre-built HOSTS file from is pretty extensive ( and works regardless of browser (HOSTS file is searched before DNS query is done).

    They update it on a regular basis (you can subscribe to get a notification), but you may still have to add a few IP addresses.

    I don't use Firefox so can't offer any thoughts on configuation.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    I recently found myself in a Corporate Situation where the client had requested blocking access to any and all websites except his own Domain? Easy? I am sure this would be your answer but their requirement was, this has to be done without using…
    Operating system developers such as Microsoft ( and Apple have made incredible strides in virus protection over the past decade. Operating systems come packaged with built in defensive tools such as virus protection and a f…
    Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…
    How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now