mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 18:24:11 +01:00
add new BookmarkPost autocommand event
This commit is contained in:
@@ -267,6 +267,9 @@ liberator.Bookmarks = function () //{{{
|
||||
|
||||
//also update bookmark cache
|
||||
bookmarks.unshift([url, title, keyword, tags || []]);
|
||||
|
||||
liberator.autocommands.trigger("BookmarkPost", "");
|
||||
|
||||
return true;
|
||||
},
|
||||
|
||||
|
||||
@@ -38,7 +38,8 @@ liberator.config = { //{{{
|
||||
|
||||
get visualbellWindow() { return getBrowser().mPanelContainer; },
|
||||
|
||||
autocommands: [["LocationChange", "Triggered when changing tabs or when naviagtion to a new location"],
|
||||
autocommands: [["BookmarkPost", "Triggered after a page is bookmarked"],
|
||||
["LocationChange", "Triggered when changing tabs or when naviagtion to a new location"],
|
||||
["PageLoadPre", "Triggered after a page load is initiated"],
|
||||
["PageLoad", "Triggered when a page gets (re)loaded/opened"],
|
||||
["QuitPre", "Triggered before exiting Firefox, just before destroying each module"],
|
||||
|
||||
Reference in New Issue
Block a user