6 ms·
If you want a bookmark: javascript:audio=document.createElement('audio');audio.controls=true;audio.autoplay=true;audio.src='https://per.quest/'+document.loca
by soheil 5y ago
If you want a bookmark:
javascript:audio=document.createElement('audio');audio.controls=true;audio.autoplay=true;audio.src='https://per.quest/'+document.location.href;audio.style='position:fixed;right:0;top:0;height:revert;z-index:10000;';document.body.appendChild(audio);
- ASTP001 5y agoYour code did not work for me, here is what worked: javascript:(function(){audio=document.createElement('audio');audio.controls=true;audio.autoplay=true;audio.src='https://per.quest/'+document.location.href; https://per.quest/'+document.location.href; audio.style='position:fixed;right:0;top:0;height:revert;z-index:10000;';document.body.appendChild(audio);})();
- darkstar999 5y agoI also had to engage in an arms race with z-index:999999 to keep it above a website's sticky header.
- tantalor 5y ago"bookmarklet"
- deleted 5y ago[deleted]