MCPcopy Index your code
hub / github.com/hoothin/UserScripts / saveConfig

Function saveConfig

Highlight Every Code/Highlight Every Code.user.js:224–231  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222 }
223 if(/greasyfork\.org\/.*\/scripts\/24150[^\/]*$/.test(location.href)){
224 var saveConfig=()=>{
225 var conStr="";
226 conStr+=altKey?"1":"0";
227 conStr+=ctrlKey?"1":"0";
228 conStr+=shiftKey?"1":"0";
229 conStr+=metaKey?"1":"0";
230 storage.setItem("keyConfig",conStr);
231 };
232 var keyEles=document.querySelectorAll("h1>em>code");
233 keyEles[0].style.userSelect="none";
234 keyEles[1].style.userSelect="none";

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected