Welcome, today I'm going to show you guys how to write some simple Java script and how to write scripts using word document, notepads and stuff like that. So the first Java script I'm going to teach you guys to write is how to make a message. What you basically type is this right here and this will make a message about soaping up.
Right here is what you want the message box to say. The zero says that the message box will only have an okay in it if so if I want to change the tool one it will have an okay and the cancel. And there are a lot of other possibilities but I'm just going to leave it to zero. The sixteen stands for the same that the message box is an alarm message box that will pop up with the red circle and an “X” through it and that’s the type of message box is going to be.
And then right here is the title of the message box. Once you do that save it. I already have it save but once you do that save it as .VVS file and once you're done double click the file that you just made and it should look like this. The words will be different if you want them to be. The next thing I'm going to teach you guys to do is how to open up with command prompt. All I've got to do is type @echo, off, pause, echo whatever you wanted to say. I'm just going to say hello YouTube and pause. Then I’ll just save it as CMD.bad. Remember the .bad file.
Then open it up and it should be say, “Hello, YouTube” or whatever you wanted to say and then another thing that I'm going to show you guys how to do is that you could also send commands to your computer with Java script so a way that you can make your computer go faster is by typing mystring=(80000000) and then just save it as .bad file and once you open this file right here it gives your computer more RAM and more RAM will make your computer go faster.
So when you double click, that’s all that will happen and then you just refresh your computer and it should make your computer go faster. So another thing that you could do is shut down your computer with the Java script. You can make a shut down or a copy like a little fake virus thing. So go to short cut instead of new text document and it should pop up. Type shut down, space, dash S, space dash T and then 60 seconds or how many seconds you want then .zip and the message you wanted to say. It could be like a fake virus you have been hacked and click next and just type the name for it then finish.
Once you double click this will come up saying the message and it will give you how much time you wanted and the only way to turn this off is to go to run and type shut down-8 and click okay and it should stop the process. Another thing you could do is use Java scripts on websites. For example, let’s go to YouTube. I’m going to show you two Java scripts that you could use and these two Java scripts worked on any website, not just YouTube. Let’s try the first one.
This is the first Java script right here, just copy it and paste it after you go in YouTube or whatever website. Make sure it’s all copied, paste and click enter. Now this will cause all the photos on the website to start moving ground and if you refresh the page or press the back button the photo should stop moving around.
The next Java script that you could use is this one. This lets you edit out any website. It’s not permanent but it’s a fun tool to use. It looks the same but what you could do is edit it out right here, type “Hello, YouTube”. Instead of the home button type, my name, tech support gone bad and you can mess around with the website like that.
The next thing that I'm going to show you guys is that you could create like a lot of fake viruses with the Java script so I've a couple prepared for us. One of them is this. It’s a Java script that I made up so I type this all before I started this video and this all being the video description so I have to do is copy and paste. I’ll just save it as cool hack.bad and then the file should open up and just double click on it and this would come up saying, “Do you want to wipe out all your computer’s data, yes or no?” Let’s click no but it will go to the next one no matter what you type. Are you sure you want to delete all data, no. Deleting all and it goes like the dot-dot-dot thing so it looks like it’s deleting. And then it does that and then in the end it says, you just have been hacked and the system shut down thing comes up and again you could stop that by typing shut down-A in run and then just exit out. Then that’s a cool little hack that I made or fake virus.
Another fake virus that you could do is—you can make a lot of fake viruses like that. All you got to do is put together the small commands that I showed you guys but this is not soemthign to fool around with like if you don’t really know what you're doing because you could create a real virus with this too. This would show you guys how to make a simple virus but it’s real so I would never use this.
All you got to do is type @, echo, off, and then type right here delete, C drive, double dash, windows/system 32. So what this will do if you save it as .bad file and you used it, this is a command to delete your window system 32 and I would not recommend doing that. That’s like really bad and you could just mess up your computer.
Another thing you could do as a prank and this is the last thing I’ll show you guys is another Java script. Let’s open up a new text document and you could disable the user’s mouse. You could disable their keyboard and this is a prank that you couple on so much computer. All you got to do is type @, echo, off and then type run, DOO, 32 user mouse, disable and run DOO 32 user keyboard, disable. If you use that your mouse and keyboard won’t work at all and something that you could do to add to the amusement is type run and then type a random website.
Right now I'm going to type MySpace but the funniest thing to do is run a porno website and the user can't do anything about it because their mouse or keyboard is disabled but since this is YouTube I'm going to keep it clean and just say run MySpace.com. Then once you save it as something like prank.bad and then once you opened that the mouse and the keyboard will be disabled and then the website that you wanted will pop up. It’s a fun prank so I'm here to show you guys that you could do a lot of things with Java script. You could not just go here and have some fun with it but be careful because you could also do some serious—
Transcription by:
Scribe4you Transcription Services