I think that I may have been infected with some kind of malware. It started a few days ago when I was on Facebook and couldn't upload any pictures because I needed to download the latest Javascript. I did this and realize that this may be the cause of my problems. Other things that have occurred are both Firefox and Google Chrome crashing as well as redirected links on Google searches. The biggest problem is my computer will stay on for about 15-20 minutes before getting a black screen. It looks like it is hibernating, but clicking the mouse or pressing keys on the keyboard won't remove the black screen so I end up having to hold the power button down until it turns off. I will then start my computer again, but it will only be normal for 5 or fewer minutes before going to the black screen. Because of this, I originally thought that my computer was overheating so I cleaned the fan with a can of compressed air and bought a cooling fan to put under it. However, this has not remedied the problem. I have tried running Malwarebytes, but even a quick scan takes too long before the screen goes black.
I have a Toshiba laptop, but I don't have my computer with me right now so I can't tell you what model number it is. Some background history that might be relevant is I have had to remove Internet Security 2010 and another program just like it (I can't remember its name) within the last 4 months. I used Malwarebytes to remove these. I hope this is specific enough.