Skip to content

Commit

Permalink
🔧 chore: update README & use confirm
Browse files Browse the repository at this point in the history
Signed-off-by: SimonShiki <[email protected]>
  • Loading branch information
SimonShiki committed Nov 5, 2023
1 parent f388054 commit 09be349
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
30 changes: 15 additions & 15 deletions README-ja_JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@ Chibi は Tampermonkey/GreasyMonkey に対応するユーザースクリプト

# ✨ 仕様

- [X] 標準 Scratch 拡張機能をロードできる
- [X] Unsandboxed 拡張機能をロードできる
- [X] どこでも Turbowarp 専用機能を使える (一部)
- [ ] 拡張機能をインストールしなくでもサードパーティー拡張機能を搭載したプロジェクトを起動できる
- [X] 直接的にエディターから拡張機能をロードできる
- [x] 標準 Scratch 拡張機能をロードできる
- [x] Unsandboxed 拡張機能をロードできる
- [x] どこでも Turbowarp 専用機能を使える (一部)
- [x] 拡張機能をインストールしなくでもサードパーティー拡張機能を搭載したプロジェクトを起動できる
- [x] 直接的にエディターから拡張機能をロードできる

# 🌈 プラットフォーム

- [X] Scratch
- [X] CodingClip
- [X] Cocrea
- [X] Aerfaying
- [X] Co-Create World
- [X] XMW
- [X] CodeLab
- [X] 40code
- [X] TurboWarp
- [X] Xueersi
- [x] Scratch
- [x] CodingClip
- [x] Cocrea
- [x] Aerfaying
- [x] Co-Create World
- [x] xMW
- [x] CodeLab
- [x] 40code
- [x] TurboWarp
- [x] xueersi

# 🔥 使い方

Expand Down
2 changes: 1 addition & 1 deletion README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Chibi 是一个用户脚本,可以在任何基于 Scratch 的编辑器中加
- [x] 加载标准 Scratch 扩展
- [x] 加载非沙盒扩展
- [x] 加载使用 Turbowarp 专有扩展接口的扩展(部分)
- [ ] 提供一种不安装扩展也可以打开加载了第三方扩展的项目的方式
- [x] 提供一种不安装扩展也可以打开加载了第三方扩展的项目的方式
- [x] 直接从编辑器内加载

# 🌈 支持的平台
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Chibi is a userscript which can load 3rd-party extensions in any Scratch-based e
- [x] Load Scratch standard extensions
- [x] Unsandboxed extensions
- [x] TurboWarp Extension API (very small part)
- [ ] Fallback solution for visitors without script installation
- [x] Fallback solution for visitors without script installation
- [x] Load from editor

# 🌈 Supported platforms
Expand Down
2 changes: 1 addition & 1 deletion src/injector/inject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ export function inject (vm: ChibiCompatibleVM) {
'CHIBI_SIDELOAD_FROM_FILE_TEMPORAILY'
);
workspace.registerButtonCallback('CHIBI_SIDELOAD_FROM_FILE_TEMPORAILY', () => {
if (prompt(format('chibi.exprimentalFileWarning'))) {
if (confirm(format('chibi.exprimentalFileWarning'))) {
const input = document.createElement('input');
input.setAttribute('type', 'file');
input.setAttribute('accept', '.js');
Expand Down

0 comments on commit 09be349

Please sign in to comment.