BlockThisSite Menu Extension for Internet Explorer
Did you accidentally land on a bad site when browsing the Web? While it’s advisable to close bad websites immediately, you can quickly block that particular site before closing it so that you don’t visit that site in future. This can be done using the BlockThisSite Internet Explorer Menu Extension that I’ve created. The extension works by automatically adding an entry to the HOSTS file for each site you block.
Add "Block This Site" to the Right-Click Menu in IE
Windows XP
1. Download BlockThisSite_XP.zip, unzip the contents to a folder.
2. Double-click BlockThisSite.reg to run it.
3. Move the file BlockThisSite.htm to the C:\Windows\Web directory.
Windows Vista
1. Download BlockThisSite_Vista.zip, unzip the contents to a folder.
2. Double-click BlockThisSite.reg to run it.
3. Move the file BlockThisSite.htm to the C:\Windows\Web directory.
4. Move the file BlockThisSite.vbs to the C:\Windows directory.
Usage
To block the current website, all you need to do is right-click on the webpage and click Block This Site. (In Windows Vista you’ll see the UAC elevation prompt at this time. Click Continue in the UAC dialog.)

The website is now blocked using the HOSTS file.

To test if the "block" really works, open a new instance of Internet Explorer and try to visit the blocked site. You should see the Internet Explorer cannot display the webpage error when you do so.
Removal
To remove the extension, run the file Undo.reg. Then manually delete the files BlockThisSite.htm and BlockThisSite.vbs (Vista) from the C:\Windows\Web and C:\Windows directories respectively.
Note: The extension may fail to work if you don’t have write access to the HOSTS file, or if the HOSTS file is locked by a security suite installed in the system.
Copyright © 2008 Ramesh Srinivasan. All rights reserved.
RELATED POSTS
- Add “Explore Here” To the Right-Click Menu in Internet Explorer
- Clean Up the Right-Click Menu in Internet Explorer 8
- Copy Title and URL Menu Extension for Internet Explorer
- E-Mail Selected Text in a Web Page Using Snip IT Add-on for Internet Explorer
- Add “MS-KB Lookup” Option to the Right-Click Menu in Internet Explorer
- Open in RegEdit Add-on for Mozilla Firefox
- How to Clear IE Temporary Internet Files Cache for a Particular Domain
- How to Start Internet Explorer 8 in InPrivate Browsing Mode by Default
- “Read Mail” Button Does Not Work in Internet Explorer 7
- How to Restore the “You’ve Opened a New Tab” Window When Opening a New Tab in IE



Like this site? Make sure you
January 6th, 2009 at 1:14 pm
http://everythingisnt.com/hosts.html
November 19th, 2008 at 8:10 pm
@JoWazzoo: Haven’t tested it in Windows 2000, but I hope the REG fix for Windows XP would work in Windows 2000.
November 17th, 2008 at 9:28 pm
Will Blockthis site work on win 2000??
tia