Things You'll Need:
- Computer
- Strong Internet connection
-
Step 1
Open a Web page using your Web browser.
-
Step 2
Type javascript:alert('How, To'); into your URL address bar.
-
Step 3
Hit "enter" and watch the dialog box pop up. Click "OK".
-
Step 4
Type "javascript:alert(document.cookie)" to see if there are any cookies on the website.
-
Step 5
Check for cookies. Copy down the field.
-
Step 6
Copy and paste "javascript:void(document.cookie="Field = myValue")" into the address bar. Hit "enter".
-
Step 7
Edit the "javascript:void" command. Change "field" to a field found in the cookie alert. Next, change "myValue". Remember, if you continue to change the fields, you can change what is said in the cookie alert.










