该脚本用于翻译各类常用社交网站为中文,不会经过中间服务器。
{
name: 'github',
matcher: /https:\/\/github.com\/.+\/.+\/\w+\/\d+/,
options: [
{
name: "issues",
selector: baseSelector(".edit-comment-hide > task-lists > table > tbody > tr > td > p"),
textGetter: baseTextGetter,
textSetter: options => setTimeout(baseTextSetter, 0, options),
},
{
name: "discussions",
selector: baseSelector(" task-lists > table > tbody > tr > td > p"),
textGetter: baseTextGetter,
textSetter: options => setTimeout(baseTextSetter, 0, options),
},
]
},
已添加,感谢贡献!
可不可以增加Github的issues, PR, discussion 翻译?
蟹蟹!