Components adizionâi par Firefox
  • Estensions
  • Temis
    • par Firefox
    • Dizionaris e pachets di lenghis
    • Altris sĂŽts
    • Components adizionâi par Android
Jentre
Anteprime di Purplemonkey2

Purplemonkey2 di gholk

Just like Violentmonkey, but with more unsafe API.

SperimentâlSperimentâl
Disponibil su Firefox par Android™Disponibil su Firefox par Android™
3 (1 reviews)3 (1 reviews)
15 utents15 utents
Ti covente Firefox par doprâ cheste estension
Discjame Firefox e instale la estension
Discjame il file

Metadâts de estension

Informazions su la estension
# 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.
Valutât 3 di 1 recensôr
Jentre par dâ un vôt a cheste estension
No son ancjemò valutazions

Valutazion in stelis salvade

5
0
4
0
3
1
2
0
1
0
Lei 1 recension
Permès e dâtsPlui informazions

Permès obligatoris:

  • Meti dâts tes notis
  • Mostrâti notifichis
  • Acedi aes schedis dal navigadĂ´r
  • Acedi ai tiei dâts di ducj i sĂŽts web
Altris informazions
Colegaments component adizionâl
  • Pagjine iniziâl
  • SĂŽt di supuart
Version
2.20.0
Dimension
2,02 MB
Ultin inzornament
일 년 전 (2024년 7월 21일)
Categoriis coreladis
  • Disvilup web
Licence
Licence MIT
Cronologjie versions
  • ViĂ´t dutis lis versions
Zonte ae racuelte
Segnale chest component adizionâl
Notis di publicazion pe version 2.20.0
add unsafe api
Altris estensions di gholk
  • No son ancjemò valutazions

  • No son ancjemò valutazions

  • No son ancjemò valutazions

  • No son ancjemò valutazions

  • No son ancjemò valutazions

  • No son ancjemò valutazions

Va ae pagjine principâl dal sÎt Mozilla

Components adizionâi

  • Informazions
  • Blog dai components adizionâi di Firefox
  • Laboratori estensions
  • Centri di svilup
  • Politichis pal svilupadĂ´r
  • Blog de comunitât
  • Forum
  • Segnale un erĂ´r
  • Vuide pes recensions

NavigadĂ´rs

  • Desktop
  • Mobile
  • Enterprise

Prodots

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Riservatece
  • Cookies
  • Notis legâls

Gjavât dulà che al ven indicât in mÝt diviers, i contignÝts su chest sÎt a son distribuÎts cun licenceCreative Commons Atribuzion CondivÎt te stesse maniere v3.0 o versions sucessivis. Android e je une marche regjistrade di Google LLC.