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 Contextlets

Contextlets bởi David Hammond

Add context menu items that execute custom JavaScript.

4.8 (13 reviews)4.8 (13 reviews)
46 Users46 Users
Bạn sẽ cần Firefox để sử dụng tiện ích mở rộng này
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
Custom context menu item.Context menu item configuration.
Về tiện ích mở rộng này
This extension allows you to add any number of items to the context menu and have them execute custom JavaScript code as either a content script (which runs in the webpage and has access to the window object and DOM), or a background script (which has access to tabs and other WebExtension APIs). The Contextlets API also allows you to cross this divide and execute part of your script as the other type.

Firefox prevents WebExtensions from displaying more than one item in the top-level context menu at a time, per extension. If there are more to display, they will instead show up in a submenu. If you don't want to deal with submenus, you can work around this by installing one or more of the supplementary extensions. Each of these extensions will provide one additional spot in the top-level context menu, which you can select in the main Contextlets menu editor. To install an "extra" extension, first download an xpi file from here to your computer, then go to your Add-ons Manager, select "Install Add-on From File..." from the gear menu, and select the xpi file you downloaded.

Some example contextlets are available. To try these out, you will first need to download the JSON file and then import it using the Import button within the Contextlets extension.
Được xếp hạng 4,8 (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
11
4
1
3
1
2
0
1
0
Đọc tất cả 13 đánh giá
Quyền hạn và dữ liệuTìm hiểu thêm

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

  • Xem và chỉnh sửa trang đánh dấu
  • Nhận dữ liệu từ bộ nhớ tạm
  • Nhập dữ liệu vào bộ nhớ tạm
  • Tải xuống các tập tin và chỉnh sửa lịch sử tải về của trình duyệt
  • Theo dõi việc sử dụng tiện ích và quản lý các chủ đề
  • Truy cập các thẻ trên trình duyệt
  • Truy cập dữ liệu của bạn trên mọi trang web
Thêm thông tin
Liên kết tiện ích
  • Trang chủ
Phiên bản
0.4.1
Kích cỡ
26,62 KB
Cập nhật gần nhất
5 năm trước (15 Thg 04 2020)
Thể loại có liên quan
  • Khác
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
Ghi chú phát hành cho phiên bản 0.4.1
- Fixed using runAs() with function literals. This was broken in Firefox 74 and up due to the removal of Function.prototype.toSource() in web content.
Tiện ích mở rộng khác của David Hammond
  • Chưa có xếp hạng nào

  • Chưa có xếp hạng nào

  • Chưa có xếp hạng nào

  • Chưa có xếp hạng nào

  • Chưa có xếp hạng nào

  • Chưa có xếp hạng nào

Đ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.