• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 392
  • Last Modified:

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

Hello all,

What I mean by the title is - when I type www.somewebsite.com into my browser, it's because I want to access content from www.somewebsite.com.  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 www.somewebsite.com/page.htm, then accept content from www.somewebsite.com and refuse to go get anything that page calls for outside of www.somewebsite.com.

Is it possible?

  • 2
1 Solution
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 (http://winhelp2002.mvps.org/hosts.htm).
xfvgdrthbdtyvhgscvAuthor Commented:
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.
The pre-built HOSTS file from mvps.org is pretty extensive (http://winhelp2002.mvps.org/hosts.txt) 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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now