This article is a mirror article of machine translation, please click here to jump to the original article.

View: 12016|Reply: 1

[JavaScript] Java script to get cookies for the current website login!

[Copy link]
Posted on 12/18/2014 9:57:50 AM | | |
Cookies are text files or data in memory that are transferred to the hard drive of the user's computer by the website we visit,
It can be recorded as a cache, that is, the first time you open a website and then close it, it will be faster the first time, because the first time the record is stored in COOKIES, and the second time you open it, you can directly adjust it, so it will be faster!


Here's the code, just run it directly from the browser address bar


javascript:var ss=(document.cookie);alert(ss);
javascript:prompt('Cookies',document.cookie)





Previous:Propaganda Department of the General Branch of the School of Computer Science on carrying out the "Commemoration of the 12.9 Movement"
Next:The difference between div, span, and label tags in HTML
Posted on 12/19/2014 9:30:58 AM From the phone |
You can view cookies directly with Firefox

From: Android client
Career Road, Jiangxia District, Wuhan City, Hubei Province
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com