Greasy Fork is available in English.
Copies link without opening share dialog
< Feedback on [YouTube] Remove share dialog
Currently, it doesn't work for links like https://www.youtube.com/watch?app=desktop&v=egEraZP9yXQ which seems to be something that YouTube is showing on desktops. Changing the regex to /(?<=(\?|&)v=).+?(?=(&|$))/ig fixes it.
https://www.youtube.com/watch?app=desktop&v=egEraZP9yXQ
/(?<=(\?|&)v=).+?(?=(&|$))/ig
Sign in to post a reply.
Currently, it doesn't work for links like
https://www.youtube.com/watch?app=desktop&v=egEraZP9yXQ
which seems to be something that YouTube is showing on desktops. Changing the regex to/(?<=(\?|&)v=).+?(?=(&|$))/ig
fixes it.