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

Function getIframe

DownloadAllContent/DownloadAllContent.user.js:1086–1095  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1084 }
1085 }
1086 function getIframe() {
1087 if (iframePool && iframePool.length) return iframePool.shift();
1088 let iframe = document.createElement('iframe');
1089 iframe.name = 'pagetual-iframe';
1090 iframe.width = '100%';
1091 iframe.height = '1000';
1092 iframe.frameBorder = '0';
1093 iframe.style.cssText = 'margin:0!important;padding:0!important;visibility:hidden!important;flex:0;opacity:0!important;pointer-events:none!important;position:fixed;top:0px;left:0px;z-index:-2147483647;';
1094 return iframe;
1095 }
1096 var insertSigns=[];
1097 // var j=0,rCats=[];
1098 var downIndex=0,downNum=0,downOnce=function(wait){

Callers 1

requestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected