Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 489 Bytes

NOTES.mkd

File metadata and controls

16 lines (11 loc) · 489 Bytes

Words Of Wisdom

Chrome Extension

  • The background page is listed in getViews
  • window always refers to the window where the code was written (functions = closures).
  • Putting view classes in the background page makes them difficult to clean up (causing memory leaks).
    • It also makes window point to the background page (not good).

Firefox Extension

  • XUL Keysets can't be changed at runtime. To bind a new hotkey, remove and recreate the keyset.