Youtube double language subtitle / Youtube 双语字幕

Youtube double language subtitle / Youtube 双语字幕. 如果不能自动加载,请关闭字幕再次打开即可。默认语言为浏览器首选语言。

< Feedback on Youtube double language subtitle / Youtube 双语字幕

Review: Good - script works

沒有設定@run-at document-start是一個大問題
https://github.com/CoinkWang/Y2BDoubleSubs/pull/17

其餘的小問題我都幫你修好了
代碼相關 https://github.com/CoinkWang/Y2BDoubleSubs/pull/16
代碼庫沒更新 https://github.com/CoinkWang/Y2BDoubleSubs/pull/15
頁面語言 https://github.com/CoinkWang/Y2BDoubleSubs/pull/14

你搞定後就能把這個介紹當中的

- 默认语言为浏览器首选语言,可通过更改'localeLang'参数进行指定。
- 如果出现没有自动加载的情况,可能是字幕请求在hook前就被发送了,请关闭字幕再次打开即可。
除去

語言不用手動代碼改,直接跟隨頁面語言的
也不會再有没有自动加载的情况

CoinkWangAuthor
§
Posted: 25.12.2022.
Edited: 25.12.2022.

For the "localeLang" description, I didn't remove it, it could be useful for those who are using langeage A on y2b page, but also want to translate subs to language B.

these PRs has been merged to master, and I just released 1.8.0 version of script. Thanks for the contribution!

§
Posted: 25.12.2022.
Edited: 25.12.2022.

Great :) Keep good works ~

For your information, I found another userscript which also translates the things on YouTube.

For reference: https://greasyfork.org/scripts/456108

Post reply

Sign in to post a reply.