Hii..! Today i'll show you how to block any website on your computer in just one click. This will be so much helpful method when some unnecessary websites open in background without our response and unknowingly reduces our expensive internet data.
Usally when -
1- We download any files from the torrent ,
2- We download songs , videos ,etc
etc etc.
And many more reasons that this technique used will be used for-
So now lets do it-
Step 1- First of all delete all the browsing history from all internet browsers installed on your computer (e.g, chrome,firefox, internet explorer,etc ) to see the effect of this method.
Step 2- Now open the notepad and type or copy paste the codes entered below-
Step 4- Now go on the directory where you have saved the weblock.bat file and do right click on it and press on run as administrator and further press yes among yes or no to execute our program.
Step 5- When you run it as administrator then you find something like this-
Step 6- Press on the notepad to open that file in notepad. Where you see something like this-
Step 6- Now you have to type the websites to which you want to block at the end after 127.0.0.1
e.g 127.0.0.1 www.facebook.com
127.0.0.1 www.youtube.com
If someone not understand yet then see the image below-
Step 7- Now press ctrl+s in other words save the file by pressing save from the file option.
Step 8- Ok we have done just close every task and refresh your computer and then try to run the websites you have blocked.
NOTE - EVERY STEP MUST BE DONE OTHERWISE NOTHING WILL HAPPEN.
1- We download any files from the torrent ,
2- We download songs , videos ,etc
etc etc.
And many more reasons that this technique used will be used for-
So now lets do it-
Step 1- First of all delete all the browsing history from all internet browsers installed on your computer (e.g, chrome,firefox, internet explorer,etc ) to see the effect of this method.
Step 2- Now open the notepad and type or copy paste the codes entered below-
cd\
cd\windows\system32\drivers\etc
attrib -h -r "hosts" /s /d
start hostsStep 3- Now just save the notepad as weblock.bat
Step 4- Now go on the directory where you have saved the weblock.bat file and do right click on it and press on run as administrator and further press yes among yes or no to execute our program.
Step 5- When you run it as administrator then you find something like this-
Step 6- Press on the notepad to open that file in notepad. Where you see something like this-
Step 6- Now you have to type the websites to which you want to block at the end after 127.0.0.1
e.g 127.0.0.1 www.facebook.com
127.0.0.1 www.youtube.com
If someone not understand yet then see the image below-
Step 7- Now press ctrl+s in other words save the file by pressing save from the file option.
Step 8- Ok we have done just close every task and refresh your computer and then try to run the websites you have blocked.
NOTE - EVERY STEP MUST BE DONE OTHERWISE NOTHING WILL HAPPEN.