Re:Show HN: Instantly listen to any URL
by soheil on Friday August 13, 2021 @02:27PM
(#28172474)
If you want a bookmark:
[ Parent
| on HN ]
Your 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; audio.style='position:fixed;right:0;top:0;height:revert;z-index:10000;';document.body.appendChild(audio);})();
Re:Show HN: Instantly listen to any URL
by darkstar999 on Friday August 13, 2021 @03:10PM
(#28173142)
I also had to engage in an arms race with z-index:999999 to keep it above a website's sticky header.