<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;">
<title>自定义主菜单帮助</title>
<link rel="shortcut icon" href="https://palhube666.wodemo.net/entry/539442/3bb276234ca6ec04b770595e3865c56e/favicon.jpg" type="image/x-icon">
</head>
<body>
<div>
<h3>自定义主菜单帮助</h3> <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;🤔嘤嘤嘤~ 本功能为了更加方便的编辑,所以放弃了UI<span style="text-decoration: line-through;">(哈哈哈,怎么可能是我懒呢₍˄·͈༝·͈˄*₎◞ ̑̑)</span></span> <br><br> <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;其中需要注意的是:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;①“空/null”为占位空格,使用后为空白,无功能<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;②每个功能中间需要换行<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;③功能可以重复使用</span> <br><br> <span>编辑时的代码如下(4.5.8版本):</span>
<div style="display: flex;flex-direction: column;" id="warp">
</div>
</div>
<script>
var list = [{
tit:"空/null"
},{
tit:"添加书签/b2"
},{
tit:"桌面模式/c5"
},{
tit:"无痕模式/c3"
},{
tit:"文本编辑/w2"
},{
tit:"页面源码/b8"
},{
tit:"翻译网页/cq"
},{
tit:"无图模式/c6"
},{
tit:"锁定页面/b1"
},{
tit:"分享/cg"
},{
tit:"刷新/c9"
},{
tit:"全屏模式/bu"
},{
tit:"字体大小/bs"
},{
tit:"云盘☁️/yp"
},{
tit:"主动脚本/co"
},{
tit:"页面搜索/cd"
},{
tit:"下载管理/bb"
},{
tit:"其他打开/c8"
},{
tit:"夜间模式/c4"
},{
tit:"实验室/ck"
},{
tit:"退出/bg"
},{
tit:"转应用/bc"
},{
tit:"快捷注入/k5"
},{
tit:"禁用JS/js"
},{
tit:"UA标识/ct"
},{
tit:"页面调试/bl"
},{
tit:"转二维码/c7"
},{
tit:"强制复制/cy"
},{
tit:"资源嗅探/cp"
},{
tit:"对比浏览/b0"
},{
tit:"视频播放器/bf"
},{
tit:"强制看图/w1"
},{
tit:"网络日志/b7"
},{
tit:"审查元素/cb"
},{
tit:"保存网页/cc"
},{
tit:"悬浮窗浏览/n2"
},{
tit:"打印网页/sy"
},{
tit:"阅读模式/re"
},{
tit:"截取页面/cu"
},{
tit:"脚本菜单/me"
},{
tit:"朗读网页/li"
}]
for (var i = 0; i < list.length; i++) {
let obj = list[i];
let div = document.createElement("div");
div.className = 'item';
let span = document.createElement("h2");
span.innerText = obj.tit;
div.appendChild(span);
document.getElementById('warp').appendChild(div);
}

</script>
<style>
html,body{
margin: 0;
}
.item{
background-color: #FFFFFF;
display: flex;
flex-direction: column;
padding-left: 20px;
padding-right: 15px;
padding-top: 6px;
padding-bottom: 15px;
}
.item:active{
background-color: #ededed;
}
h2{
font-size: 13px;
color: #666666;
}
</style>
</body>
</html>


Back to home | File page

Subscribe | Register | Login | N