diff --git a/docs/.vuepress/public/js/detect_headless.js b/docs/.vuepress/public/js/detect_headless.js index 3a5ad748a..5a1ed3ebc 100644 --- a/docs/.vuepress/public/js/detect_headless.js +++ b/docs/.vuepress/public/js/detect_headless.js @@ -461,7 +461,7 @@ async function testBrowser(test) { } // All testing items -const headlessTests = [ +var headlessTests = [ { name: "User Agent", id: "user-agent", correct: "不含 headless 关键字", target: "SE/PH/PL/PP", testFunction: testUserAgent }, { name: "App Version", id: "app-version", correct: "不含 headless 关键字", target: "SE/PH/PL/PP", testFunction: testAppVersion }, { name: "Languages", id: "languages", correct: "至少包含一种语言", target: "SE/PH/PL/PP", testFunction: testLanguages }, @@ -487,9 +487,9 @@ const headlessTests = [ { name: "Browser features", id: "browser-features", correct: "HiDPI/Retina 屏幕为 true", target: "SE/PH/PL/PP", testFunction: testBrowserFeatures }, // abandoned ]; -setTimeout(function() { - headlessTests.forEach(test => { - generateTableRow(test); - testBrowser(test).then(res => {}); - }), 500 -}) +// setTimeout(function() { +// headlessTests.forEach(test => { +// generateTableRow(test); +// testBrowser(test).then(res => {}); +// }), 500 +// }) diff --git "a/docs/05.\350\276\205\345\212\251\346\237\245\350\257\242/03.\346\214\207\347\272\271\344\277\241\346\201\257/03.\350\207\252\345\212\250\345\214\226\345\267\245\345\205\267\346\243\200\346\265\213.md" "b/docs/05.\350\276\205\345\212\251\346\237\245\350\257\242/03.\346\214\207\347\272\271\344\277\241\346\201\257/03.\350\207\252\345\212\250\345\214\226\345\267\245\345\205\267\346\243\200\346\265\213.md" index f7ee65672..ad051f31d 100644 --- "a/docs/05.\350\276\205\345\212\251\346\237\245\350\257\242/03.\346\214\207\347\272\271\344\277\241\346\201\257/03.\350\207\252\345\212\250\345\214\226\345\267\245\345\205\267\346\243\200\346\265\213.md" +++ "b/docs/05.\350\276\205\345\212\251\346\237\245\350\257\242/03.\346\214\207\347\272\271\344\277\241\346\201\257/03.\350\207\252\345\212\250\345\214\226\345\267\245\345\205\267\346\243\200\346\265\213.md" @@ -81,13 +81,13 @@ article: false - +