MCPcopy Create free account
hub / github.com/hoothin/UserScripts / normalizeDisableKeySites

Function normalizeDisableKeySites

Picviewer CE+/dist.user.js:28552–28555  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

28550
28551 // 注册按键
28552 function normalizeDisableKeySites(value) {
28553 if (!value) return [];
28554 return value.split("\n").map(s => s.trim()).filter(Boolean);
28555 }
28556
28557 function isKeyDisabledForUrl(url, host, list) {
28558 for (let i = 0; i < list.length; i++) {

Callers 3

initFunction · 0.70
updateKeydownListenerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected