Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want block a URL on specific computer, in this case 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?

share|improve this question

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.

share|improve this answer
Proxifier has this ability too. – Timtech Nov 4 '13 at 23:06

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.

share|improve this answer

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.

share|improve this answer
So who's the coward with the neg and no information to back it up? Definitely wasn't OP. – John T Aug 24 '10 at 13:45
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 Feb 11 '11 at 16:56
What if it's a situation like mine?… – Timtech Sep 21 '13 at 19:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .