Skip to content

Commit f60c009

Browse files
committed
🌐 添加i18n内容
1 parent a8db379 commit f60c009

25 files changed

+313
-431
lines changed

docs/change/README.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,7 @@ sidebar_position: 1
55

66
# 更新日志
77

8-
脚本猫的版本发布主要分为两条分支: 正式版本与预发布版本.
9-
10-
预发布版本是在正式发布之前的版本.它们通常用于测试新功能,预发布版本的版本号包含一个预发布标识符,例如:
11-
`1.0.0-beta.1`.
12-
13-
你可以从[Release](https://github.com/scriptscat/scriptcat/releases)页或者下面的扩展商店页中获取预发布版本
14-
15-
- [Chrome](https://chromewebstore.google.com/detail/%E8%84%9A%E6%9C%AC%E7%8C%AB-beta/jaehimmlecjmebpekkipmpmbpfhdacom?authuser=0&hl=zh-CN)
16-
- [Edge](https://microsoftedge.microsoft.com/addons/detail/%E8%84%9A%E6%9C%AC%E7%8C%AB-beta/nimmbghgpcjmeniofmpdfkofcedcjpfi)
17-
- [Firefox](https://addons.mozilla.org/zh-CN/firefox/addon/scriptcat-pre/)
18-
19-
另外除了预发布以外,脚本猫每次代码提交合并到主分支后都会在[Github Action](https://github.com/scriptscat/scriptcat/actions/workflows/build.yaml)上打包构建一次扩展,如果你想体验最新或者修复的内容可以前往[Github Action](https://github.com/scriptscat/scriptcat/actions/workflows/build.yaml)页进行下载.
8+
Beta版本更新日志请查看 [Beta 更新日志](./beta.md)
209

2110
<a name="0.18.2"></a>
2211
<a name="0.18.2-beta"></a>

docs/change/beta.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
id: beta-changelog
3+
sidebar_position: 1
4+
---
5+
6+
# Beta 更新日志
7+
8+
脚本猫的版本发布主要分为两条分支: 正式版本与预发布版本,正式版本更新日志请看:[更新日志](./README.md)
9+
10+
预发布版本是在正式发布之前的版本.它们通常用于测试新功能,预发布版本的版本号包含一个预发布标识符,例如:
11+
`1.0.0-beta.1`.
12+
13+
你可以从[Release](https://github.com/scriptscat/scriptcat/releases)页或者下面的扩展商店页中获取预发布版本
14+
15+
- [Chrome](https://chromewebstore.google.com/detail/%E8%84%9A%E6%9C%AC%E7%8C%AB-beta/jaehimmlecjmebpekkipmpmbpfhdacom?authuser=0&hl=zh-CN)
16+
- [Edge](https://microsoftedge.microsoft.com/addons/detail/%E8%84%9A%E6%9C%AC%E7%8C%AB-beta/nimmbghgpcjmeniofmpdfkofcedcjpfi)
17+
- [Firefox](https://addons.mozilla.org/zh-CN/firefox/addon/scriptcat-pre/)
18+
19+
另外除了预发布以外,脚本猫每次代码提交合并到主分支后都会在[Github Action](https://github.com/scriptscat/scriptcat/actions/workflows/build.yaml)上打包构建一次扩展,如果你想体验最新或者修复的内容可以前往[Github Action](https://github.com/scriptscat/scriptcat/actions/workflows/build.yaml)页进行下载.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"version.label": {
3+
"message": "Next",
4+
"description": "The label for version current"
5+
},
6+
"sidebar.use.category.服务协议": {
7+
"message": "Service Agreement",
8+
"description": "The label for category 服务协议 in sidebar use"
9+
}
10+
}
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
id: use
3+
---
4+
5+
# Quick Start
6+
7+
> ScriptCat is a browser extension that can execute user scripts, everything can be scripted, making your browser capable of doing more!
8+
>
9+
> Continuously compatible with Tampermonkey scripts, already compatible with 90%+ Tampermonkey scripts, more Tampermonkey features are being improved, and additionally supports more powerful background scripts and scheduled scripts!
10+
>
11+
> If you find that your Tampermonkey script is not compatible, you can provide feedback at [GitHub Repo](https://github.com/scriptscat/scriptcat).
12+
13+
## Install Extension
14+
15+
You can install the extension from the following extension stores:
16+
17+
- [Microsoft Edge](https://microsoftedge.microsoft.com/addons/detail/scriptcat/liilgpjgabokdklappibcjfablkpcekh)
18+
- [Google Chrome](https://chrome.google.com/webstore/detail/scriptcat/ndcooeababalnlpkfedmmbbbgkljhpjf)
19+
- [Firefox](https://addons.mozilla.org/zh-CN/firefox/addon/scriptcat/)
20+
21+
### Other Browsers
22+
23+
If your browser is not in the above list, you can download the `zip`/`crx` file from the [Github Release](https://github.com/scriptscat/scriptcat/releases) page and install it manually.
24+
25+
### Load Unpacked Extension Installation
26+
27+
① First download the `zip` file from [Github Release](https://github.com/scriptscat/scriptcat/releases) or [Community Download](https://bbs.tampermonkey.net.cn/thread-3068-1-1.html) page. If it's a `crx` file, change its extension to `zip`.
28+
29+
② Prepare a folder for storing the plugin, and extract the above zip file to that folder. After extraction, it should look like this (**Note: This folder cannot be deleted or moved, otherwise the extension will not work properly**) ![download-zip](./img/README.assets/download-zip.webp)
30+
31+
③ Open the browser's extension management interface to load the unpacked extension (refer to [Enable developer mode to support manifest v3 ScriptCat](/docs/use/open-dev/) to enable developer mode first)
32+
33+
- 1. **Edge** ![edge-load-unpacked](./img/README.assets/edge-load-unpacked.webp)
34+
- 2. **Chrome** ![chrome-load-unpacked](./img/README.assets/chrome-load-unpacked.webp)
35+
36+
④ Select the folder created in step ② (after loading is complete, the ScriptCat icon will appear in the extension list in the extension management interface, and you can also see it by clicking the extension button in the upper right corner of the browser's address bar)
37+
38+
- 1. **Edge** ![edge-load-unpacked-img](./img/README.assets/edge-load-unpacked-img.webp)
39+
- 2. **Chrome** ![chrome-load-unpacked-img](./img/README.assets/chrome-load-unpacked-img.webp)
40+
41+
⑤ Click the ScriptCat icon in the upper right corner, click `` > Get Scripts in the upper right corner of the interface that appears, and you can go to the script site to search and install scripts.
42+
43+
Note: Extensions installed this way cannot be automatically updated. If you need to update, please repeat the above steps to update the extension (replace files and reload once).
44+
45+
46+
## Get Scripts
47+
48+
> In addition to scripts, you can also get some script information and tutorials from [Tampermonkey Chinese Forum](https://bbs.tampermonkey.net.cn/) and [Script Development Guide](https://learn.scriptcat.org/).
49+
50+
### ScriptCat Script Site
51+
52+
[ScriptCat Script Site](https://scriptcat.org/) is the script site for this extension, where you can publish scripts you write.
53+
54+
- New script site
55+
- Background scripts/scheduled scripts
56+
- User-friendly interface
57+
58+
### Userscript.Zone Search
59+
60+
[Userscript.Zone Search](https://www.userscript.zone/?utm_source=tm.net&utm_medium=scripts) is a new website that allows searching for user scripts by entering appropriate URLs or domains.
61+
62+
- Large amount of script resources
63+
- Easy to find suitable user scripts
64+
- Only shows user scripts from reviewed user script pages or at least pages with comment functionality
65+
66+
### GreasyFork
67+
68+
[GreasyFork](https://greasyfork.org/) is perhaps the most popular script site. It was created by Jason Barnabe, who is also the founder of the [Stylish](https://userstyles.org/) website, and has a large amount of script resources in its repository.
69+
70+
- Large amount of script resources
71+
- Has the ability to sync scripts from Github
72+
- Very active [open source development model](https://github.com/JasonBarnabe/greasyfork)
73+
74+
### GitHub/Gist
75+
76+
You can [search for script resources in Github and Gist.](https://gist.github.com/search?l=JavaScript&o=desc&q="%3D%3DUserScript%3D%3D"&s=updated)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
id: sync
3+
---
4+
5+
# Synchronization and Backup
6+
7+
Supports the following cloud storage:
8+
9+
- [x] WebDAV
10+
- [x] Baidu NetDisk
11+
- [x] OneDrive
12+
13+
## Synchronization
14+
15+
When a script is updated, it will be immediately synchronized to the cloud. However, when cloud data changes, it takes some time to scan and synchronize to local. Please note this when multiple devices share the same cloud storage.
16+
17+
Clicking Save in the script synchronization section will immediately perform a full synchronization.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Frequently Asked Questions
3+
---
4+
5+
#### Q: XXXX
6+
7+
xxxx
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: Enable Browser User Scripts Support
3+
---
4+
5+
# Enable Browser User Scripts Support
6+
7+
> Due to browser restrictions, extensions are forced to upgrade to Manifest V3, and Manifest V2 extensions will be completely discontinued after June 2025;
8+
>
9+
> Under the limitations of Manifest V3, you must enable developer mode/user scripts functionality to use ScriptCat extension normally.
10+
>
11+
> Reference: [Developer mode for extension users](https://developer.chrome.com/docs/extensions/reference/api/userScripts?hl=en#developer_mode_for_extension_users), [Manifest V3](https://developer.chrome.com/docs/extensions/develop/migrate/what-is-mv3?hl=en)
12+
13+
⚠️⚠️⚠️ For browser kernel versions >=138, you need to enable [Allow User Scripts](#allow-user-scripts). For lower versions \<138, use [Enable Developer Mode](#enable-developer-mode).
14+
15+
⚠️⚠️⚠️ Please note: If you are using Windows 8/7/XP systems, or browser kernel versions lower than \<120, you need to manually install the [legacy ScriptCat](https://bbs.tampermonkey.net.cn/thread-3068-1-1.html). v0.16.6 is the last version that supports Manifest V2. Installation steps can be found at: [Load unpacked extension installation](/docs/use/use/#load-unpacked-extension-installation).
16+
17+
## Enable Developer Mode
18+
19+
① Open the browser's extension management interface, or visit [chrome://extensions/](chrome://extensions/)
20+
21+
- 1. **Edge**
22+
23+
![edge-open-settings](./img/README.assets/edge-open-settings.webp)
24+
25+
- 2. **Chrome**
26+
27+
![chrome-open-settings](./img/README.assets/chrome-open-settings.webp)
28+
29+
② Enable `Developer mode` (In some browsers, this mode may be located in other options, such as 360 Browser: Advanced Management > Developer Mode)
30+
31+
- 1. **Edge** ![edge-open-dev](./img/README.assets/edge-open-dev.webp)
32+
- 2. **Chrome** ![chrome-open-dev](./img/README.assets/chrome-open-dev.webp)
33+
34+
③ After enabling developer mode, disable and then re-enable the extension, or restart the browser to make the script functionality effective.
35+
36+
## Allow User Scripts
37+
38+
[Allow User Scripts](https://developer.chrome.com/docs/extensions/reference/api/userScripts?hl=en#chrome_versions_138_and_newer_allow_user_scripts_toggle) is a new feature of Manifest V3 that allows user scripts to run in the browser.
39+
40+
① Open the browser's extension management interface, or visit [chrome://extensions/](chrome://extensions/)
41+
42+
- 1. **Edge**
43+
44+
![edge-open-settings](./img/README.assets/edge-open-settings.webp)
45+
46+
- 2. **Chrome**
47+
48+
![chrome-open-settings](./img/README.assets/chrome-open-settings.webp)
49+
50+
② In the extension management interface, find the ScriptCat extension and click `Details`
51+
52+
![image-20250623140940401](img/5.open-dev.assets/image-20250623140940401.png)
53+
54+
③ In the ScriptCat extension details page, find the `Allow user scripts` option and enable it. Then disable and re-enable the extension, or restart the browser to make the script functionality effective.
55+
56+
> ⚠️⚠️⚠️ If you are using Edge browser (>=138 version) and don't see the `Allow user scripts` option, or still see errors after enabling developer mode, please refer to: [Edge browser not showing Allow user scripts option](https://github.com/scriptscat/scriptcat/issues/418#issuecomment-2994772406)
57+
58+
![image-20250623141002831](img/5.open-dev.assets/image-20250623141002831.png)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: Install Scripts
3+
---
4+
5+
> Please refer to [Quick Start](/docs/use/use/) to install ScriptCat extension first.
6+
7+
## Installation Steps from Various Websites
8+
9+
### ScriptCat Community
10+
11+
[ScriptCat Community](https://scriptcat.org/search) ScriptCat official site
12+
13+
### Userscript.Zone
14+
15+
[Userscript.Zone](https://www.userscript.zone/) is a new website that allows searching for user scripts by entering appropriate URLs or domains.
16+
17+
- **Large amount of script resources**
18+
- **Easy to find suitable user scripts**
19+
- **Only shows user scripts from reviewed user script pages or at least pages with comment functionality**
20+
21+
### GreasyFork
22+
23+
[GreasyFork](https://greasyfork.org/) is the most popular script site. It was created by Jason Barnabe, who is also the founder of the Stylish website, and has a large amount of script resources in its repository.
24+
25+
- **Large amount of script resources**
26+
- **Has the ability to sync scripts from Github**
27+
- **Very active open source development model**
28+
29+
### OpenUserJS
30+
31+
[OpenUserJS](https://openuserjs.org/) was created after GreasyFork. It was created by Sizzle McTwizzle, and similarly, it also has a large amount of script resources in its repository.
32+
33+
- **Has the ability to sync scripts from Github and fork scripts**
34+
- **Very active open source development model**
35+
36+
### GitHub/Gist
37+
38+
You can search for script resources in Github and Gist.
39+
40+
41+
## Manual Script Installation
42+
43+
1. Click the ScriptCat extension icon
44+
2. Click the "home button" in the interface to enter the ScriptCat management interface
45+
3. Click the "Create New Script" button in the upper right corner (generally creating a normal script is sufficient)
46+
4. Paste the script code in the popup page
47+
5. Press `ctrl + s` to save changes
48+
6. Return to the management interface to see your newly created script

i18n/en/docusaurus-plugin-content-docs/current/use/99.policy/_category_.json

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
id: disclaimer
3+
title: Disclaimer
4+
---
5+
6+
The Scriptcat browser extension (hereinafter referred to as "Extension") is developed and provided by the Scriptcat team (hereinafter referred to as "we" or "developers"). Before you start using this extension, please carefully read the following disclaimer. User installation and use of this extension through various methods will be deemed as unconditional acceptance of all content of this statement.
7+
8+
1. The extension and all its content and functionality are provided on an "as is" and "as available" basis, without any express or implied warranties. We do not guarantee the performance, functionality, or availability of the extension, nor do we guarantee that the extension will run error-free or that any errors will be corrected.
9+
10+
2. Under no circumstances shall the Scriptcat team, contributors, or any related persons be liable for any direct, indirect, incidental, special, punitive or consequential damages, including but not limited to data loss, loss of profits, equipment damage, or business interruption, whether such damages arise from the use or inability to use the extension, even if advised of the possibility of such damages.
11+
12+
3. You agree to assume all risks of using the extension. You must understand the security risks that may arise from downloading and using third-party scripts, including but not limited to malware attacks or data breaches. We are not responsible for the security, functionality, or content of any third-party scripts.
13+
14+
4. All intellectual property rights of the extension, including copyrights, trademarks, service marks, and patent rights, belong to its developers or their licensors. Without the express written consent of the developers or their licensors, you may not copy, modify, republish, or otherwise use these materials.
15+
16+
5. We reserve the right to modify or terminate extension services at any time without prior notice to users. We are not liable to users or any third parties for any modifications, price changes, suspensions, or terminations of services.
17+
18+
6. The final interpretation of the above statement content belongs to the Scriptcat team.
19+
20+
By using Scriptcat, you acknowledge that you have read and understood this disclaimer and agree to its terms. If you have any questions about this disclaimer, you can contact us via email: \<[email protected]\> or through the feedback methods in the product.

0 commit comments

Comments
 (0)