亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? mailcore.js

?? 現(xiàn)在很火的郵件客戶端軟件thunderbird的源碼
?? JS
字號:
# -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-# ***** BEGIN LICENSE BLOCK *****# Version: MPL 1.1/GPL 2.0/LGPL 2.1## The contents of this file are subject to the Mozilla Public License Version# 1.1 (the "License"); you may not use this file except in compliance with# the License. You may obtain a copy of the License at# http://www.mozilla.org/MPL/## Software distributed under the License is distributed on an "AS IS" basis,# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License# for the specific language governing rights and limitations under the# License.## The Original Code is Mozilla Communicator client code, released# March 31, 1998.## The Initial Developer of the Original Code is# Netscape Communications Corporation.# Portions created by the Initial Developer are Copyright (C) 2001# the Initial Developer. All Rights Reserved.## Contributor(s):## Alternatively, the contents of this file may be used under the terms of# either the GNU General Public License Version 2 or later (the "GPL"), or# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),# in which case the provisions of the GPL or the LGPL are applicable instead# of those above. If you wish to allow use of your version of this file only# under the terms of either the GPL or the LGPL, and not to allow others to# use your version of this file under the terms of the MPL, indicate your# decision by deleting the provisions above and replace them with the notice# and other provisions required by the GPL or the LGPL. If you do not delete# the provisions above, a recipient may use your version of this file under# the terms of any one of the MPL, the GPL or the LGPL.## ***** END LICENSE BLOCK *****/* * Core mail routines used by all of the major mail windows (address book, 3-pane, compose and stand alone message window). * Routines to support custom toolbars in mail windows, opening up a new window of a particular type all live here.  * Before adding to this file, ask yourself, is this a JS routine that is going to be used by all of the main mail windows? */function CustomizeMailToolbar(id){  // Disable the toolbar context menu items  var menubar = document.getElementById("mail-menubar");  for (var i = 0; i < menubar.childNodes.length; ++i)    menubar.childNodes[i].setAttribute("disabled", true);      var customizePopup = document.getElementById("CustomizeMailToolbar");   customizePopup.setAttribute("disabled", "true");  var wintype = document.documentElement.getAttribute("windowtype");  wintype = wintype.replace(/:/g, "");  window.openDialog("chrome://global/content/customizeToolbar.xul",                    "CustomizeToolbar"+wintype,                    "chrome,all,dependent", document.getElementById(id));}function MailToolboxCustomizeDone(aToolboxChanged){  // Update global UI elements that may have been added or removed  // Re-enable parts of the UI we disabled during the dialog  var menubar = document.getElementById("mail-menubar");  for (var i = 0; i < menubar.childNodes.length; ++i)    menubar.childNodes[i].setAttribute("disabled", false);    // Update (or create) "File" button's tree  if (document.getElementById("button-file"))    SetupMoveCopyMenus('button-file', accountManagerDataSource, folderDataSource);  // make sure the mail views search box is initialized  if (document.getElementById("mailviews-container"))    ViewPickerOnLoad();      // make sure the folder location picker is initialized  if (document.getElementById("folder-location-container"))  {    loadFolderViewForTree(gCurrentFolderView, document.getElementById('folderLocationPopup').tree);    UpdateFolderLocationPicker(gMsgFolderSelected);  }   gSearchInput = null;  if (document.getElementById("search-container"))    GetSearchInput();  var customizePopup = document.getElementById("CustomizeMailToolbar");  customizePopup.removeAttribute("disabled");  // make sure our toolbar buttons have the correct enabled state restored to them...  if (this.UpdateMailToolbar != undefined)    UpdateMailToolbar(focus); }function onViewToolbarCommand(aToolbarId, aMenuItemId){  var toolbar = document.getElementById(aToolbarId);  var menuItem = document.getElementById(aMenuItemId);  if (!toolbar || !menuItem) return;  var toolbarCollapsed = toolbar.collapsed;    // toggle the checkbox  menuItem.setAttribute('checked', toolbarCollapsed);    // toggle visibility of the toolbar  toolbar.collapsed = !toolbarCollapsed;     document.persist(aToolbarId, 'collapsed');  document.persist(aMenuItemId, 'checked');}function toJavaScriptConsole(){    toOpenWindowByType("global:console", "chrome://global/content/console.xul");}const nsIWindowMediator = Components.interfaces.nsIWindowMediator;function toOpenWindowByType( inType, uri ){	var windowManager = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService();	var	windowManagerInterface = windowManager.QueryInterface(nsIWindowMediator);	var topWindow = windowManagerInterface.getMostRecentWindow( inType );		if ( topWindow )		topWindow.focus();	else		window.open(uri, "_blank", "chrome,extrachrome,menubar,resizable,scrollbars,status,toolbar");}function toMessengerWindow(){  toOpenWindowByType("mail:3pane", "chrome://messenger/content/messenger.xul");}    function toAddressBook() {  toOpenWindowByType("mail:addressbook", "chrome://messenger/content/addressbook/addressbook.xul");}function toImport(){  window.openDialog("chrome://messenger/content/importDialog.xul","importDialog","chrome, modal, titlebar", {importType: "addressbook"});}// aPaneIDfunction openOptionsDialog(aPaneID, aTabID){  var prefsService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService).getBranch(null)  var instantApply = prefsService.getBoolPref("browser.preferences.instantApply");  var features = "chrome,titlebar,toolbar,centerscreen" + (instantApply ? ",dialog=no" : ",modal");  var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]           .getService(Components.interfaces.nsIWindowMediator);    var win = wm.getMostRecentWindow("Mail:Preferences");  if (win)  {    win.focus();    if (aPaneID)    {      var pane = win.document.getElementById(aPaneID);      win.document.documentElement.showPane(pane);            // I don't know how to support aTabID for an arbitrary panel when the dialog is already open      // This is complicated because showPane is asynchronous (it could trigger a dynamic overlay)      // so our tab element may not be accessible right away...    }  }  else     openDialog("chrome://messenger/content/preferences/preferences.xul","Preferences", features, aPaneID, aTabID);}function openAddonsMgr(){  const EMTYPE = "Extension:Manager";  var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]                     .getService(Components.interfaces.nsIWindowMediator);  var theEM = wm.getMostRecentWindow(EMTYPE);  if (theEM) {    theEM.focus();    return;  }  const EMURL = "chrome://mozapps/content/extensions/extensions.xul";  const EMFEATURES = "chrome,menubar,extra-chrome,toolbar,dialog=no,resizable";  window.openDialog(EMURL, "", EMFEATURES);}function SetBusyCursor(window, enable){    // setCursor() is only available for chrome windows.    // However one of our frames is the start page which     // is a non-chrome window, so check if this window has a    // setCursor method    if ("setCursor" in window) {        if (enable)            window.setCursor("wait");        else            window.setCursor("auto");    }	var numFrames = window.frames.length;	for(var i = 0; i < numFrames; i++)		SetBusyCursor(window.frames[i], enable);}function openAboutDialog(){#ifdef XP_MACOSX  window.open("chrome://messenger/content/aboutDialog.xul", "About", "centerscreen,chrome,resizable=no");#else  window.openDialog("chrome://messenger/content/aboutDialog.xul", "About", "modal,centerscreen,chrome,resizable=no");#endif}/** * Opens region specific web pages for the application like the release notes, the help site, etc.  *   aResourceName --> the string resource ID in region.properties to load.  */function openRegionURL(aResourceName){  var appInfo = Components.classes["@mozilla.org/xre/app-info;1"]                          .getService(Components.interfaces.nsIXULAppInfo);  try {    var strBundleService = Components.classes["@mozilla.org/intl/stringbundle;1"].getService(Components.interfaces.nsIStringBundleService);    var regionBundle = strBundleService.createBundle("chrome://messenger-region/locale/region.properties");    // the release notes are special and need to be formatted with the app version    var urlToOpen;    if (aResourceName == "releaseNotesURL")      urlToOpen = regionBundle.formatStringFromName(aResourceName, [appInfo.version], 1);    else      urlToOpen = regionBundle.GetStringFromName(aResourceName);          var uri = Components.classes["@mozilla.org/network/io-service;1"]              .getService(Components.interfaces.nsIIOService)              .newURI(urlToOpen, null, null);    var protocolSvc = Components.classes["@mozilla.org/uriloader/external-protocol-service;1"]                      .getService(Components.interfaces.nsIExternalProtocolService);    protocolSvc.loadUrl(uri);  } catch (ex) {}}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区影院| 美女高潮久久久| 精品国产一区二区三区久久影院| 风间由美一区二区av101| 亚洲一卡二卡三卡四卡五卡| 国产婷婷色一区二区三区四区 | 国产精品自拍网站| 日本不卡高清视频| 一区二区三区四区在线播放 | 91精品国产综合久久精品图片| 国产一区二区三区黄视频| 一区二区三区电影在线播| av毛片久久久久**hd| 日本伊人色综合网| 久久综合国产精品| proumb性欧美在线观看| 免费在线观看精品| 精品电影一区二区| 精品一区中文字幕| 欧美精品一区男女天堂| 国产呦精品一区二区三区网站| 日韩亚洲欧美中文三级| 国内外成人在线| 国产亚洲精品超碰| 波多野结衣亚洲一区| 亚洲天堂av一区| 欧美日韩精品一区二区| 国产最新精品免费| 国产嫩草影院久久久久| 成人免费av在线| 亚洲国产日日夜夜| 精品国产一区二区三区不卡| 色综合久久久久综合| 中文字幕不卡的av| 欧美中文字幕久久| 久久99国产乱子伦精品免费| 亚洲视频图片小说| 精品国产一区二区亚洲人成毛片| 91丨porny丨国产| 国产制服丝袜一区| 丝袜国产日韩另类美女| 中文幕一区二区三区久久蜜桃| 欧美天天综合网| 成人av在线影院| 国产在线国偷精品产拍免费yy| 亚洲国产欧美一区二区三区丁香婷| 日韩三级视频在线看| 欧美精三区欧美精三区| 欧美一区二区三区视频| 天天av天天翘天天综合网 | 亚洲三级小视频| 精品少妇一区二区三区日产乱码| 99久久免费国产| 裸体一区二区三区| 亚洲国产另类av| 伊人色综合久久天天| 成人欧美一区二区三区白人| 国产三级三级三级精品8ⅰ区| 精品日韩成人av| 26uuu国产日韩综合| 久久久99免费| 国产精品三级久久久久三级| 在线成人小视频| 91精品国产一区二区| 欧美一区二区三区色| 91麻豆精品国产91久久久久久久久| 欧美日韩免费观看一区三区| 欧美日韩免费高清一区色橹橹| 欧美日韩亚洲不卡| 国产日韩在线不卡| 一二三区精品福利视频| 午夜精品久久久久久久99水蜜桃| 久久国产剧场电影| 奇米精品一区二区三区四区| 国产综合成人久久大片91| 夫妻av一区二区| 精品污污网站免费看| 日韩丝袜美女视频| 久久久久一区二区三区四区| 欧美va亚洲va| 亚洲视频香蕉人妖| 日韩avvvv在线播放| 国产一区二区在线视频| 成人午夜私人影院| 91丨九色丨蝌蚪富婆spa| 在线观看区一区二| 国产色综合一区| 亚洲成av人片一区二区| 久久国产成人午夜av影院| 国产一区二区三区免费在线观看| 波多野结衣在线一区| 日本电影欧美片| 日韩一区二区三区视频在线 | 国产精品你懂的在线欣赏| 亚洲精品第1页| 国产一区二区中文字幕| 欧美精品乱码久久久久久| 成av人片一区二区| 久久亚洲欧美国产精品乐播| 日日嗨av一区二区三区四区| 美女精品一区二区| 成人午夜激情视频| 91精品国模一区二区三区| 国产精品午夜春色av| 国产精品亚洲专一区二区三区 | 黑人精品欧美一区二区蜜桃 | 毛片不卡一区二区| 91精品免费观看| 亚洲欧美电影院| 国产在线播精品第三| 精品日韩在线观看| 青青草成人在线观看| 欧洲日韩一区二区三区| 一卡二卡三卡日韩欧美| 91色porny| 婷婷久久综合九色综合绿巨人 | 欧美综合天天夜夜久久| 精品日韩一区二区| 麻豆视频一区二区| 日韩午夜电影av| 黄色资源网久久资源365| 日韩免费在线观看| 成人激情动漫在线观看| 亚洲美女在线一区| a4yy欧美一区二区三区| 亚洲成人精品一区| 在线播放国产精品二区一二区四区| 亚洲综合自拍偷拍| 国产无遮挡一区二区三区毛片日本| 不卡电影一区二区三区| 亚洲高清免费视频| 日韩一区二区免费高清| 美女www一区二区| 国产精品美女久久久久久久| 在线中文字幕不卡| 一区二区三区免费观看| 欧美一区二区三区四区视频| 老司机精品视频在线| 日韩免费高清电影| 成人高清免费观看| 亚洲一区二区欧美激情| 中文字幕欧美激情| 色综合一个色综合| 粉嫩13p一区二区三区| 天天综合日日夜夜精品| 欧美精品一区视频| 成人污视频在线观看| 一区二区三区四区亚洲| 国产人伦精品一区二区| 欧美成人在线直播| 欧美一级高清片在线观看| 成人听书哪个软件好| 国产老女人精品毛片久久| 亚洲国产精品成人久久综合一区| 91官网在线免费观看| 国产精品资源在线观看| 麻豆久久一区二区| 国模大尺度一区二区三区| 欧美aaaaa成人免费观看视频| 天堂蜜桃91精品| 一区二区三区在线视频免费观看 | 亚洲欧美日韩国产中文在线| 欧美另类久久久品| 菠萝蜜视频在线观看一区| 国产一区二区三区四区在线观看| 精品一区二区久久久| 麻豆精品视频在线观看| 亚洲成人在线观看视频| 亚洲裸体xxx| 偷拍一区二区三区| 国产在线国偷精品免费看| 99视频精品在线| 成人黄色av电影| 国产传媒久久文化传媒| 成人黄色大片在线观看| 成人国产在线观看| 欧美午夜精品一区| 日本一区二区综合亚洲| 亚洲视频一区二区免费在线观看| 一区二区三区中文字幕精品精品| 日本不卡高清视频| 成人av在线看| 成人黄色在线视频| 欧美三级资源在线| 欧美一个色资源| 国产精品护士白丝一区av| 日韩高清在线一区| 91久久国产最好的精华液| 日韩欧美国产三级电影视频| 精品电影一区二区| 石原莉奈在线亚洲二区| 一本一道波多野结衣一区二区| 精品国产电影一区二区| 亚洲二区在线视频| www.在线成人| 国产丝袜美腿一区二区三区| 国产不卡视频一区| 精品女同一区二区| 日本一区中文字幕| 国产一二精品视频|