赞
踩
- var bmsvc = Components.classes["@mozilla.org/browser/nav-bookmarks-service;1"]
- .getService(Components.interfaces.nsINavBookmarksService);
- var htService = Components.classes["@mozilla.org/browser/nav-history-service;1"].
- getService(Components.interfaces.nsINavHistoryService);
- var ioService = Components.classes["@mozilla.org/network/io-service;1"]
- .getService(Components.interfaces.nsIIOService);
-
- var menuFolder = bmsvc.bookmarksMenuFolder; // Bookmarks menu folder
-
- var toolbarFolder = bmsvc.toolbarFolder;
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。