this repo has no description

audio player: hide discord's stupid url parameters

12Me21 1e8218f0 a1f43f72

+1 -1
+1 -1
render.js
··· 132 132 let link = e.firstChild 133 133 link.href = url 134 134 link.title = url 135 - link.lastChild.textContent = url.replace(/.*[/]/, "…/") 135 + link.lastChild.textContent = url.replace(/.*[/]/, "…/").replace(/[?].*$/, "?…") 136 136 return e 137 137 }.bind(𐀶`<y12-audio><a>🎵️<span></span></a></y12-audio>`), 138 138