0

I have following javascript function saved as bookmarklet in my browser:

javascript:(function(){window.open("data:video/x-mpegurl;charset=utf-8;base64,"+btoa("#EXTM3U\n"+document.location.href))})()

the document.location.href is an URL which may contain video timeseek at the end, such as:

https://www.youtube.com/watch?v=wH6pF-gXbuw&t=77s

how can I remove the &t=77s part from the url?

400 the Cat
  • 266
  • 3
  • 23

0 Answers0