[YouTube] Remove share dialog

Copies link without opening share dialog

< Părere la script-ul [YouTube] Remove share dialog

Recenzie: Bun, script-ul merge

§
Postat în: 19-07-2023

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.

Postează un raspuns

Autentifică-te pentru a posta un răspuns.