Diligent web site
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

malformed_cookie.html 429B

5 yıl önce
123456789101112131415161718
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title></title>
  5. <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
  6. <script src="../src/jquery.cookie.js"></script>
  7. <script>
  8. try {
  9. Object.defineProperty(document, "cookie", { get: function() { return "first=one; ; second=two"; } });
  10. window.testValue = $.cookie("second");
  11. window.ok = true;
  12. } catch (er) {
  13. }
  14. </script>
  15. </head>
  16. <body>
  17. </body>
  18. </html>