Browser::call: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

24 May 2024

  • curprev 17:5817:58, 24 May 2024Shr0x talk contribs 635 bytes +635 Created page with " {{ClientsideJsFunction}} {{JSContainer| Calls a registered browser `mp.events.add` ==Syntax== <syntaxhighlight lang="javascript"> browser.call(eventName, ...args); </syntaxhighlight> ==Example== CEF (html) <syntaxhighlight lang="html"> <script> mp.events.add('cefishere', (print) => { print ? console.log("im here") : console.log("not here"); }); </script> </syntaxhighlight> Client Side <syntaxhighlight lang="javascript"> const browser = mp.browsers...."