whistle.nohost
Version:
Nohost plugin for whistle
24 lines (22 loc) • 778 B
Plain Text
* htmlAppend://{whistle.nohost/inject.html} enable://safeHtml
``` whistle.nohost/inject.html
<script>
(function() {
if (typeof window === 'undefined' || !window || window.self !== window.top
|| window.__whistle_nohost_from_imweb_is_inited__) {
return;
}
window.__whistle_nohost_from_imweb_is_inited__ = true;
var head = document.head || document.getElementsByTagName('head')[0] || document.documentElement;
var script = document.createElement('script');
script.async = true;
script.charset = 'utf8';
script.src = '/...whistle-path.5b6af7b9884e1165...///whistle.nohost/js/nohost.js';
if (head.firstChild) {
head.insertBefore(script, head.firstChild);
} else {
head.appendChild(script);
}
})();
</script>
```