Currently I have this bookmarklet:
javascript:currentUrl=document.location.href;document.location.assign(currentUrl+'embed');
What this does is that it grabs the current URL
www.example.com/knZg_INW8fL/
and adds
embed
behind it so it can be embeded
However, sometimes, the URL will have a
?hl=en
behind it. How can I remove that and simultaneously add
embed
behind it?