Rss

Archives for : kill button

Create a button to kill a pesky or stuck Chrome browser section

browsersSo..you go to a site to read an article on rooting your Android/Apple phone, you get creative and want the lyrics to a popular song, or you visit a news link to some new media site that you’ve never heard of before but it has a news item that you are interested in and it happens…a popup window in the middle of your screen and it is asking you to some task before you leave (and that includes clicking on a “CANCEL” button on the popup.

First off–DON’T CLICK ON ANYTHING within that browser window. Nothing there is good for you or your computer. Most of these sites are made with CSS, HTML5, and Javascripting. JavaScript has a feature that is deployed in every version and you cannot block it easily, called onUnload().

So no matter where you click on that page or even if you CTRL-ALT-DELETE, you may be subject to something being loaded on to your computer screen.
o
Another scenario is that Chrome for some reason is just stuck and will not respond to your mouse clicks and you need it dead NOW!

Okay…I hear you…much in the same way we created a shortcut to kill off Internet Explorer under similar circumstances, we can create a shortcut for your desktop or taskbar that will immediately terminate Google Chrome and it will not trigger any onUnload() event that can harm your system.

So to stop myself from reinventing the wheel, I want you to go over this previous posting — http://tech.jchampion.com/?p=16 and follow the steps to the letter.

The only thing that we are going to change the command you paste into the command line area from “C:\Windows\System32\taskkill.exe /F /IM iexplore.exe /T” to “C:\Windows\System32\taskkill.exe /F /IM chrome.exe /T”

If you want to understand what all your instructions mean it is simple – taskkill.exe is the Windows commandline command to terminate a task by either process identification number or by name.

/F means to force it dead
/IM means the image name to kill
/T is telling taskkill to not only kill the program but any child programs that may have opened up as a result

This is quick, painless and easy. Just follow the steps from above and if you want instructions on all of Taskkill’s options use this TechNet link —

This works in Windows XP, Vista, Windows 7, Windows 8, Server 2003, Server 2008, Server 2008r2, and Server 2012.

As usual…if you have any questions about this–just ask! Find me on Facebook, Twitter (@jachamp) or via this blog.

john

Build your own IE “eject” button

Sometimes Google sends you to sites where there is no safe place to click.

If you ever find yourself on a page that locks your browser up so that your only choice is to click on a site manufactured pop-up; then you need an eject button and I am going to show you how to make one.

Step one, right click anywhere on your desktop that is empty and choose Create New –> Shortcut

Kill IE shortcut button

An icon/button that you can use to shutdown IE safely

Now you need to give the shortcut some direction and tell it what to do. The command that you would type in DOS to kill IE is:

C:\Windows\System32\taskkill.exe /F /IM iexplore.exe /T

So you need to enter this command into the Target field and then select okay.

Kill IE Screenshot 2

Adding in the command into the target field in Windows new shortcut

Next step–name the shortcut. I call it KillIE.exe

Kill IE Shortcut Screenshot 3

Name that new shortcut

Now you have a perfectly good shortcut to kill a locked browser safely. There is a technical reason why we will kill Internet Explorer in this manner but trust me, this is safer than use CTRL-ALT-DEL/task manager.

Why? Because this way is a rude way to exit IE. Task Manager uses a polite mechanism which politely unloads the content from the Windows. This polite manner gives scripts that lock up your browser a chance to save their place and store data on your computer. The Kill IE tool/shortcut not only simply kills the IE session, it can also be modified to work on Firefox, Chrome, Opera, and other browsers and it is safer because it does not allow a site to grab a foothold on your system.

Questions? Ask John