GreaysFork 快速輸入腳本同步訊息,並批量增加多個國家的語言代碼,而不用一個個地點擊選擇框再去對應的網址。
目前為

「 这个脚本可以帮助你快速输入脚本同步信息,并批量增加多个国家的语言代码,而不用一个个地点击选择框再去对应的网址。 」
Download:Github | ⭐Greasy Fork
When setting up synchronization information on GreasyFork, you might often find that after submitting, the sync information hasn't been successfully saved, requiring you to re-enter it. This is one of the small issues with the website. To solve this problem, this script helps you quickly input script synchronization information and batch-add multiple country language codes without having to click on each checkbox and then go to the corresponding URL.
Currently, the following three formats are supported:
README_xxx.md.
https://www.xxx.com/path/to/your/README_xxxxx.mdhttps://www.xxx.com/path/to/your/filename.md##ko https://www.xxx.com/path/to/your/filename.md##simplebodymiddlearts (zh-CN) Example code: If you have more options, you can extend it.
let localeKey = url.includes('##') ? url.match(/##.*\((.*?)\)$/) || url.match(/##(.*?)$/) : url.match(/README_(.*?)\.md/)
