Shtesa Shfletuesi Firefox
Hyni
Paraparje e Purplemonkey2

Purplemonkey2 nga gholk

Just like Violentmonkey, but with more unsafe API.

EksperimentaleEksperimentale
3 (1 reviews)3 (1 reviews)
21 Users21 Users
Që të përdorni këtë zgjerim, ju duhet Firefox-i
Shkarkoni Firefox-in
Shkarko kartelën

Tejtëdhëna Zgjerimi

Rreth këtij zgjerimi
# 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
Që të vlerësoni këtë zgjerim, bëni hyrjen
Ende pa vlerësime

Vlerësimi me yje u ruajt

5
0
4
0
3
1
2
0
1
0
Lexoni 1 shqyrtim
Permissions and dataMësoni më tepër

Required permissions:

  • Të fusë të dhëna në të papastër
  • Të shfaqë njoftime për ju
  • Të hyjë në skeda të shfletuesit
  • Të hyjë në të dhënat tuaja për krejt sajtet
Më tepër të dhëna
Lidhje shtese
  • Faqe hyrëse
  • Sajt asistence
Version
2.20.0
Madhësi
2,02 MB
Përditësuar së fundi më
një vit më parë (21 Kor 2024)
Kategori të Afërta
  • Zhvillim Web
Licencë
Licencë MIT
Historik Versionesh
  • Shihini krejt versionet
Shtojeni në koleksion
Raportojeni këtë shtesë
Shënime hedhjeje në qarkullim për 2.20.0
add unsafe api
Më tepër zgjerime nga gholk
  • Ende pa vlerësime

  • Ende pa vlerësime

  • Ende pa vlerësime

  • Ende pa vlerësime

  • Ende pa vlerësime

  • Ende pa vlerësime

Shkoni te faqja hyrëse e Mozilla-s

Shtesa

  • Mbi
  • Blog Shtesash Firefox-i
  • Praktikë Mbi Zgjerime
  • Qendër Zhvilluesish
  • Rregulla Për Zhvilluesit
  • Blog Bashkësie
  • Forum
  • Njoftoni një të metë
  • Udhërrëfyes Shqyrtimesh

Shfletues

  • Desktop
  • Mobile
  • Enterprise

Produkte

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privatësi
  • Cookies
  • Ligjore

Hiq atje ku shënohet ndryshe, lënda e këtij sajti licencohet sipas licencës Creative Commons Attribution Share-Alike License v3.0 ose çfarëdo versioni të mëvonshëm.