浏览Firefox中自带的xul文件

分享到QQ空间

以下全部为转载:

感谢、来源:http://qixinglu.com/archives/browse_firefox_built_in_xul_files

Firefox的界面是由xul文件来描述的,跟html一样,其实就是个xml文件,由XULRunner来解析,包装成系统的原生界面。XULRunner已经算得上是个跨平台ui库了。

至于XULRunner解析xul使用c++还是javascript,我不清楚,或许两者都有。有人说这就是Firefox启动慢的原因,我觉得慢是包装系统原生界面这个过程吧,单是解析应该很快了。这样的设计大势所趋了,gtk都有builder widget,在运行时来解析glade生成的xml,这样修改界面容易得多了,比如以前改geany,我得修改C代码然后重新编译,而Firefox就重新定义一下CSS就行了,超方便。

browser.jar

chrome://browser/content/aboutDialog.xul
chrome://browser/content/browser.xul
chrome://browser/content/pageinfo/pageInfo.xul
chrome://browser/content/openLocation.xul
chrome://browser/content/pageReportFirstTime.xul
chrome://browser/content/safeMode.xul
chrome://browser/content/sanitize.xul
chrome://browser/content/web-panels.xul
chrome://browser/content/baseMenuOverlay.xul
chrome://browser/content/hiddenWindow.xul
chrome://browser/content/viewSourceOverlay.xul
chrome://browser/content/preferences/advanced.xul
chrome://browser/content/preferences/advanced-scripts.xul
chrome://browser/content/preferences/applications.xul
chrome://browser/content/preferences/applicationManager.xul
chrome://browser/content/preferences/colors.xul
chrome://browser/content/preferences/cookies.xul
chrome://browser/content/preferences/content.xul
chrome://browser/content/preferences/connection.xul
chrome://browser/content/preferences/fonts.xul
chrome://browser/content/preferences/languages.xul
chrome://browser/content/preferences/main.xul
chrome://browser/content/preferences/permissions.xul
chrome://browser/content/preferences/preferences.xul
chrome://browser/content/preferences/privacy.xul
chrome://browser/content/preferences/sanitize.xul
chrome://browser/content/preferences/security.xul
chrome://browser/content/preferences/securityWarnings.xul
chrome://browser/content/preferences/selectBookmark.xul
chrome://browser/content/preferences/tabs.xul
chrome://browser/content/search/engineManager.xul
chrome://browser/content/setDesktopBackground.xul
chrome://browser/content/places/bookmarkProperties2.xul
chrome://browser/content/places/places.xul
chrome://browser/content/places/bookmarkProperties.xul
chrome://browser/content/places/placesOverlay.xul
chrome://browser/content/places/demos/time.xul
chrome://browser/content/history/history-panel.xul
chrome://browser/content/bookmarks/bookmarksPanel.xul
chrome://browser/content/places/moveBookmarks.xul
chrome://browser/content/places/editBookmarkOverlay.xul
chrome://browser/content/migration/migration.xul
chrome://browser/content/safebrowsing/report-phishing-overlay.xul

browser.manifest

chrome://global/content/viewPartialSource.xul
chrome://global/content/viewSource.xul
chrome://global/content/customizeToolbar.xul
chrome://browser/content/browser.xul
chrome://global/content/customizeToolbar.xul

cookie相关的

comm.jar

chrome://cookie/content/cookieAcceptDialog.xul

密码管理相关的

pippki.jar

