Page Hook Plugins

Plugins can provide pages on their own or extend existing pages. To extend an existing page, the page needs to support this by offering hook points.

You are not limited to the hook points for page modifications. To insert your extensions at arbitrary places:

- insert your extensions dynamically or with `display:none`,
- register a onetime handler for the `load` event on `#main`,
- move your extensions into place and show them from the event handler.

…and yes, you're also not limited to adding stuff.

### Example

The following hook plugin adds a custom menu and some color to `/home`:

### Available Hooks

…as of January 2019. This is work in progress, if you miss a hook somewhere, contact us.

Framework
/ | html.pre, head.post, body.post
/home | body.pre, body.post
/dashboard | body.pre
/status | body.pre, body.post
/shell | body.pre, body.post
Renault Twizy
/xrt/drivemode | body.pre, body.post
/xrt/scmon | body.pre, body.post

Test / Demo

- Metrics 📏
- Open Log File 📝