ExEv

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

Tento skript by nemal byť nainštalovaný priamo. Je to knižnica pre ďalšie skripty, ktorú by mali používať cez meta príkaz // @require https://update.greasyfork.org/scripts/403996/808391/ExEv.js

Autor
akuankka128
Verzia
0.1.1
Vytvorené
23.05.2020
Aktualizované
23.05.2020
Licencia
neuvedené

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);
});