Tiện ích trình duyệt Firefox
  • Tiện ích mở rộng
  • Chủ đề
    • cho Firefox
    • Từ điển & gói ngôn ngữ
    • Các trang web trình duyệt khác
    • Tiện ích cho Android
Đăng nhập
Xem trước Opal DevTools

Opal DevTools bởi stofu1234

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

0 (0 đánh giá)0 (0 đánh giá)
Tải xuống Firefox và tải tiện ích mở rộng
Tải xuống tập tin

Siêu dữ liệu mở rộng

Ảnh chụp màn hình
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
Về tiện ích mở rộng này
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.
Được xếp hạng 0 (bởi 1 người dùng)
Đăng nhập để đánh giá tiện ích này
Chưa có xếp hạng nào

Đã lưu xếp hạng sao

5
0
4
0
3
0
2
0
1
0
Chưa có đánh giá
Quyền hạn và dữ liệu

Quyền hạn bắt buộc:

  • Mở rộng công cụ dành cho nhà phát triển để truy cập dữ liệu của bạn trong các thẻ đang mở

Thu thập dữ liệu:

  • Nhà phát triển cho biết tiện ích mở rộng này không yêu cầu thu thập dữ liệu.
Tìm hiểu thêm
Thêm thông tin
Liên kết tiện ích
  • Trang chủ
  • Trang hỗ trợ
  • Email hỗ trợ
Phiên bản
0.1.12
Kích cỡ
859,48 KB
Cập nhật gần nhất
một tháng trước (27 Thg 12 2025)
Thể loại có liên quan
  • Phát triển Web
Giấy phép
Giấy phép MIT
Lịch sử các phiên bản
  • Xem tất cả phiên bản
Thêm vào bộ sưu tập
Báo cáo tiện ích này
Đi đến trang chủ Mozilla

Tiện ích

  • Giới thiệu
  • Blog tiện ích Firefox
  • Extension Workshop
  • Trung tâm nhà phát triển
  • Chính sách nhà phát triển
  • Blog cộng đồng
  • Diễn đàn
  • Báo cáo một lỗi
  • Hướng dẫn đánh giá

Trình duyệt

  • Desktop
  • Mobile
  • Enterprise

Sản phẩm

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Riêng tư
  • Cookie
  • Pháp lý

Trừ trường hợp khác đã ghi chú, nội dung trên trang này được cấp phép theo giấy phép Creative Commons Attribution Share-Alike v3.0 hoặc bất kỳ phiên bản nào sau này.