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

Function createScript

Picviewer CE+/dist.user.js:12897–12899  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

12895 return escapeHTMLPolicy?escapeHTMLPolicy.createScriptURL(html):html;
12896 }
12897 function createScript(html){
12898 return escapeHTMLPolicy?escapeHTMLPolicy.createScript(html):html;
12899 }
12900 function tryDirectSetHTML(target, htmlStr){
12901 if (!canDirectSetHTML) return false;
12902 try {

Callers 3

initFunction · 0.70
isunsafeFunction · 0.70
addPageScriptFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected