MCPcopy
hub / github.com/027xiguapi/code-box / copyCodeCssFunc

Function copyCodeCssFunc

contents/51cto.tsx:78–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76
77 /* 未登录复制代码 */
78 function copyCodeCssFunc() {
79 addCss(`
80 article .hljs-cto,
81 article{
82 -webkit-touch-callout: auto !important;
83 -webkit-user-select: auto !important;
84 -khtml-user-select: auto !important;
85 -moz-user-select: auto !important;
86 -ms-user-select: auto !important;
87 user-select: auto !important;
88 }`)
89 }
90
91 function copyCodeFunc() {
92 copyCodeCssFunc()

Callers 1

copyCodeFuncFunction · 0.70

Calls 1

addCssFunction · 0.85

Tested by

no test coverage detected