Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:zotero_7_for_developers [2024/04/14 22:15] – [Mozilla Platform] dstillmandev:zotero_7_for_developers [2024/05/06 08:33] (current) – [Localization] xiangyu
Line 313: Line 313:
  
 (''MozXULElement'' will be a property of the window you're modifying.) (''MozXULElement'' will be a property of the window you're modifying.)
 +
 +Please ensure that you have inserted the FTL into the window before making any changes to the DOM.
  
 If adding to an existing window, be sure to remove the ''<link>'' in your plugin's ''shutdown'' function: If adding to an existing window, be sure to remove the ''<link>'' in your plugin's ''shutdown'' function:
Line 693: Line 695:
   * ''Zotero.Browser'' → ''HiddenBrowser.jsm'' — post on dev list for further discussion if you're currently relying on a hidden browser ([[https://github.com/zotero/zotero/commit/6a2949be8a87aebe5ddadd881e4ea22d8b5a8f60|details]])   * ''Zotero.Browser'' → ''HiddenBrowser.jsm'' — post on dev list for further discussion if you're currently relying on a hidden browser ([[https://github.com/zotero/zotero/commit/6a2949be8a87aebe5ddadd881e4ea22d8b5a8f60|details]])
   * The import line for ''FilePicker'' has changed:\\ ''%%var { FilePicker } = ChromeUtils.importESModule('chrome://zotero/content/modules/filePicker.mjs');%%''   * The import line for ''FilePicker'' has changed:\\ ''%%var { FilePicker } = ChromeUtils.importESModule('chrome://zotero/content/modules/filePicker.mjs');%%''
 +  * In an upcoming beta, most PNG icons will be removed or replaced by their SVG versions. You can search for the new icons in ''chrome/skin/default/zotero''.
dev/zotero_7_for_developers.1713147352.txt.gz · Last modified: 2024/04/14 22:15 by dstillman