exists
// (can't/shouldn't add a frame to the
if (document.body) {
// create iframe and append it to
const iframe = document.createElement('iframe');
iframe.style.cssText = 'display:none';
iframe.name = '__uspapiLocator';
document.body.appendChild(iframe);
} else {
/**
* Wait for the body tag to exist.
*
* Since this API "stub" is located in the ,
* setTimeout allows us to inject the iframe more
* quickly than relying on DOMContentLoaded or
* other events.
*/
setTimeout(addFrame, 5);
}
}
}
// add the "__uspapiLocator" frame to the window
addFrame();
}
window.ads = {};纸飞机加速器安卓版