GreaysFork Enhanced WebHook Sync Settings

Quickly input script sync information and batch add language codes for multiple countries without the need to click

As of 04.09.2024. See ბოლო ვერსია.

ავტორი
人民的勤务员
რეიტინგი
0 0 0
ვერსია
1.1
შექმნილია
04.09.2024
განახლებულია
04.09.2024
Size
28 KB
Compatibility
Compatible with Firefox Compatible with Chrome Compatible with Opera Compatible with Safari Compatible with Edge
ლიცენზია
MIT
გამოყენებს მათ
UserScripts

人民的勤务员/UserScriptsGithub:@ChinaGodMan

脚本来自互联网广大网友,本人仅是做了些许改动.感谢网友 如有侵权,联系必删,勤务员的脚本可供随意修改.
Gmail

GreasyFork Total Installs Total Daily Installs Scripts Count Good Ratings Ok Ratings Bad Ratings

Github commit forks Issue license CopyRight


starsStar Me请给我点星

给勤务员加鸡腿

GreaysFork 增强 WebHook同步设置

「 这个脚本可以帮助你快速输入脚本同步信息,并批量增加多个国家的语言代码,而不用一个个地点击选择框再去对应的网址。 」

Download:Github | ⭐Greasy Fork

更新记录
  • 2024/9/5 04:29 - Ver: 1.1.0.0 每次提交后返回GreasyFork同步提示.
  • 2024/9/4 11:52 - Ver: 1.0.0.0 初始版本.欢迎使用.

GreasyFork - Enhanced WebHook Synchronization Settings

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.

Features

  • Quick Input of Synchronization Information: No need to manually repeat input, allowing you to quickly set and sync information.
  • Batch Add Language Codes: Supports batch addition of multiple country/region language codes without the need to select each one individually.
  • Supports Multiple Formats: You can choose different URL formats for setup based on your needs.

Instructions (For more details, refer to the images below or the video above)

  • Script Management Page: On the script management page, an additional button is added at the bottom. After clicking it, you can manage the current script.
  • Website Top Navigation Bar: Adds an option to the navigation bar that, when clicked, automatically retrieves the WebHook synchronized scripts for multiple management.

Supported Formats

Currently, the following three formats are supported:

  1. Get Country Language from Markdown File: Only supports README_xxx.md. https://www.xxx.com/path/to/your/README_xxxxx.md
  2. Directly Set Corresponding Country Language (Simple Format): Supports other format files. https://www.xxx.com/path/to/your/filename.md##ko
  3. Directly Set Corresponding Country Language (Detailed Format): Supports other format files. https://www.xxx.com/path/to/your/filename.md##简体中文 (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/)

Attention:

  • When submitting localized country information, there must be a header declaration such as//@ name: zh CN in the code, otherwise even if the submission is successful, it will still fail!
  • The script must exist! Otherwise, synchronization will fail,

Project and Feedback

sync.png nav.png message.png 404.png