{"id":1454,"date":"2013-02-28T22:27:58","date_gmt":"2013-02-28T14:27:58","guid":{"rendered":"http:\/\/www.gaigaiming.com\/?p=1454"},"modified":"2013-02-28T22:27:58","modified_gmt":"2013-02-28T14:27:58","slug":"%e6%85%95%e8%af%be%e7%bd%91js%e7%bb%83%e4%b9%a0%e4%b8%80","status":"publish","type":"post","link":"https:\/\/www.gaigaiming.com\/index.php\/2013\/02\/28\/%e6%85%95%e8%af%be%e7%bd%91js%e7%bb%83%e4%b9%a0%e4%b8%80\/","title":{"rendered":"\u6155\u8bfe\u7f51js\u7ec3\u4e60\u4e00"},"content":{"rendered":"<p><!DOCTYPE html><br \/>\n<html><br \/>\n <head><br \/>\n  <title> new document <\/title><br \/>\n  <meta http-equiv=\"Content-Type\" content=\"text\/html; charset=gbk\"\/><br \/>\n  <script type=\"text\/javascript\">  <\/p>\n<p>    \/\/ \u65b0\u7a97\u53e3\u6253\u5f00\u65f6\u5f39\u51fa\u786e\u8ba4\u6846\uff0c\u662f\u5426\u6253\u5f00\n    function openWindow(){\n        var message=confirm(\"\u662f\u8981\u6253\u5f00\u65b0\u7f51\u5740\u5417\uff1f\");\n        if(message==true){          \n            var val=prompt(\"\u8bf7\u8f93\u5165\u7f51\u5740\uff1a\",\"http:\/\/www.imooc.com\/\");\n            window.open(val,\"_blank\",\"width=400,height=500,toolbar=no,menubar=no\")<\/p>\n<p>        }else{\n            alert(\"no\");\n        }\n        }<\/p>\n<p>    \/\/ \u901a\u8fc7\u8f93\u5165\u5bf9\u8bdd\u6846\uff0c\u786e\u5b9a\u6253\u5f00\u7684\u7f51\u5740\uff0c\u9ed8\u8ba4\u4e3a http\uff1a\/\/www.imooc.com\/<\/p>\n<p>    \/\/\u6253\u5f00\u7684\u7a97\u53e3\u8981\u6c42\uff0c\u5bbd400\u50cf\u7d20\uff0c\u9ad8500\u50cf\u7d20\uff0c\u65e0\u83dc\u5355\u680f\u3001\u65e0\u5de5\u5177\u680f\u3002<\/p>\n<p>  <\/script><br \/>\n <\/head><br \/>\n <body><br \/>\n\t  <input type=\"button\" value=\"\u65b0\u7a97\u53e3\u6253\u5f00\u7f51\u7ad9\" onclick=\"openWindow()\" \/><br \/>\n <\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"<p>new document<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1454","post","type-post","status-publish","format-standard","hentry","category-4"],"_links":{"self":[{"href":"https:\/\/www.gaigaiming.com\/index.php\/wp-json\/wp\/v2\/posts\/1454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gaigaiming.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gaigaiming.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gaigaiming.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gaigaiming.com\/index.php\/wp-json\/wp\/v2\/comments?post=1454"}],"version-history":[{"count":0,"href":"https:\/\/www.gaigaiming.com\/index.php\/wp-json\/wp\/v2\/posts\/1454\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gaigaiming.com\/index.php\/wp-json\/wp\/v2\/media?parent=1454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gaigaiming.com\/index.php\/wp-json\/wp\/v2\/categories?post=1454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gaigaiming.com\/index.php\/wp-json\/wp\/v2\/tags?post=1454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}