Greasy Fork is available in English.

Youtube share url si parameter remover.

Script for removing si parameter from share url.

< Opiniones de Youtube share url si parameter remover.

Puntuación: Pasable; el script funciona, pero tiene carencias importantes

§
Publicado: 04/02/2024
Editado: 04/02/2024

I've fixed the playlist breaking problem. Instruction below.


Replace

url_field.value = split[0] + (split[2] ? '?' + split[2] : '');

this line into

if (split[1].includes("si=")) {
                        url_field.value = split[0] + (split[2] ? '?' + split[2] : '');
                    }
                    else if (split[2].includes("si=")) {
                        url_field.value = split[0] + (split[2] ? '?' + split[1] : '');
                    }

this.


Then it will work perfectfully for both videos and playlists. I'm not expecting if any other exceptions are needed or there can be a better code, so far.

m-pasikAutor
§
Publicado: 24/04/2024

it's fixed now, sorry for not fixing earlier

Publicar respuesta

Inicia sesión para responder.