MCPcopy
hub / github.com/hoothin/UserScripts / debug

Function debug

Pagetual/pagetual.user.js:4162–4170  ·  view source on GitHub ↗
(str, title)

Source from the content-addressed store, hash-verified

4160 }
4161
4162 function debug(str, title) {
4163 if (enableDebug) {
4164 console.log(
4165 `%c【Pagetual v.${_GM_info.script.version}】 ${title ? title : 'debug'}:`,
4166 'color: yellow;font-size: large;font-weight: bold;background-color: darkblue;border-radius: 10px;text-shadow: 1px 1px 3px black;padding: 5px;',
4167 str
4168 );
4169 }
4170 }
4171
4172 function requestWithFetch(f, onFetchError) {
4173 function getHeaderValue(headers, name) {

Callers 15

createPolicyFunction · 0.85
anylizeEleFunction · 0.85
initFunction · 0.85
pretreatmentFunction · 0.85
checkFloatBarFunction · 0.85
dist.user.jsFile · 0.85
createPolicyFunction · 0.85
anylizeEleFunction · 0.85
initFunction · 0.85
pretreatmentFunction · 0.85
checkFloatBarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected