REDNODE / DOCS

Frame test

Example apps / frame-test / v0.1.0

Overlay app

Two sandboxed frames, which Chromium runs in processes of their own, one scaled to 0.8 with a frame inside it. Each has a button, a hover box, a text field, a slider and a wheel counter, and reports every event to the window's log.

Simulated game
Mod log

    In the preview your own browser gives the frames their input.

    How it works

    A frame from another address, or a sandboxed one, runs in another process than the window's page. REDnode passes the mouse and keys into it through DevTools, so clicks, hover, typing, drags and the wheel work there as in the page.

    Each frame tells the page what it got with parent.postMessage, and the page writes it to its log. A click marked "(trusted)" came as real input.

    What it uses

    iframe sandbox postMessage

    Try this

    Use it

    Copy the files into red4ext/plugins/REDnode/apps/frame-test/ in the game folder, or start your own package from them: change id and name in the manifest first. The whole folder is on GitHub.