Dodanki za Firefox Browser
  • Rozšyrjenja
  • Drastwy
    • za Firefox
    • Słowniki a rěcne pakśiki
    • Druge sedła wobglědowaka
    • Dodanki za Android
Pśizjawiś
Pśeglěd za Purplemonkey2

Purplemonkey2 wót gholk

Just like Violentmonkey, but with more unsafe API.

EksperimentelneEksperimentelne
Za Firefox za Android™ k dispozicijiZa Firefox za Android™ k dispoziciji
3 (1 reviews)3 (1 reviews)
19 wužywarjow19 wužywarjow
Trjebaśo Firefox, aby toś to rozšyrjenje wužywał
Firefox ześěgnuś a rozšyrjenje wobstaraś
Dataju ześěgnuś

Metadaty rozšyrjenja

Wó toś tom rozšyrjenju
# 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.
Z 3 wót 1 pógódnośujucego pógódnośony
Pśizjawśo se, aby toś to rozšyrjenje pógódnośił
Hyšći pógódnośenja njejsu

Gwězdowe pógódnośenje jo se składło

5
0
4
0
3
1
2
0
1
0
1 pógódnośenje cytaś
Pšawa a datyDalšne informacije

Trjebne pšawa:

  • Daty do mjazywótkłada kopěrowaś
  • Powěźeńki na was pokazaś
  • Pśistup k rejtarikam wobglědowaka měś
  • Pśistup k wašym datam za wšykne websedła měś
Dalšne informacije
Dodankowe wótzkaze
  • Startowy bok
  • Sedło pomocy
Wersija
2.20.0
Wjelikosć
2,02 MB
Slědny raz zaktualizěrowany
há um ano (21 de jul de 2024)
Pśiswójźbne kategorije
  • Webwuwiśe
Licenca
Licenca MIT
Wersijowa historija
  • Wšykne wersije pokazaś
Zběrce pśidaś
Toś ten dodank k wěsći daś
Wersijowe informacije za 2.20.0
add unsafe api
Wěcej rozšyrjenjow wót gholk
  • Hyšći pógódnośenja njejsu

  • Hyšći pógódnośenja njejsu

  • Hyšći pógódnośenja njejsu

  • Hyšći pógódnośenja njejsu

  • Hyšći pógódnośenja njejsu

  • Hyšći pógódnośenja njejsu

K startowemu bokoju Mozilla

Dodanki

  • Wó nas
  • Blog dodankow Firefox
  • Źěłowa kupka rozšyrjenjow
  • Wuwijaŕski rožk
  • Wuwijaŕske pšawidła
  • Blog zgromaźeństwa
  • Forum
  • Programowu zmólku k wěsći daś
  • Směrnica za pógódnośenja

Wobglědowaki

  • Desktop
  • Mobile
  • Enterprise

Produkty

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Priwatnosć
  • Cookieje
  • Pšawniske

Jolic nic hynac zapisane, se wopśimjeśe na toś tom sedle pód Creative Commons Attribution Share-Alike License v3.0 abo póznjejšeju wersiju licencěrujo. Android jo wikowa marka Google LLC.