ExEv

(Ex)tended (Ev)ents - provides an API for some missing on-x events

Este script no debería instalarse directamente. Es una biblioteca que utilizan otros scripts mediante la meta-directiva de inclusión // @require https://update.greasyfork.org/scripts/403996/808391/ExEv.js

Autor
akuankka128
Versión
0.1.1
Creado
23/05/2020
Actualizado
23/05/2020
Licencia
Desconocida

Extended Events

This is an API which covers some of the missing document.on-x events.
Currently supported events are headloaded and bodyloaded.

Example usage:
document.events.on('headloaded', () => {
    let style = document.createElement('style');
    style.innerHTML = "* { outline:.75px solid red; }";
    document.head.appendChild(style);
});