K-Meleon
Use this page to experiment with the wiki. (Just don't delete this text; otherwise people won't know the purpose of the page.)
OnActivateWindow
OnCloseGroup
OnCloseWindow
OnInit
OnLoad
OnOpenWindow
OnQuit
OnSetup
OnStartup
OnWMAppExit
The Macro Extension Plugin provides a variety of events.
| Event | Is triggered |
| ActivateWindow | When a window gets the focus. |
| CloseGroup | When a multi-layered window is closed. |
| CloseTab | When a tab is closed. |
| CloseWindow | When a window/layer is closed. |
| Init | When the Default Configuration Files have been parsed. |
| Load | When a document finished loading. |
| OpenTab | When a tab is opened. |
| OpenWindow | When a window/layer is opened. |
| Quit | When the macro plugin (the browser) is being closed. |
| Setup | When the User Configuration Files have been parsed. |
| Startup | When the first window is opened. |
| WMAppExit | When ID_APP_EXIT is called to terminate the application. |
myMacro{
# your On<event> code
}
$On<event>=$On<event>."myMacro;";
Startup is always followed by Load or OpenWindow
OpenWindow is always followed by Load
Init, Setup and Quit are only fired once a session.
ActivateWindow is usually fired multiple times when a browser window is focused
Startup Order of Precedence
Init
Setup
Startup(1)
Shutdown Order of Precedence
CloseGroup or WMAppExit(1)
CloseWindow(2)
Quit