显示文档中所有 cookie 的名称/值对

  1. <html>
  2. <body>
  3.  
  4. The cookies associated with this document is:
  5. <script type="text/javascript">
  6. document.write(document.cookie)
  7. </script>
  8.  
  9. </body>
  10. </html>