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

This question already has an answer here:

How can I block a specific directory of a website as e.g. http://example.com/someSite
unfortunately the hosts file is not an option since you can only block whole domains there and any "/" just destroys these rules.

This is just for my personal protection against visiting some sites too often, while i still have to be able to get to the other sites of that domain (as e.g. example.com/someOtherSite)

Would be great if someone knows a solution regarding this topic.

share|improve this question

marked as duplicate by Ƭᴇcʜιᴇ007 windows Nov 13 '15 at 19:28

This question was marked as an exact duplicate of an existing question.

4  
That's not a subdomain. Subdomain in subdomain.domain.tld is a subdomain. – paradroid Jan 4 '11 at 11:58
    
wasn't sure and edited it. but does sub-site describe it? – Creedy Jan 4 '11 at 12:53

If you use Google Chrome you could use StayFocusd extension to help you stay away, you an specify them in there, but unfortunately that's not system wide.

share|improve this answer

The BlockSites addon for Firefox seems to be able to do this. You can use wildcards to block certain paths of websites, by the look of it.

eg. http://superuser.com/quest*

share|improve this answer
    
ehow.com/how_6507904_block-website-opera.html as opera user i did it this way but i would prefer a system wide way of blocking the sites. – Creedy Jan 4 '11 at 13:30
    
@Creedy: I doubt that will be possible, as the system or router will not have any business regarding specific paths of websites - only at a (sub)domain level. – paradroid Jan 4 '11 at 13:51
    
ok.. 3 browser have to be enough :D and i'm fine with the opera way - thanks to opera link it even is sync'd with my other machines. maybe some day i'll come up with another solution suitable for internet explorer as well.. – Creedy Jan 4 '11 at 14:02

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