mirror of
https://git.mirrors.martin98.com/https://github.com/cilame/v_jstools
synced 2025-08-15 09:06:01 +08:00
add
This commit is contained in:
parent
47a6f23593
commit
b6d3671f24
@ -903,8 +903,7 @@ function injectfunc(e, window) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var toggle = true
|
var toggle = true
|
||||||
if (e["config-hook-alt-w"]) {
|
e.logtogglefunc = function(event){
|
||||||
document.onkeydown = e.logtogglefunc = function(event){
|
|
||||||
if (event.key == 'w' && event.altKey){
|
if (event.key == 'w' && event.altKey){
|
||||||
toggle = !toggle
|
toggle = !toggle
|
||||||
e["config-hook-domobj"] = toggle
|
e["config-hook-domobj"] = toggle
|
||||||
@ -928,6 +927,8 @@ function injectfunc(e, window) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (e["config-hook-alt-w"]) {
|
||||||
|
document.onkeydown = e.logtogglefunc
|
||||||
}
|
}
|
||||||
if (e["config-hook-console"]){
|
if (e["config-hook-console"]){
|
||||||
Object.keys(console).map(function(e){console[e] = eval(`saf(function ${e}(){})`)})
|
Object.keys(console).map(function(e){console[e] = eval(`saf(function ${e}(){})`)})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user