Jump to content

User:Ed6767/oozedev.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// The ooze loader - for development at the moment
// Add a script tag with type module to localhost:5173/src/main.ts?t=(current time in ms)

const oozeScript = document.createElement('script');
oozeScript.type = 'module';
oozeScript.id = 'oozeEntryScript';
oozeScript.src = 'https://localhost:5173/src/main.ts?t=' + Date.now();
document.head.appendChild(oozeScript);