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

Opal DevTools 作者: stofu1234

Ruby/Opal REPL for Firefox DevTools - Execute Ruby code directly in your browser

0(0 筆評分)0(0 筆評分)
下載 Firefox 並安裝擴充套件
下載檔案

擴充套件後設資料

畫面擷圖
Basic Ruby REPL usage - Execute Ruby code directly in DevTools with puts output and array operationsAdvanced features - Navigate modules with cd/ls commands, include mixins, and use localStorage helpersCode inspection - List constants, explore class methods with ls command, and inspect validation rulesExtension settings popup - Configure Opal detection mode and auto-inject options
關於此擴充套件
Opal Browser REPL - Ruby in Your Browser DevTools

Execute Ruby code directly in your browser's developer tools! This extension adds an "Opal REPL" panel to Firefox DevTools, allowing you to run Ruby code in the context of any web page.

🔷 TRY IT NOW

Visit our playground to test the extension:
https://stofu1234.github.io/opal-vite/ja/playground.html
  1. Open the playground page
  2. Press F12 to open DevTools
  3. Click the "Opal REPL" tab
  4. Start typing Ruby code!

🔷 FEATURES

• Interactive Ruby REPL in DevTools
• Pry-like commands (ls, cd, help, history)
• Command history with arrow key navigation
• Multi-line input support (Shift+Enter)
• Auto-inject Opal runtime on any page
• Works with pages that already have Opal loaded

🔷 COMMANDS

• help - Show available commands
• ls - List methods, variables, and constants
• ls obj - List methods of a specific object
• cd obj - Change context to explore objects
• history - Show command history

🔷 SETTINGS

Click the extension icon to access settings:
• Opal Detection Mode - Only show panel when Opal is detected
• Auto-inject Opal - Automatically inject Opal runtime if not found

🔷 TIPS

• Use backticks for inline JavaScript: document.title
• Use $_ to access the last result
• Press Ctrl+L to clear the console

🔷 LIMITATIONS

This extension uses eval() to execute Ruby code. Pages with strict Content Security Policy (CSP) that block 'unsafe-eval' are not supported. Use our playground page for the best experience.

🔷 OPEN SOURCE

GitHub: https://github.com/stofu1234/opal-browser-repl
Built with Opal - Ruby to JavaScript compiler (https://opalrb.com)

🔷 PRIVACY

This extension does not collect any personal data. All code execution happens locally in your browser.
由 1 位評論者給出 0 分
登入後即可幫此擴充套件評分
目前沒有評分

已儲存星等

5
0
4
0
3
0
2
0
1
0
還沒有評論
權限與資料

必要權限:

  • 讓開發者工具可存取您在開啟分頁中的資料

收集下列資料:

  • 開發者聲稱此擴充套件不要求收集任何資料。
了解更多
更多資訊
附加元件網址
  • 首頁
  • 技術支援網站
  • 技術支援信箱
版本
0.1.12
大小
859.48 KB
最近更新
23 天前 (2025年12月27日)
相關分類
  • 網頁開發
授權條款
MIT License
版本紀錄
  • 瀏覽所有版本
新增至收藏集
檢舉此附加元件
前往 Mozilla 官網

附加元件

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

瀏覽器

  • Desktop
  • Mobile
  • Enterprise

產品

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

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