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
تسجيل الدخول إلى مرحلة ما بعد الرد.
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.