Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/theajack/disable-devtool
/ checkTk
Function
checkTk
src/main.ts:44–49 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
42
});
43
44
function
checkTk () {
45
if
(!config.md5)
return
false;
46
// 启用了 md5
47
const
tk = getUrlParam(config.tkName);
48
return
md5(tk) === config.md5;
// 命中tk
49
}
50
51
const
options = checkScriptUse();
52
if
(options) {
Callers
1
main.ts
File · 0.85
Calls
1
getUrlParam
Function · 0.90
Tested by
no test coverage detected