Firefox ブラウザーアドオン
  • 拡張機能
  • テーマ
    • Firefox 向け
    • スペルチェック辞書と言語パック
    • 他のブラウザーサイト
    • Android 向けアドオン
ログイン
Purplemonkey のプレビュー

Purplemonkey 作成者: gholk

幅広いブラウザに対応のオープンソースのユーザースクリプト管理ツール

実験的実験的
Android™ 版 Firefox でも利用可能Android™ 版 Firefox でも利用可能
3 (1 reviews)3 (1 reviews)
15 Users15 Users
この拡張機能を使用するには Firefox が必要です
Firefox をダウンロードして拡張機能を入手する
ファイルをダウンロード

拡張機能メタデータ

この拡張機能について
# Purplemonkey
Just like [Violentmonkey], but with more unsafe API.

[Violentmonkey]: https://violentmonkey.github.io/api/gm/

## Purplemonkey API
only the additional api from violent monkey are listed.
other api are same to the violent monkey in the same version.

### GM_messageExtension(id, payload)
send message to other extension's `browser.runtime.onMessageExternal` handler.

* id: the id of the destination extension.
* payload: the data to send. must be structure clonable.
* return: a promise resolve to the response or reject to error.

to use this api, you have to add `@connect web-extension://id`
in the userscript's meta field.
where id is the extension that you want to send message with.
the special `web-extension://*` allow to connect to all the other extensions.

### GM_webextEval(code, args)
eval string or function in violent monkey background script.

* String(code): the code is call as
`(function (...args) {return eval(code)})(...args)`,
so the last statement is return.

* Function(code): code is stringify and reconstructed as function in background.
stringify so any closure will not work.

if this is a method, you should make sure that it could be stringify
and reconstruct correctly.

async could work.

* args: an argument array that structure clonable.

* return: a promise resolve to result or reject to error.
Rated 3 by 1 reviewer
ログインしてこの拡張機能を評価
まだ評価されていません

星の評価を保存しました

5
0
4
0
3
1
2
0
1
0
すべてのレビュー (1) を読む
Permissions and data詳細情報

必要な権限:

  • クリップボードへのデータ入力
  • 通知の表示
  • ブラウザーのタブへのアクセス
  • すべてのウェブサイトの保存されたデータへのアクセス
詳しい情報
アドオンリンク
  • ホームページ
  • サポートサイト
バージョン
2.20.0
サイズ
2.02 MB
最終更新日
1年前 (2024年7月21日)
関連カテゴリー
  • ウェブ開発
ライセンス
MIT License
バージョン履歴
  • すべてのバージョンを見る
コレクションへ追加
このアドオンを報告
2.20.0 のリリースノート
add unsafe api
gholk が公開している他の拡張機能
  • まだ評価されていません

  • まだ評価されていません

  • まだ評価されていません

  • まだ評価されていません

  • まだ評価されていません

  • まだ評価されていません

Mozilla のホームページへ

アドオン

  • このサイトについて
  • Firefox アドオンブログ
  • 拡張機能ワークショップ
  • 開発者センター
  • 開発者ポリシー
  • コミュニティブログ
  • フォーラム
  • バグを報告
  • レビューガイド

ブラウザー

  • Desktop
  • Mobile
  • Enterprise

製品情報

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • プライバシー
  • Cookie
  • 法的情報

特に 明記されている 場合を除き、当サイト上のコンテンツは Creative Commons 表示・継承ライセンス v3.0 あるいはそれ以降のバージョンでライセンスされています。Android は Google LLC の登録商標です。