mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-07 07:55:45 +01:00
added PageLoadPre autocmd event.
This commit is contained in:
@@ -1405,6 +1405,8 @@ liberator.Events = function () //{{{
|
||||
liberator.buffer.loaded = 0;
|
||||
liberator.statusline.updateProgress(0);
|
||||
|
||||
liberator.autocommands.trigger("PageLoadPre", liberator.buffer.URL);
|
||||
|
||||
// don't reset mode if a frame of the frameset gets reloaded which
|
||||
// is not the focused frame
|
||||
if (document.commandDispatcher.focusedWindow == webProgress.DOMWindow)
|
||||
|
||||
@@ -22,6 +22,7 @@ Available {events}:
|
||||
|
||||
`----------------`--------------------------------------------
|
||||
*LocationChange* Triggered when changing tabs or when navigating to a new location
|
||||
*PageLoadPre* Triggered after a page load is initiated.
|
||||
*PageLoad* Triggered when a page gets (re)loaded/opened
|
||||
*Quit* Triggered before exiting Firefox
|
||||
*Startup* Triggered after Firefox starts
|
||||
|
||||
Reference in New Issue
Block a user