当前位置:   article > 正文

火狐扩展开发:书签功能封装_火狐书签扩展

火狐书签扩展
  1. var bmsvc = Components.classes["@mozilla.org/browser/nav-bookmarks-service;1"]
  2. .getService(Components.interfaces.nsINavBookmarksService);
  3. var htService = Components.classes["@mozilla.org/browser/nav-history-service;1"].
  4. getService(Components.interfaces.nsINavHistoryService);
  5. var ioService = Components.classes["@mozilla.org/network/io-service;1"]
  6. .getService(Components.interfaces.nsIIOService);
  7. var menuFolder = bmsvc.bookmarksMenuFolder; // Bookmarks menu folder
  8. var toolbarFolder = bmsvc.toolbarFolder;

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/天景科技苑/article/detail/820831
推荐阅读
相关标签
  

闽ICP备14008679号