chrome://pippki/content/changepassword.xul
chrome://pippki/content/getpassword.xul
chrome://pippki/content/resetpassword.xul
chrome://pippki/content/certerror.xul
chrome://pippki/content/downloadcert.xul
chrome://pippki/content/cacertexists.xul
chrome://pippki/content/certManager.xul
chrome://pippki/content/CAOverlay.xul
chrome://pippki/content/WebSitesOverlay.xul
chrome://pippki/content/OthersOverlay.xul
chrome://pippki/content/MineOverlay.xul
chrome://pippki/content/OrphanOverlay.xul
chrome://pippki/content/viewCertDetails.xul
chrome://pippki/content/editcacert.xul
chrome://pippki/content/editemailcert.xul
chrome://pippki/content/editsslcert.xul
chrome://pippki/content/exceptionDialog.xul
chrome://pippki/content/deletecert.xul
chrome://pippki/content/getp12password.xul
chrome://pippki/content/setp12password.xul
chrome://pippki/content/clientauthask.xul
chrome://pippki/content/certpicker.xul
chrome://pippki/content/certViewer.xul
chrome://pippki/content/certDump.xul
chrome://pippki/content/device_manager.xul
chrome://pippki/content/load_device.xul
chrome://pippki/content/choosetoken.xul
chrome://pippki/content/escrowWarn.xul
chrome://pippki/content/crlManager.xul
chrome://pippki/content/serverCrlNextupdate.xul
chrome://pippki/content/createCertInfo.xul
chrome://pippki/content/crlImportDialog.xul
chrome://pippki/content/pref-crlupdate.xul
chrome://pippki/content/protectedAuth.xul
chrome://pippki/content/formsigning.xul

运行报告相关的

reporter.jar

chrome://reporter/content/reportWizard.xul
chrome://reporter/content/reporterOverlay.xul

reporter.manifest

chrome://navigator/content/navigator.xul
chrome://global/content/customizeToolbar.xul
chrome://browser/content/browser.xul

辅佐工具

toolkit.jar

chrome://global/content/nsHelperAppDlg.xul
chrome://global/content/nsProgressDialog.xul
chrome://global/content/appPicker.xul
chrome://global/content/filepicker.xul
chrome://global/content/console.xul
chrome://global/content/config.xul
chrome://global/content/configIntValue.xul
chrome://passwordmgr/content/passwordManager.xul
chrome://passwordmgr/content/passwordManagerExceptions.xul
chrome://global/content/alerts/alert.xul
chrome://global/content/printdialog.xul
chrome://global/content/printjoboptions.xul
chrome://global/content/printPageSetup.xul
chrome://global/content/printPreviewProgress.xul
chrome://global/content/printProgress.xul
chrome://global/content/viewSource.xul
chrome://global/content/viewPartialSource.xul
chrome://global/content/charsetOverlay.xul
chrome://global/content/commonDialog.xul
chrome://global/content/customizeCharset.xul
chrome://global/content/customizeToolbar.xul
chrome://global/content/editMenuOverlay.xul
chrome://global/content/finddialog.xul
chrome://global/content/selectDialog.xul
chrome://global/content/globalOverlay.xul
chrome://global/content/dialogOverlay.xul
chrome://mozapps/content/profile/createProfileWizard.xul
chrome://mozapps/content/profile/profileSelection.xul
chrome://mozapps/content/extensions/extensions.xul
chrome://mozapps/content/extensions/about.xul
chrome://mozapps/content/extensions/list.xul
chrome://mozapps/content/extensions/blocklist.xul
chrome://mozapps/content/extensions/errors.xul
chrome://mozapps/content/extensions/update.xul
chrome://mozapps/content/extensions/eula.xul
chrome://mozapps/content/update/history.xul
chrome://mozapps/content/update/updates.xul
chrome://mozapps/content/xpinstall/xpinstallConfirm.xul
chrome://mozapps/content/downloads/unknownContentType.xul
chrome://mozapps/content/downloads/downloads.xul
chrome://mozapps/content/preferences/ocsp.xul
chrome://mozapps/content/preferences/changemp.xul
chrome://mozapps/content/preferences/removemp.xul
chrome://mozapps/content/plugins/pluginInstallerWizard.xul
chrome://mozapps/content/handling/dialog.xul
chrome://global/content/url-classifier/unittests.xul

标签:

2 条评论 发表在“浏览Firefox中自带的xul文件”上

  1. Louis Han说道:

    以毫秒来计算的“慢”,可以忍受