{"id":1399,"date":"2023-06-01T10:25:39","date_gmt":"2023-06-01T02:25:39","guid":{"rendered":"https:\/\/white-night.club\/?p=1399"},"modified":"2023-11-09T11:07:54","modified_gmt":"2023-11-09T03:07:54","slug":"pg2","status":"publish","type":"post","link":"https:\/\/white-night.club\/index.php\/2023\/06\/01\/pg2\/","title":{"rendered":"JavaScript\u5b9e\u73b0\u6a21\u62df\u767b\u5f55"},"content":{"rendered":"\n<p>\u6700\u8fd1\u5728\u641e\u722c\u53d6\u6df1\u5733\u6280\u672f\u5927\u5b66\u7684\u6559\u52a1\u7cfb\u7edf\uff0c\u641e\u5b9a\u4e4b\u540e\u505a\u4e2a\u7b14\u8bb0\u3002<\/p>\n\n\n\n<p>\u5b9e\u9645\u4e0a\u641e\u5b9a\u6a21\u62df\u767b\u5f55\u4e4b\u540e\u540e\u9762\u7684\u5c31\u5f88\u7b80\u5355\u4e86\uff0c\u53ea\u5269\u4e0b\u722c\u8bfe\u8868\u548c\u8f6cjson\u8981\u5904\u7406\u3002<\/p>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<blockquote class=\"wp-block-quote has-luminous-vivid-amber-color has-text-color\">\n<p>\u524d\u7f6e\u51c6\u5907\u4e0e<em>puppeteer<\/em>\u5305<\/p>\n<cite><em>A high-level API to control headless Chrome over the DevTools Protocol<\/em><\/cite><\/blockquote>\n\n\n\n<p>\u5b98\u65b9\u63cf\u8ff0\u4e0a\u9762\u7684\u82f1\u6587\u5c31\u662f\uff0c\u8fd9\u91cc\u76f4\u63a5\u8bf4\u8be5\u600e\u4e48\u7528\u3002<\/p>\n\n\n\n<p>\u9996\u5148\u5bfc\u5165\u9700\u8981\u7684npm\u5305\uff0c\u7136\u540e\u51c6\u5907\u597d\u8d26\u53f7\u548c\u5bc6\u7801\uff0c\u4ee5\u53ca\u767b\u5f55\u754c\u9762\u7684Url\u3002\u8fd9\u91cc\u6df1\u5733\u6280\u672f\u5927\u5b66\u6559\u52a1\u7cfb\u7edf\u7684html\u4e3a\u4f8b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>const puppeteer = require('puppeteer');\nconst fs = require('fs');\n\nconst loginUrl = 'https:\/\/auth.sztu.edu.cn\/idp\/authcenter\/ActionAuthChain?entityId=jiaowu';\nconst targetUrl = 'https:\/\/jwxt.sztu.edu.cn\/jsxsd\/framework\/xsMain.htmlx';\nconst username = 'xxxxxxxxxxx'; \nconst password = 'xxxxxxxxxxx'; \n<\/code><\/pre>\n\n\n\n<p>\u51c6\u5907\u597d\u4e4b\u540e\uff0c\u901a\u8fc7puppeteer\u5305\u4e2d\u65b9\u6cd5\u5b9e\u73b0\u6a21\u62df\u6d4f\u89c8\u5668\u548c\u6253\u5f00\u9875\u9762\u3002\u7531\u4e8e\u50cf\u5b66\u6821\u6559\u52a1\u7cfb\u7edf\u8fd9\u4e9b\u7ecf\u5e38\u9700\u8981\u5185\u7f51\uff0c\u6302\u7740vpn\u6216\u8005\u5916\u7f51\u73af\u5883\u65f6\u901a\u5e38\u65e0\u6cd5\u8bbf\u95ee\u3002\u6240\u4ee5\u5efa\u8bae\u7528try-catch\u63a5\u6536\u5f02\u5e38\u65b9\u4fbf\u540e\u9762\u8c03\u8bd5\u3002\u540c\u65f6\u8bb0\u5f97<mark style=\"background-color:rgba(0, 0, 0, 0);color:#fcb900\" class=\"has-inline-color\">\u81ea\u5df1\u5148\u5c1d\u8bd5\u8bbf\u95ee\u6559\u52a1\u7cfb\u7edf\u7684\u767b\u5f55\u754c\u9762<\/mark>\uff0c\u770b\u770b\u80fd\u4e0d\u80fd\u6253\u5f00\u518d\u8fdb\u884c\u540e\u7eed\u6d4b\u8bd5\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>const puppeteer = require('puppeteer');\nconst fs = require('fs');\n\nconst loginUrl = 'https:\/\/auth.sztu.edu.cn\/idp\/authcenter\/ActionAuthChain?entityId=jiaowu';\nconst targetUrl = 'https:\/\/jwxt.sztu.edu.cn\/jsxsd\/framework\/xsMain.htmlx';\nconst username = 'xxxxxxxxxxx'; \nconst password = 'xxxxxxxxxxx'; \n\nasync function simulateLogin() {\n    try {\n        const browser = await puppeteer.launch();\n        const page = await browser.newPage();\n\n        await page.goto(loginUrl);\n\n    } catch (error) {\n        console.error('\u767b\u5f55\u5931\u8d25:', error);\n    }\n}\n\nsimulateLogin();<\/code><\/pre>\n\n\n\n<p>\u7136\u540e\u60f3\u60f3\u8fd8\u9700\u8981\u4e9b\u5565\uff1f\u6a21\u62df\u767b\u5f55\uff0c\u8bf4\u767d\u4e86\u8fd8\u662f\u201c\u767b\u5f55\u201d\u3002<\/p>\n\n\n\n<p>\u4e00\u822c\u7684\u767b\u5f55\u6d41\u7a0b\uff1a<\/p>\n\n\n\n<ul>\n<li>\u6253\u5f00\u767b\u5f55\u754c\u9762<\/li>\n\n\n\n<li>\u5728\u6307\u5b9a\u7684\u6587\u672c\u6846\u4e2d\u8f93\u5165\u8d26\u53f7\u548c\u5bc6\u7801<\/li>\n\n\n\n<li>\u70b9\u51fb\u767b\u5f55\u6309\u94ae<\/li>\n<\/ul>\n\n\n\n<p>\u66f4\u8be6\u7ec6\u7684\u767b\u5f55\u6d41\u7a0b\uff1a<\/p>\n\n\n\n<ul>\n<li>\u8bbf\u95ee\u767b\u5f55\u754c\u9762\uff0c\u6839\u636ehtml\u521d\u59cb\u5316\u9875\u9762<\/li>\n\n\n\n<li>\u5728\u6307\u5b9a\u7684\u6587\u672c\u6846\u4e2d\u8f93\u5165\u8d26\u53f7\u548c\u5bc6\u7801\uff0c\u8f93\u5165\u5b8c\u6210\u540e<mark style=\"background-color:rgba(0, 0, 0, 0);color:#fcb900\" class=\"has-inline-color\">\u5bf9\u5f53\u524d\u7f51\u9875\u7684account\u548cpassword\u8d4b\u503c<\/mark>\u3002<\/li>\n\n\n\n<li>\u70b9\u51fb\u767b\u5f55\u6309\u94ae\uff0c\u89e6\u53d1\u54cd\u5e94\u4e8b\u4ef6\uff0c\u5c06account\u548cpassword\uff08password\u5927\u90e8\u5206\u90fd\u4f1a\u52a0\u5bc6\uff0c\u5177\u4f53\u662fDES\u8fd8\u662fmd5\u9700\u8981\u53bb\u7f51\u9875\u6e90\u7801\u4e0b\u627e\u76f8\u5173\u51fd\u6570\uff09\u4f20\u5230\u6570\u636e\u5e93\u8fdb\u884c\u6821\u9a8c\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u6211\u4eec\u73b0\u5728\u5b8c\u6210\u4e86\u7b2c\u4e00\u6b65\u3002\u63a5\u4e0b\u6765\u5c31\u662f\u4e3a\u5f53\u524d\u7f51\u9875\u7684account\u548cpassword\u8d4b\u503c\u3002<\/p>\n\n\n\n<p>\u76f4\u63a5\u53f3\u952e\u201c\u68c0\u67e5\u201d\u8f93\u5165\u8d26\u53f7\u548c\u5bc6\u7801\u7684\u6587\u672c\u6846\uff0c\u4ee5\u6df1\u5733\u6280\u672f\u5927\u5b66\u7684\u6559\u52a1\u7cfb\u7edf\u4e3a\u4f8b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;input type=\"text\" class=\"inputLogin leoPwd\" name=\"j_username\" id=\"j_username\" value=\"\u5de5\u53f7\" title=\"202x0020xxxx\" onmouseover=\"this.title=this.value\" onblur=\"inputOnblur(this); verCodeDisplay('\/idp', 'j_username', '1', 'yzm1Bar', true)\" maxlength=\"64\"&gt;<\/code><\/pre>\n\n\n\n<p>\u8fd9\u91cc\u201c\u68c0\u67e5\u201d\u7684\u662f\u8d26\u53f7\u7684\u8f93\u5165\u6846\uff0c\u53ef\u4ee5\u53d1\u73b0\u5b83\u7684nameh\u548cid\u4e3a&#8221;j_username&#8221;\u3002\u6709name\u6216\u8005id\u5c31\u597d\u529e\u4e86\uff0c\u76f4\u63a5\u68c0\u7d22\u5f53\u524d\u9875\u9762\u5404\u5143\u7d20\uff0c\u7136\u540e\u7ed9\u5b83\u8d4b\u503c\u5373\u53ef\u3002\u5bc6\u7801\u540c\u7406\uff0c\u76f4\u63a5\u653e\u4e0a\u4ee3\u7801<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>const puppeteer = require('puppeteer');\nconst fs = require('fs');\n\nconst loginUrl = 'https:\/\/auth.sztu.edu.cn\/idp\/authcenter\/ActionAuthChain?entityId=jiaowu';\nconst targetUrl = 'https:\/\/jwxt.sztu.edu.cn\/jsxsd\/framework\/xsMain.htmlx';\nconst username = 'xxxxxxxxxxx'; \nconst password = 'xxxxxxxxxxx'; \n\nasync function simulateLogin() {\n    try {\n        const browser = await puppeteer.launch();\n        const page = await browser.newPage();\n\n        await page.goto(loginUrl);\n \n        await page.type('input&#91;name=\"j_username\"]', username);\n        await page.type('input&#91;name=\"j_password\"]', password);\n\n    } catch (error) {\n        console.error('\u767b\u5f55\u5931\u8d25:', error);\n    }\n}\n\nsimulateLogin();<\/code><\/pre>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<blockquote class=\"wp-block-quote has-luminous-vivid-amber-color has-text-color\">\n<p>\u6a21\u62df\u767b\u5f55<\/p>\n<cite><em>\u63a2\u8ba8\u662f\u5426\u9700\u8981\u8df3\u8f6c\u7f51\u9875<\/em><\/cite><\/blockquote>\n\n\n\n<p>\u73b0\u5728\u8fd8\u5dee\u6700\u540e\u4e00\u6b65&#8211;\u6a21\u62df\u70b9\u51fb\u6309\u94ae\u3002<\/p>\n\n\n\n<p>\u4f46\u771f\u7684\u9700\u8981\u53bb\u201c\u70b9\u51fb\u201d\u6309\u94ae\u5417\uff1f\u5f88\u660e\u663e\u4e0d\u9700\u8981\u3002\u6309\u94ae\u53ea\u662f\u4e3a\u4e86\u89e6\u53d1\u54cd\u5e94\u4e8b\u4ef6\u505a\u7684\uff0c\u8bf4\u660e\u4f60\u5e76\u4e0d\u9700\u8981\u53bb\u201c\u70b9\u51fb\u201d\u6309\u94ae\uff0c\u76f4\u63a5\u89e6\u53d1\u5b83\u7684\u54cd\u5e94\u4e8b\u4ef6\u5373\u53ef\u3002<\/p>\n\n\n\n<p>\u4f46\u662f\u65e2\u7136\u7528\u4e86puppeteer\u5305\uff0c\u90a3\u4e0d\u5982\u76f4\u63a5\u6a21\u62df\u70b9\u51fb\u6309\u94ae\uff0c\u660e\u663e\u7701\u4e8b\u7684\u591a\u3002\u4e0a\u9762\u53ea\u662f\u63d0\u4f9b\u4e00\u79cd\u53ef\u884c\u7684\u601d\u8def\uff0c\u56e0\u4e3a<mark style=\"background-color:rgba(0, 0, 0, 0);color:#fcb900\" class=\"has-inline-color\">\u6709\u4e9b\u4e8b\u4ef6\u4e0d\u662f\u901a\u8fc7&lt;button&gt;\u54cd\u5e94\u7684<\/mark>\uff0c\u8fd9\u79cd\u60c5\u51b5\u7684\u8bdd\u5c31\u5f97\u8003\u8651\u76f4\u63a5\u89e6\u53d1\u54cd\u5e94\u4e8b\u4ef6\u4e86\u3002<\/p>\n\n\n\n<p>\u5f53\u7136\uff0c\u5bf9\u4e8e\u6211\u5b66\u6821\u7684\u6559\u52a1\u6765\u8bf4\uff0c\u70b9\u51fb\u6309\u94ae\u540e\u76f4\u63a5\u5c31\u8df3\u8f6c\u5230\u4e86\u6559\u52a1\u754c\u9762\u3002\u7136\u540e\u5176\u4ed6\u6240\u6709\u7684\u64cd\u4f5c\u90fd\u662f\u52a8\u6001\u52a0\u8f7d\u7684\uff0c\u5373\u5168\u90e8\u90fd\u5728\u540c\u4e00\u4e2aurl\u94fe\u63a5\u4e0a\u5b8c\u6210\u52a0\u8f7d\u3002\u4e3e\u4e2a\u4f8b\u5b50<\/p>\n\n\n\n<ul>\n<li>\u6559\u52a1\u754c\u9762\uff1ahttps:\/\/white-night.club<\/li>\n\n\n\n<li>\u8bfe\u8868\u754c\u9762\uff1ahttps:\/\/white-night.club<\/li>\n<\/ul>\n\n\n\n<p>\u4f46\u662f\uff0c\u5047\u8bbe\u4f60\u548c\u6211\u4e00\u6837\u5728\u722c\u81ea\u5df1\u5b66\u6821\u7684\u8bfe\u8868\u3002\u4f46\u662f\u4f60\u7684\u8bfe\u8868\u9875\u9762\u548c\u767b\u5f55\u540e\u7684\u754c\u9762\u662f\u5206\u5f00\u7684\u3002\u4f8b\u5b50\u5982\u4e0b<\/p>\n\n\n\n<ul>\n<li>\u6559\u52a1\u754c\u9762\uff1ahttps:\/\/white-night.club<\/li>\n\n\n\n<li>\u8bfe\u8868\u754c\u9762\uff1ahttps:\/\/white-night.club\/courses<\/li>\n<\/ul>\n\n\n\n<p>\u90a3\u4e48\u5c31\u53ef\u4ee5\u5206\u4e3a\u4e24\u79cd\u60c5\u51b5\u3002\u5982\u679c\u4f60\u7684\u60c5\u51b5\u548c\u6211\u4e00\u6837\uff0c\u53ef\u4ee5\u5199\u8df3\u8f6c\uff0c\u4e5f\u53ef\u4ee5\u4e0d\u5199\u3002\u867d\u7136\u6211\u4e2a\u4eba\u8fd8\u662f\u5efa\u8bae\u5199\u4e2a\u8df3\u8f6c\u4ee5\u9632\u4e07\u4e00\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u662f\u7b2c\u4e8c\u79cd\u60c5\u51b5\uff0c\u90a3\u6211\u5f3a\u70c8\u5efa\u8bae\u5199\u8df3\u8f6c\u3002\u4e0d\u7136\u53c8\u8981\u5199\u4e00\u5806\u6a21\u62df\u70b9\u51fb\u6309\u94ae\u7684\u64cd\u4f5c\u3002\u800c\u4e14\u6709\u4e9b\u7f51\u9875\u7684\u54cd\u5e94\u4e8b\u4ef6\u4e0d\u662f\u901a\u8fc7button\u7ec4\u4ef6\u89e6\u53d1\u7684\uff0c\u8fd9\u79cd\u60c5\u51b5\u4e0b\u4f60\u9700\u8981\u68c0\u7d22\u6574\u4e2a\u7f51\u9875\u7684html\u53bb\u201c\u624b\u52a8\u201d\u89e6\u53d1\u54cd\u5e94\u4e8b\u4ef6\u3002\u5f88\u660e\u663e\u8d85\u7ea7\u9ebb\u70e6\u3002\u6240\u4ee5\u4e0d\u5982\u76f4\u63a5\u8df3\u8f6c\u5230\u8bfe\u8868\u754c\u9762\u3002<\/p>\n\n\n\n<p>\u8fd8\u662f\u4ee5\u6df1\u5733\u6280\u672f\u5927\u5b66\u7684\u6559\u52a1\u4e3a\u4f8b\uff0c\u4ee3\u7801\u5982\u4e0b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>const puppeteer = require('puppeteer');\nconst fs = require('fs');\n\nconst loginUrl = 'https:\/\/auth.sztu.edu.cn\/idp\/authcenter\/ActionAuthChain?entityId=jiaowu';\nconst targetUrl = 'https:\/\/jwxt.sztu.edu.cn\/jsxsd\/framework\/xsMain.htmlx';\nconst username = 'xxxxxxxxxxx'; \nconst password = 'xxxxxxxxxxx'; \n\nasync function simulateLogin() {\n    try {\n        const browser = await puppeteer.launch();\n        const page = await browser.newPage();\n\n        await page.goto(loginUrl);\n \n        await page.type('input&#91;name=\"j_username\"]', username);\n        await page.type('input&#91;name=\"j_password\"]', password);\n\n        await page.waitForNavigation();\n\n       <mark style=\"background-color:rgba(0, 0, 0, 0);color:#00ff2f\" class=\"has-inline-color\"> \/\/ \u5982\u679c\u60f3\u5199\u8df3\u8f6c\uff0c\u4fdd\u7559\u8fd9\u4e00\u884c<\/mark>\n        await page.goto(targetUrl);\n\n       <mark style=\"background-color:rgba(0, 0, 0, 0);color:#00ff2f\" class=\"has-inline-color\"> \/\/ \u7531\u4e8e\u7f51\u901f\u4e0d\u540c\uff0c\u5efa\u8bae\u81ea\u884c\u8bbe\u7f6e\u7b49\u5f85\u65f6\u95f4\u4ee5\u4fdd\u8bc1\u9875\u9762\u5b8c\u5168\u52a0\u8f7d<\/mark>\n        await page.waitForTimeout(2000);\n    } catch (error) {\n        console.error('\u767b\u5f55\u5931\u8d25:', error);\n    }\n}\n\nsimulateLogin();<\/code><\/pre>\n\n\n\n<p>\u63a5\u4e0b\u6765\u5c31\u662f\u83b7\u53d6\u8bfe\u8868\u7684html\u7136\u540e\u7ee7\u7eed\u4e9b\u4ec0\u4e48\u5b57\u7b26\u4e32\u5206\u5272\u554a\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f\u5904\u7406\u554a\uff0c\u5212\u5206\u540e\u4fdd\u5b58\u5230json\u6587\u4ef6\u91cc\u5565\u7684\u64cd\u4f5c\u4e86\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote has-vivid-cyan-blue-color has-text-color\">\n<p>\u5199\u8005\u6ce8<\/p>\n<cite>\u548c\u7fa4\u53cb\u8ba8\u8bba\u7684\u65f6\u5019\uff0c\u8ba8\u8bba\u5230\u6211\u4eec\u5b66\u6821\u7684\u8bfe\u8868\u754c\u9762\u6709\u4e2a\u6309\u94ae\uff0c\u89e6\u53d1\u540e\u5c31\u662f\u76f4\u63a5\u628aexcel\u5f62\u5f0f\u7684\u8bfe\u8868\u4fdd\u5b58\u5230\u672c\u5730\u3002\u7528\u8fd9\u79cd\u65b9\u5f0f\u83b7\u53d6\u8bfe\u8868\u662f\u6700\u65b9\u4fbf\u7684\u3002\u5982\u679c\u4e0d\u9700\u8981\u540e\u7eed\u6570\u636e\u5904\u7406\u7684\u8bdd\u53ef\u4ee5\u8bd5\u7740\u76f4\u63a5\u4fdd\u5b58\u4e3aexcel\u3002<br>\u4e0d\u8fc7\u8fd9\u79cd\u65b9\u6cd5\u5bf9\u4e8e\u9700\u8981\u540e\u7eed\u6570\u636e\u5904\u7406\u7684\u6709\u4e2a\u95ee\u9898\u3002\u4fdd\u5b58\u7684\u8def\u5f84\u662f\u6d4f\u89c8\u5668\u7684\u4e0b\u8f7d\u8def\u5f84\uff0c\u6ca1\u6cd5\u81ea\u5b9a\u4e49\u3002\u5373\u4f7f\u80fd\u81ea\u5b9a\u4e49\uff0c\u8fd9\u610f\u5473\u7740\u6211\u540e\u7eed\u64cd\u4f5c\u9700\u8981\u591a\u4e00\u6b65\u83b7\u53d6\u6587\u4ef6\u8def\u5f84\u7684\u65b9\u6cd5\u3002\u800c\u81ea\u52a8\u83b7\u53d6\u8def\u5f84\u90a3\u662f\u8d85\u7ea7\uff0c\u8d85\u7ea7\u9ebb\u70e6\u7684\u4e00\u4ef6\u4e8b\u3002100\u4e2a\u7528\u6237\u670999\u4e2a\u7684\u8def\u5f84\u4e0d\u4e00\u6837\uff0c\u6709\u82f1\u6587\u6709\u4e2d\u6587\uff0c\u6709\u81ea\u5b9a\u4e49\u6709\u9ed8\u8ba4\u7684\u3002<br>\u5f53\u7136\uff0c\u53ef\u4ee5\u8ba9\u7528\u6237\u901a\u8fc7filepicker\u53bb\u624b\u52a8\u9009\u62e9\u6587\u4ef6\u3002\u4f46\u8fd9\u79cd\u64cd\u4f5c\u4f60\u4ed4\u7ec6\u60f3\u4e00\u4e0b\u5c31\u4f1a\u53d1\u73b0\uff0c\u540e\u7eed\u4f1a\u51fa\u73b0\u5f88\u591a\u4fee\u6539\u6216\u8005\u5b9e\u73b0\u8d77\u6765\u8d85\u7ea7\u9ebb\u70e6\u7684\u5730\u65b9\uff08\u6bd4\u5982\u5b66\u6821\u7ed9excel\u7684\u547d\u540d\u89c4\u5219\u6539\u4e86\uff1b\u7528\u6237\u91cd\u590d\u5bfc\u5165\u7684\u8bdd\u8981\u4fdd\u7559\u8fd9\u6b21\u5bfc\u5165\u7684\uff0c\u7136\u540e\u628a\u4e0a\u4e00\u6b21\u5bfc\u5165\u7684excel\u6587\u4ef6\u5220\u4e86\uff1b\u5982\u679c\u4e0a\u6b21\u5bfc\u5165\u7684\u6587\u4ef6\u7528\u6237\u6253\u5f00\u4e86\u5728\u540e\u53f0\u6302\u7740\uff0c\u5bfc\u81f4\u8fd9\u4e2a\u6587\u4ef6\u53d8\u4e3a\u201c\u53ea\u8bfb\u201d\uff0c\u4f60\u65e0\u6cd5\u5220\u9664\u5b83\uff1b\uff09\u3002<br>\u5f53\u7136\u5e76\u4e0d\u662f\u8bf4\u65e0\u6cd5\u5b9e\u73b0\uff0c\u53ea\u662f\u4e0d\u5efa\u8bae\u8fd9\u4e48\u505a\u3002\u5982\u679c\u6211\u662f\u7528\u6237\u6211\u80af\u5b9a\u5e0c\u671b\u6211\u9700\u8981\u624b\u52a8\u64cd\u4f5c\u7684\u5730\u65b9\u8d8a\u5c11\u8d8a\u597d\u3002<br>\u6240\u4ee5\u6700\u540e\u8fd8\u662f\u9009\u62e9\u4e86\u76f4\u63a5\u628a\u8bfe\u8868\u7f51\u9875\u7684html\u4fdd\u5b58\u4e0b\u6765\uff0c\u5bf9html\u4f5c\u64cd\u4f5c\u7684\u65b9\u6cd5\u3002\u8fd9\u6837\u4fdd\u5b58\u7684html\u76f4\u63a5\u5728JavaScript\u7a0b\u5e8f\u7684\u6839\u76ee\u5f55\u4e0b\uff0c\u64cd\u4f5c\u8d77\u6765\u8fd8\u662f\u5f88\u65b9\u4fbf\u7684\u3002<\/cite><\/blockquote>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u901a\u8fc7\u6a21\u62df\u89e6\u53d1\u201c\u767b\u5f55\u201d\u4e8b\u4ef6<\/p>\n","protected":false},"author":1,"featured_media":3838,"comment_status":"open","ping_status":"","sticky":false,"template":"base","format":"standard","meta":{"footnotes":""},"categories":[55,33],"tags":[56,57],"_links":{"self":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/1399"}],"collection":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/comments?post=1399"}],"version-history":[{"count":0,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/1399\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media\/3838"}],"wp:attachment":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media?parent=1399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/categories?post=1399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/tags?post=1399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}