CINXE.COM
Maxthon Help
<!DOCTYPE html> <html lang="en"> <head> <link rel="icon" type="image/x-icon" href="images/favicon.ico"> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, shrink-to-fit=no" /> <meta name="description" content="Maxhon Help Center" /> <title>Maxthon Help</title> <!-- 1. Theme --> <link rel="stylesheet" href="https://unpkg.com/docsify-themeable/dist/css/theme-simple.css" /> <link rel="stylesheet" href="theme_custom.css" /> </head> <body onload="onload()"> <div id="app"></div> <script> function onload(){ const language = navigator.language; const url = window.location.href; if(language.toLowerCase().slice(0,2)==="zh"&&url.slice(-3)==="/#/") setTimeout(()=>{ //console.log("change") window.location.replace(url +"zh/") },500) } function sanitize(str) { return str.replace(/&<"/g, function(m) { if (m === "&") return "&"; if (m === "<") return "<"; return """; }); } function isrelative(href) { //console.log(href) return href.slice(4) != "http"; } function dirname(path) { //console.log('path:',path) const p = path.lastIndexOf("/"); const name = p == -1 ? "" : path.slice(1, p+1); //console.log('dirname:',name) return name; } // 4. Docsify Configuration window.$docsify = { name: "Maxthon Help", coverpage: { '/': 'cover.md', '/zh/': 'cover.md' }, homepage: "README.md", loadSidebar: "sidebar.md", auto2top: true, relativePath: true, maxLevel: 3, subMaxLevel: 3, // 5. docsify-themeable themeable: { // readyTransition : false, // responsiveTables: false }, pagination: { previousText: "LAST", nextText: "NEXT", crossChapter: true, crossChapterText: true }, markdown: { renderer: { image: function(src, title, alt) { if (isrelative(src)) { src = dirname(window.location.hash.substring(1)) + src; } const exec = /=\s*(\d*(?:px|em|ex|ch|rem|vw|vh|vmin|vmax|%))\s*,*\s*(\d*(?:px|em|ex|ch|rem|vw|vh|vmin|vmax|%))*\s*$/.exec( title ); let res = '<img src="' + sanitize(src) + '" alt="' + sanitize(alt); if (exec && exec[1]) res += '" height="' + exec[1]; if (exec && exec[2]) res += '" width="' + exec[2]; //console.log('image:',res) return res + '">'; } } } }; </script> <!-- Required: docsify + docsify-themeable --> <script src="https://unpkg.com/docsify/lib/docsify.min.js"></script> <script src="https://unpkg.com/docsify-themeable"></script> <!-- 6. Docsify Plugins --> <script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script> <script src="https://unpkg.com/docsify/lib/plugins/search.js"></script> <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script> <!-- <script src="https://unpkg.com/docsify-copy-code"></script> --> <!-- <script src="https://unpkg.com/docsify/lib/plugins/zoom-image.min.js"></script> --> </body> </html>