Firefox 瀏覽器附加元件
  • 擴充套件
  • 佈景主題
    • 用於 Firefox
    • 字典與語言套件
    • 其他瀏覽器網站
    • Android 版的附加元件
登入
Scratchpad 預覽

Scratchpad 作者: A Kistler

Replacement for the JavaScript Scratchpad editor removed in Firefox 72

4.2 (5 reviews)4.2 (5 reviews)
114 Users114 Users
必須使用 Firefox 才能使用此擴充套件
下載 Firefox 並安裝擴充套件
下載檔案

擴充套件後設資料

畫面擷圖
Editor in v0.7Options in v0.7
關於此擴充套件
Scratchpad provides an environment to experiment with JavaScript in Firefox. The item on the browser's Tools menu opens one or more separate windows which allow writing and running code that interacts with the active tab in the topmost window, in either the normal page context or Scratchpad's content context for the tab (with some limits) or in Scratchpad's background context.

Scratchpad uses CodeMirror 5, Copyright © Marijn Haverbeke and others. CodeMirror is released under the MIT License.
開發者留言
Notes on the permissions which Scratchpad uses:
  • "Open File ..." is really upload (i.e., load from disk).
  • "Save" and "Save As ..." are really download (i.e., save to disk). Scratchpad uses the Downloads permission for this reason. The extension Downloads API provides more functionality than HTML download, like feedback on whether the "save" was successful or not.
  • Scratchpad uses the Menus permission to add an item to the Tools menu.
  • Scratchpad uses the Storage permission to persist user preferences over time.
  • Scratchpad uses the <all_urls> permission to access all sources in all tabs to inject JavaScript, its core function.
  • Users can enable optional permissions as necessary for the code they write and run in Scratchpad.
Users who have Google Safe Browsing enabled will have network activity when saving files. Scratchpad itself never makes any network connection and sends no information anywhere. Users who don't wish to use Google Safe Browsing can disable it in the "Privacy & Security" tab of Firefox settings under "Deceptive Content and Dangerous Software Protection."

In no particular order, features I currently intend to add eventually include:
  • More CodeMirror features enabled (The extension validator rejects a lot of it, so there could be some patching involved.)
  • Per-scratchpad settings
From the statistics pages, the oldest FF versions seen as users:
  • FF 72 on 31 Mar 2023 through 8 May
  • FF 79 on 8 Jan 2023 (then never again)
  • FF 84 on 21 Feb 2023 through 4 Jun
由 1 位評論者給出 4.2 分
登入後即可幫此擴充套件評分
目前沒有評分

已儲存星等

5
2
4
2
3
1
2
0
1
0
閱讀全部 5 條評論
權限與資料了解更多

必要權限:

  • 下載檔案、讀取或修改瀏覽器的下載紀錄
  • 存取您所有網站中的資料

選用的權限:

  • 讀取或修改書籤
  • 讀取或修改瀏覽器設定
  • 取得剪貼簿中的資料
  • 輸入資料到剪貼簿
  • 開啟下載到您電腦上的檔案
  • 讀取所有開啟分頁當中的文字內容
  • 取得您的所在位置
  • 取得瀏覽紀錄
  • 向您顯示通知
  • 隱藏或顯示瀏覽器分頁
  • 存取瀏覽器分頁
  • 取得瀏覽紀錄
  • 在上網時了解瀏覽器行為狀態
更多資訊
版本
0.7.1
大小
216.71 KB
最近更新
8 個月前 (2024年12月17日)
相關分類
  • 網頁開發
授權條款
Mozilla Public License 2.0
版本紀錄
  • 瀏覽所有版本
新增至收藏集
檢舉此附加元件
0.7.1 版的發行公告
Release notes for 0.7.1
Bug fix: lack of user activation can block open picker
Bug fix: button bar keeps focus when it shouldn't
Bug fix: special keys matching [PRS] handled incorrectly
Bug fix: incomplete descriptions (about) for permissions
Map Ctrl-O same as the "Open File ..." button
Focus editor cursor on pointer entry

Release notes for v0.7
Bug fix: count tabs correctly
Bug fix: 1px font size error at startup
Tab key obeys space/tab preference (default keymap)
Shift-Tab outdents instead of autodents (default keymap)
Remap Ctrl+[JOPRS] to prevent browser defaults
* Ctrl-P prints the code frame
* Ctrl-R same as the "Run" button
* Ctrl-S same as the "Save As ..." button
A Kistler 製作的更多擴充套件
  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

瀏覽器

  • Desktop
  • Mobile
  • Enterprise

產品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隱私權
  • Cookie
  • 法律資訊

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。