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

Function isunsafe

Picviewer CE+/dist.user.js:26326–26336  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26324
26325 var _isunsafe = null;
26326 function isunsafe(){
26327 if (_isunsafe === null) {
26328 try {
26329 _isunsafe = unsafeWindow.eval(createScript("false"));
26330 } catch (e) {
26331 console.debug("unsafe");
26332 _isunsafe = true;
26333 }
26334 }
26335 return _isunsafe;
26336 }
26337 function addPageScript() {
26338 var pageScriptText=function(messageID){
26339 var frameID=Math.random();

Callers 2

initFunction · 0.70
addPageScriptFunction · 0.70

Calls 1

createScriptFunction · 0.70

Tested by

no test coverage detected