Skip to content

Instantly share code, notes, and snippets.

@alivedise
Last active September 19, 2016 09:13
Show Gist options
  • Save alivedise/3b17bb246691defcec1b6fb8a1268ca0 to your computer and use it in GitHub Desktop.
Save alivedise/3b17bb246691defcec1b6fb8a1268ca0 to your computer and use it in GitHub Desktop.
Firefox ConfirmEx List

本清單會列出 firefox 目前使用 confirmEx (系統對話框)的使用狀況

  1. SlowScriptDialog (3 buttons) [https://dxr.mozilla.org/mozilla-central/source/dom/base/nsGlobalWindow.cpp#11160]
  2. ConfirmRepost (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/docshell/base/nsDocShell.cpp#13068]
  3. DoSecureToInsecureSubmitCheck (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/dom/html/HTMLFormElement.cpp#939]
  4. DocumentViewer (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/layout/base/nsDocumentViewer.cpp#1206]
  5. Https prompt (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/netwerk/protocol/http/nsHttpChannelAuthProvider.cpp]
  6. ConfirmCancelDownloads (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/toolkit/components/downloads/nsDownloadManager.cpp]
  7. FirefoxAccount Relink (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/browser/base/content/aboutaccounts/aboutaccounts.js#83]
  8. <首頁設置確認> OpenHome (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/browser/base/content/browser.js#3428]
  9. <關閉分頁警告?> (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/browser/base/content/tabbrowser.xml#2205]
  10. confirmUnblockDownload (2-3 buttons) [https://dxr.mozilla.org/mozilla-central/source/browser/base/content/tabbrowser.xml#2205]
  11. Restart to safe mode confirm (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/browser/components/nsBrowserGlue.js#762]
  12. <關閉多個分頁> (2-3 buttons) [https://dxr.mozilla.org/mozilla-central/source/browser/components/nsBrowserGlue.js#1352]
  13. <預設瀏覽器> (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/browser/components/nsBrowserGlue.js#2905]
  14. <一次開啟多個分頁警告> (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/browser/components/places/PlacesUIUtils.jsm#904]
  15. Preference 相關
  16. Scratchpad confirm revert change (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/devtools/client/scratchpad/scratchpad.js#1560]
  17. Authentication token/Remote debug connection (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/devtools/shared/security/prompt.js#84]
  18. Extension uninstall confirm (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/toolkit/components/extensions/ext-management.js#89]
  19. Cancel download confirm (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/toolkit/components/jsdownloads/src/DownloadUIHelper.jsm#242]
  20. Show password confirm (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/toolkit/components/passwordmgr/content/passwordManager.js#459]
  21. Save password confirm (3 buttons) [https://dxr.mozilla.org/mozilla-central/source/toolkit/components/passwordmgr/nsLoginManagerPrompter.js#1144]
  22. Confirm add search engine (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/toolkit/components/search/nsSearchService.js#1570]
  23. Delete profile confirm (3 buttons) [https://dxr.mozilla.org/mozilla-central/source/toolkit/content/aboutProfiles.js#245]
  24. Caret Browsing Toggle (2 buttons) [https://dxr.mozilla.org/mozilla-central/source/toolkit/content/widgets/browser.xml#1373]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment