Skip to content

Commit b2dc7f5

Browse files
committed
doc: adjust guide text
1 parent 52b257b commit b2dc7f5

File tree

6 files changed

+31
-19
lines changed

6 files changed

+31
-19
lines changed

src/app/_locales/en/quick-start-guide-ios.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@
1212
- Manage extensions from the Settings App (Settings > Safari > Extensions) or Safari App (`AA` button on iPhone, `extension-icon` on iPad, the same location where you open the extension's `popup` interface).
1313
- For an optimal experience it's recommended that you "Always Allow" Userscripts for "All Websites", but you could also allow only the sites you want, but please don't forget your settings if your script doesn't work.
1414

15-
### How to you install a user script
15+
### How to install and inject a user script and some things to note:
1616

1717
- The mobile extension does not currently have a built-in script editor, but you could still write your own scripts and install them.
1818
- You could save files that extension with `.user.js` directly to the Userscripts directory.
1919
- The script file must contain a valid metadata block to match the web pages and be displayed in the extension popup.
2020
- When you visit a `.user.js` URL in Safari, open the extension popup and you will see an installation prompt, or it will pop up automatically if you have enhanced prompts turned on.
2121
- The URL should end with `.user.js` in `/PATH` part, not the `?QUERY` or `#HASH` parts, otherwise it will not be considered a valid user script URL by the extension.
22+
- When you enabled the extension and write the metadata correctly especially like `@match`, it will automatically complete the injection when you visit a matching web page.
23+
- You could temporarily disable individual user scripts or all of them, just open the extension popup interface to toggle them.
2224

2325
### That’s it, start improving your quality of life now!
2426

src/app/_locales/en/quick-start-guide-mac.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,18 @@
99

1010
- **Enable the extension in Safari**
1111

12-
- Enable Userscripts in Safari extensions list.
12+
- Enable Userscripts in Safari > Settings... > Extensions list.
1313
- For an optimal experience it's recommended that you "Always Allow" Userscripts for "All Websites", but you could also allow only the sites you want, but please don't forget your settings if your script doesn't work.
1414

15-
### How to you install a user script
15+
### How to install and inject a user script and some things to note:
1616

1717
- The preferred method is of course to create your own scripts, open the extension page and click on the plus sign in the editor to create a new JS, write code and save it.
1818
- You could also save files that extension with `.user.js` directly to the Userscripts directory.
1919
- The script file must contain a valid metadata block to match the web pages and be displayed in the extension popup.
2020
- When you visit a `.user.js` URL in Safari, open the extension popup and you will see an installation prompt, or it will pop up automatically if you have enhanced prompts turned on.
2121
- The URL should end with `.user.js` in `/PATH` part, not the `?QUERY` or `#HASH` parts, otherwise it will not be considered a valid user script URL by the extension.
22+
- When you enabled the extension and write the metadata correctly especially like `@match`, it will automatically complete the injection when you visit a matching web page.
23+
- You could temporarily disable individual user scripts or all of them, just open the extension popup interface to toggle them.
2224

2325
### That’s it, start improving your quality of life now!
2426

src/app/_locales/zh/quick-start-guide-ios.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,18 @@
88

99
- **在 Safari 中启用扩展**
1010

11-
- 从设置应用程序(设置 > Safari > 扩展程序)或 Safari 应用程序(iPhone 上的“AA”按钮,iPad 上的“扩展图标”,也是您打开扩展程序的“弹出”界面的位置)管理扩展程序
11+
- `设置` 应用(设置 > Safari > 扩展)或 `Safari` 应用(iPhone 上的“AA”按钮,iPad 上的“扩展图标”,也是您打开扩展的“弹出界面”的位置)管理扩展
1212
- 为了获得最佳体验,建议您“始终允许” Userscripts 为“所有网站”,但您也可以仅允许您想要的网站,但当您的脚本不起作用时,请不要忘记您的设置。
1313

14-
### 那么,如何安装用户脚本
14+
### 那么,如何安装和注入用户脚本,以及一些注意事项
1515

1616
- 移动版扩展目前不包含内置的脚本编辑器,但您仍然可以编写您自己的脚本并安装它们。
1717
- 您可以直接保存扩展名为 `.user.js` 的文件到您上面设置的 Userscripts 目录中。
18-
- 您的脚本文件必须包含有效的元数据块以匹配网站页面并正确显示在扩展的弹出窗口中
19-
- 当您在 Safari 中访问一个 `.user.js` 网址,然后打开扩展弹出窗口,您将看到安装提示;如果您启用了增强提示,它会自动弹出。
18+
- 您的脚本文件必须包含有效的元数据块以匹配网站页面并正确显示在扩展的弹出界面中
19+
- 当您在 Safari 中访问一个 `.user.js` 网址,然后打开扩展弹出界面,您将看到安装提示;如果您启用了增强提示,它会自动弹出。
2020
- 请注意该网址的 `/路径` 部分应该以 `.user.js` 结尾,而不是 `?查询``#锚点` 部分,否则该网址将不会被视为有效的用户脚本。
21+
- 当您启用该扩展并正确编写元数据尤其是像 `@match` 后,当您访问匹配的网页时,它将自动完成注入。
22+
- 您可以暂时禁用单个用户脚本或所有用户脚本,只需打开扩展弹出界面即可切换它们。
2123

2224
### 就这样,现在就开始改善您的生活质量吧!
2325

src/app/_locales/zh/quick-start-guide-mac.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,18 @@
88

99
- **在 Safari 中启用扩展**
1010

11-
- 在 Safari 扩展列表中启用 Userscripts 条目。
11+
- 在 Safari > 设置... > 扩展列表中启用 Userscripts 条目。
1212
- 为了获得最佳体验,建议您“始终允许” Userscripts 为“所有网站”,但您也可以仅允许您想要的网站,但当您的脚本不起作用时,请不要忘记您的设置。
1313

14-
### 那么,如何安装用户脚本
14+
### 那么,如何安装和注入用户脚本,以及一些注意事项
1515

1616
- 首选的方法当然是撰写您自己的用户脚本,打开扩展页面点击加号创建新脚本,编辑和保存它。
1717
- 您还可以直接保存扩展名为 `.user.js` 的文件到您上面设置的 Userscripts 目录中。
18-
- 您的脚本文件必须包含有效的元数据块以匹配网站页面并正确显示在扩展的弹出窗口中
19-
- 当您在 Safari 中访问一个 `.user.js` 网址,然后打开扩展弹出窗口,您将看到安装提示;如果您启用了增强提示,它会自动弹出。
18+
- 您的脚本文件必须包含有效的元数据块以匹配网站页面并正确显示在扩展的弹出界面中
19+
- 当您在 Safari 中访问一个 `.user.js` 网址,然后打开扩展弹出界面,您将看到安装提示;如果您启用了增强提示,它会自动弹出。
2020
- 请注意该网址的 `/路径` 部分应该以 `.user.js` 结尾,而不是 `?查询``#锚点` 部分,否则该网址将不会被视为有效的用户脚本。
21+
- 当您启用该扩展并正确编写元数据尤其是像 `@match` 后,当您访问匹配的网页时,它将自动完成注入。
22+
- 您可以暂时禁用单个用户脚本或所有用户脚本,只需打开扩展弹出界面即可切换它们。
2123

2224
### 就这样,现在就开始改善您的生活质量吧!
2325

src/app/_locales/zh_Hant/quick-start-guide-ios.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,18 @@
88

99
- **在 Safari 中啟用延伸功能**
1010

11-
- 從設定應用程式(設定 > Safari > 延伸功能程式)或 Safari 應用程式(iPhone 上的“AA”按鈕,iPad 上的“延伸功能圖示”,也是您開啟延伸功能程式的“彈出”介面的位置)管理延伸功能程式
11+
- `設定` 應用(設定 > Safari > 延伸功能)或 `Safari` 應用(iPhone 上的“AA”按鈕,iPad 上的“延伸功能圖示”,也是您開啟延伸功能的“彈出介面”的位置)管理延伸功能
1212
- 為了獲得最佳體驗,建議您“始終允許” Userscripts 為“所有網站”,但您也可以僅允許您想要的網站,但當您的腳本不起作用時,請不要忘記您的設定。
1313

14-
### 那麼,如何安裝使用者腳本
14+
### 那麼,如何安裝和注入使用者腳本,以及一些注意事項
1515

1616
- 移動版延伸功能目前不包含內建的腳本編輯器,但您仍然可以編寫您自己的腳本並安裝它們。
1717
- 您可以直接儲存副檔名為 `.user.js` 的檔案到您上面設定的 Userscripts 目錄中。
18-
- 您的腳本檔案必須包含有效的元資料塊以匹配網站頁面並正確顯示在延伸功能的彈出視窗中
19-
- 當您在 Safari 中訪問一個 `.user.js` 網址,然後開啟延伸功能彈出視窗,您將看到安裝提示;如果您啟用了增強提示,它會自動彈出。
18+
- 您的腳本檔案必須包含有效的元資料塊以匹配網站頁面並正確顯示在延伸功能的彈出介面中
19+
- 當您在 Safari 中訪問一個 `.user.js` 網址,然後開啟延伸功能彈出介面,您將看到安裝提示;如果您啟用了增強提示,它會自動彈出。
2020
- 請注意該網址的 `/路徑` 部分應該以 `.user.js` 結尾,而不是 `?查詢``#錨點` 部分,否則該網址將不會被視為有效的使用者腳本。
21+
- 當您啟用該延伸功能並正確編寫元資料尤其是像 `@match` 後,當您訪問匹配的網頁時,它將自動完成注入。
22+
- 您可以暫時禁用單個使用者腳本或所有使用者腳本,只需開啟延伸功能彈出介面即可切換它們。
2123

2224
### 就這樣,現在就開始改善您的生活質量吧!
2325

src/app/_locales/zh_Hant/quick-start-guide-mac.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,18 @@
88

99
- **在 Safari 中啟用延伸功能**
1010

11-
- 在 Safari 延伸功能列表中啟用 Userscripts 條目。
11+
- 在 Safari > 設定... > 延伸功能列表中啟用 Userscripts 條目。
1212
- 為了獲得最佳體驗,建議您“始終允許” Userscripts 為“所有網站”,但您也可以僅允許您想要的網站,但當您的腳本不起作用時,請不要忘記您的設定。
1313

14-
### 那麼,如何安裝使用者腳本
14+
### 那麼,如何安裝和注入使用者腳本,以及一些注意事項
1515

1616
- 首選的方法當然是撰寫您自己的使用者腳本,開啟延伸功能頁面點選加號建立新腳本,編輯和儲存它。
1717
- 您還可以直接儲存副檔名為 `.user.js` 的檔案到您上面設定的 Userscripts 目錄中。
18-
- 您的腳本檔案必須包含有效的元資料塊以匹配網站頁面並正確顯示在延伸功能的彈出視窗中
19-
- 當您在 Safari 中訪問一個 `.user.js` 網址,然後開啟延伸功能彈出視窗,您將看到安裝提示;如果您啟用了增強提示,它會自動彈出。
18+
- 您的腳本檔案必須包含有效的元資料塊以匹配網站頁面並正確顯示在延伸功能的彈出介面中
19+
- 當您在 Safari 中訪問一個 `.user.js` 網址,然後開啟延伸功能彈出介面,您將看到安裝提示;如果您啟用了增強提示,它會自動彈出。
2020
- 請注意該網址的 `/路徑` 部分應該以 `.user.js` 結尾,而不是 `?查詢``#錨點` 部分,否則該網址將不會被視為有效的使用者腳本。
21+
- 當您啟用該延伸功能並正確編寫元資料尤其是像 `@match` 後,當您訪問匹配的網頁時,它將自動完成注入。
22+
- 您可以暫時禁用單個使用者腳本或所有使用者腳本,只需開啟延伸功能彈出介面即可切換它們。
2123

2224
### 就這樣,現在就開始改善您的生活質量吧!
2325

0 commit comments

Comments
 (0)