How do you block specific urls and not entire domain

2

I want block a URL on specific computer, in this case www.google.com/reader but i not want to block the entire domain of google. It is for my work machine as I don't seem to have enough self control sometimes at work not to browse.

Is there a good way to accomplish this?

aceinthehole

Posted 2010-08-23T20:37:30.203

Reputation: 219

Answers

2

If you're browsing via a proxy that you control, block whatever URL you don't want to see in the proxy. This may require a zeroth step of installing a web proxy; what software to use would depend on your OS and level of technical expertise. This is completely browser independent (as long as you keep the browser configured to use the proxy, of course). This will not work for https because the proxy only sees encrypted traffic, it doesn't see what URL you request.

You could configure your proxy settings to use a nonexistent proxy for the URLs you don't want to be able to access. For firefox, FoxyProxy is a possibility (I'm sure there are others); it's easy to set up, but it's also easy to work around. A more general method, which works in just about any browser that supports javascript, is to write a proxy autoconfiguration file.

Gilles 'SO- stop being evil'

Posted 2010-08-23T20:37:30.203

Reputation: 58 319

Proxifier has this ability too. – Timtech – 2013-11-04T23:06:38.663

1

Well, I won't answer your question directly but I will give you a solution to your problem. Leechblock and StayFocusd are two of the finest productivity browser extensions out there. I've used both and even after uninstalling them, I found myself limiting my visits to Google Reader as well, probably out of routine.

And yes, both of them do in fact lets you block subdirectories.

digitxp

Posted 2010-08-23T20:37:30.203

Reputation: 13 502

-3

I'm sure you're well aware, but anything you configure you can easily undo, which sort of trumps the whole idea altogether. If one day you try to access the service and it's blocked, what's stopping you from going in and making a quick change? A "just this once!" sort of thing.

Anyway, if you're really determined, Fiddler can do this easily.

John T

Posted 2010-08-23T20:37:30.203

Reputation: 149 037

So who's the coward with the neg and no information to back it up? Definitely wasn't OP. – John T – 2010-08-24T13:45:34.777

It wasn't me, but I will say that I have found if you put just a small obstacle in your way it helps a lot, also easy to undo on the weekends when i want to use it. If you read any of the behavioral economics stuff that has been written recently it makes a lot of sense. – aceinthehole – 2011-02-11T16:56:51.910