02 August 2011

Block any website in your computer / all browser

If you want to block a site then just follow the some steps below :

  • Open RUN (press winlogo + R)
  • Type "notepad C:\WINDOWS\system32\drivers\etc\hosts"

  • Then go to new line and enter the localhost address i.e. 127.0.0.1
  • Then enter the URL/domain name that you want to block on your computer or all browsers as shown in the image.That's it !!! 

Shut down your computer with notepad / batch file

f you want to shut down your computer forcefully after displaying a message, just follow the trick.

  • Open notepad.
  • Copy the code given below,
@echo off

msg * Its time to get some rest.

shutdown -c “Error!! You have to take rest! Byeeeeee” -s
Save the file with .bat extension. That’s it.

    21 July 2011

    Remove navbar from blogger blog/site

    1.  Login to your blogger account.

    2. Select "Design" tab of which blog you want to remove navbar.


    3. Then select sub-tab of Design tab named as "Edit HTML".


    4. In that you can edit your xml blogger templete.


    5 .In that templete or in every blogger templete you see


        body {
                 font: $(body.font);
                 color: $(body.text.color);
                 background: $(body.background);
                 } 


    6. Then find out above bold code in your blogger templete.


    7. Before this bold code you have to insert following code as it is and click "SAVE TEMPLATE" button.

           #navbar-iframe {
          display: none !important;
           }

    e.g. 
    
    insert above noted code as given follow :
    
    #navbar-iframe {display: none !important;}
        body {
              font: $(body.font);
              color: $(body.text.color);
              background: $(body.background);
             }