Download Jar. Libraryless. Click here for Pure Java version (4402L/30K).
!7 html { if (eq(uri, "/silence.mp3")) ret subBot_serveFile(loadLibrary(#1400405), "audio/mpeg"); ret "Test" + [[<iframe src="silence.mp3" allow="autoplay" id="audio"></iframe>]] + hscript([[ setTimeout(function() { if (window.workerRequestedSound == null) { console.log("Loading worker requested sound"); window.workerRequestedSound = new Audio("https://botcompany.de/files/1400404/worker-requested.mp3"); } console.log("Playing worker requested sound"); window.workerRequestedSound.play(); }, 3000); ]]); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028536 |
Snippet name: | Audio AutoPlay Hack Test (doesn't work anymore) |
Eternal ID of this version: | #1028536/6 |
Text MD5: | 32618f97a59e61a3de8ca8216e973a68 |
Transpilation MD5: | be9e8c7cb63ae05d4b145236fc5054c8 |
Author: | stefan |
Category: | javax / web |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-25 13:53:23 |
Source code size: | 607 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 266 / 757 |
Version history: | 5 change(s) |
Referenced in: | [show references] |