Script for removing si parameter from share url.
< 腳本Youtube share url si parameter remover.的回應
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.
it's fixed now, sorry for not fixing earlier
登入以回覆
土豆服务器,请按需使用
镜像地址随时可能被墙,建议加群获取最新地址
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
I've fixed the playlist breaking problem. Instruction below.
Replace
this line into
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.