mirror of
https://git.mirrors.martin98.com/https://github.com/cilame/v_jstools
synced 2025-08-15 18:26:00 +08:00
add
This commit is contained in:
parent
f19f9d1b3d
commit
65e1ad3881
6
codeedit/jquery.min.js
vendored
6
codeedit/jquery.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,63 +0,0 @@
|
|||||||
<!doctype html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>jquery选项卡-jq22.com</title>
|
|
||||||
<script src="./jquery.min.js"></script>
|
|
||||||
<style>
|
|
||||||
div {
|
|
||||||
margin:0;
|
|
||||||
padding:0;
|
|
||||||
width:184px;
|
|
||||||
height:200px;
|
|
||||||
border:1px solid #ccc;
|
|
||||||
display:none;
|
|
||||||
}
|
|
||||||
.tab {
|
|
||||||
margin:0;
|
|
||||||
padding:0;
|
|
||||||
list-style:none;
|
|
||||||
width:200px;
|
|
||||||
overflow:hidden;
|
|
||||||
}
|
|
||||||
.tab li {
|
|
||||||
float:left;
|
|
||||||
width:60px;
|
|
||||||
height:30px;
|
|
||||||
background:#ccc;
|
|
||||||
color:#fff;
|
|
||||||
border:1px solid red;
|
|
||||||
text-align:center;
|
|
||||||
line-height:30px;
|
|
||||||
cursor:pointer;
|
|
||||||
}
|
|
||||||
.on {
|
|
||||||
display:block;
|
|
||||||
}
|
|
||||||
.tab li.cur {
|
|
||||||
background:blue;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<ul class="tab">
|
|
||||||
<li>最新</li>
|
|
||||||
<li class="cur">热门</li>
|
|
||||||
<li>新闻</li>
|
|
||||||
</ul>
|
|
||||||
<div>11</div>
|
|
||||||
<div class="on">22</div>
|
|
||||||
<div>33</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
$(".tab li").click(function() {
|
|
||||||
$(".tab li").eq($(this).index()).addClass("cur").siblings().removeClass('cur');
|
|
||||||
$("div").hide().eq($(this).index()).show();
|
|
||||||
//另一种方法: $("div").eq($(".tab li").index(this)).addClass("on").siblings().removeClass('on');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
68
options.html
68
options.html
@ -1,16 +1,68 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>配置页面</title>
|
<title>配置页面</title>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<style>
|
||||||
|
nav li{
|
||||||
|
display: inline;
|
||||||
|
width: 24%;
|
||||||
|
text-decoration: none;
|
||||||
|
border:1px solid red;
|
||||||
|
padding: 15px;
|
||||||
|
}
|
||||||
|
nav li: hover{
|
||||||
|
background-color: lightblue;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="./tools/codeedit/lib/codemirror.css">
|
||||||
|
<link rel="stylesheet" href="./tools/codeedit/addon/fold/foldgutter.css">
|
||||||
|
<link rel="stylesheet" href="./tools/codeedit/addon/dialog/dialog.css">
|
||||||
|
<link rel="stylesheet" href="./tools/codeedit/theme/monokai.css">
|
||||||
|
<link rel="stylesheet" href="./tools/codeedit/addon/display/fullscreen.css">
|
||||||
|
<link rel="stylesheet" href="./tools/codeedit/addon/scroll/simplescrollbars.css">
|
||||||
|
<script src="./tools/codeedit/lib/codemirror.js"></script>
|
||||||
|
<script src="./tools/codeedit/addon/search/searchcursor.js"></script>
|
||||||
|
<script src="./tools/codeedit/addon/search/search.js"></script>
|
||||||
|
<script src="./tools/codeedit/addon/dialog/dialog.js"></script>
|
||||||
|
<script src="./tools/codeedit/addon/edit/matchbrackets.js"></script>
|
||||||
|
<script src="./tools/codeedit/addon/edit/closebrackets.js"></script>
|
||||||
|
<script src="./tools/codeedit/addon/comment/comment.js"></script>
|
||||||
|
<script src="./tools/codeedit/addon/wrap/hardwrap.js"></script>
|
||||||
|
<script src="./tools/codeedit/addon/fold/foldcode.js"></script>
|
||||||
|
<script src="./tools/codeedit/addon/fold/brace-fold.js"></script>
|
||||||
|
<script src="./tools/codeedit/mode/javascript/javascript.js"></script>
|
||||||
|
<script src="./tools/codeedit/keymap/sublime.js"></script>
|
||||||
|
<script src="./tools/codeedit/addon/display/fullscreen.js"></script>
|
||||||
|
<script src="./tools/codeedit/addon/scroll/simplescrollbars.js"></script>
|
||||||
|
<style>
|
||||||
|
.CodeMirror {border-top: 1px solid #eee; border-bottom: 1px solid #eee; line-height: 1.3; height: 500px}
|
||||||
|
.CodeMirror-linenumbers { padding: 0 8px; }
|
||||||
|
</style>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<nav id="nav">
|
||||||
<div id="getsets" style="float: left"></div>
|
<ul>
|
||||||
<div id="funcs" style="float: left"></div>
|
<li class="act">dom对象 hook 配置</li>
|
||||||
<script src="options.js"></script>
|
<li>AST混淆解密</li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<div id="container">
|
||||||
|
<section class="tab">
|
||||||
|
<div id="getsets" style="float: left"></div>
|
||||||
|
<div id="funcs" style="float: left"></div>
|
||||||
|
</section>
|
||||||
|
<section class="tab">
|
||||||
|
<div>功能还在做</div>
|
||||||
|
<article></article>
|
||||||
|
<article></article>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<script src="options.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
72
options.js
72
options.js
File diff suppressed because one or more lines are too long
@ -65,7 +65,7 @@
|
|||||||
<br/>
|
<br/>
|
||||||
<label style="margin-left: 20px"><input type="checkbox" data-key="config-hook-btoa">hook-btoa</label>
|
<label style="margin-left: 20px"><input type="checkbox" data-key="config-hook-btoa">hook-btoa</label>
|
||||||
<br/>
|
<br/>
|
||||||
<label ><input type="checkbox" data-key="config-hook-domobj">hook-domobj</label>
|
<label ><input type="checkbox" data-key="config-hook-domobj">hook-domobj</label> <button id='showoptions'>打开 dom 对象配置页选择需要 hook 的对象(建议全选)</button>
|
||||||
<br/>
|
<br/>
|
||||||
<label style="margin-left: 20px"><input type="checkbox" data-key="config-hook-domobj-get">hook-domobj-显示get输出</label>
|
<label style="margin-left: 20px"><input type="checkbox" data-key="config-hook-domobj-get">hook-domobj-显示get输出</label>
|
||||||
<br/>
|
<br/>
|
||||||
@ -73,8 +73,8 @@
|
|||||||
<br/>
|
<br/>
|
||||||
<label style="margin-left: 20px"><input type="checkbox" data-key="config-hook-domobj-func">hook-domobj-显示func输出</label>
|
<label style="margin-left: 20px"><input type="checkbox" data-key="config-hook-domobj-func">hook-domobj-显示func输出</label>
|
||||||
<br/>
|
<br/>
|
||||||
<label ><input type="checkbox" data-key="config-hook-test">test(插件开发者测试用)</label>
|
<!-- <label ><input type="checkbox" data-key="config-hook-test">test(插件开发者测试用)</label>
|
||||||
<br/>
|
<br/> -->
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
<div>AST解密混淆</div>
|
<div>AST解密混淆</div>
|
||||||
|
12
popup.js
12
popup.js
@ -20,3 +20,15 @@ document.querySelectorAll("input").forEach(function(v){
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
document.getElementById('showoptions').addEventListener('click', function(e){
|
||||||
|
function closePopup() {
|
||||||
|
window.close();
|
||||||
|
document.body.style.opacity = 0;
|
||||||
|
setTimeout(function() { history.go(0); }, 300);
|
||||||
|
}
|
||||||
|
closePopup()
|
||||||
|
chrome.tabs.create({
|
||||||
|
url: chrome.extension.getURL('options.html')
|
||||||
|
});
|
||||||
|
})
|
Loading…
x
Reference in New Issue
Block a user