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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? mailwindow.js

?? 現在很火的郵件客戶端軟件thunderbird的源碼
?? JS
?? 第 1 頁 / 共 2 頁
字號:
# -*- Mode: Java; 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) 1998-1999# the Initial Developer. All Rights Reserved.## Contributor(s):#   Jan Varga <varga@nixcorp.com>#   H錵an Waara (hwaara@chello.se)## 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 *****//This file stores variables common to mail windowsvar messengerContractID        = "@mozilla.org/messenger;1";var statusFeedbackContractID   = "@mozilla.org/messenger/statusfeedback;1";var mailSessionContractID      = "@mozilla.org/messenger/services/session;1";var msgWindowContractID      = "@mozilla.org/messenger/msgwindow;1";var messenger;var pref;var statusFeedback;var messagePaneController;var msgWindow;var msgComposeService;var accountManager;var RDF;var msgComposeType;var msgComposeFormat;var mailSession;var gMessengerBundle;var gBrandBundle;var datasourceContractIDPrefix = "@mozilla.org/rdf/datasource;1?name=";var accountManagerDSContractID = datasourceContractIDPrefix + "msgaccountmanager";var folderDSContractID         = datasourceContractIDPrefix + "mailnewsfolders";var unreadFoldersDSContractID = datasourceContractIDPrefix + "mailnewsunreadfolders";var favoriteFoldersDSContractID = datasourceContractIDPrefix + "mailnewsfavefolders";var recentFoldersDSContractID = datasourceContractIDPrefix + "mailnewsrecentfolders";var accountManagerDataSource;var folderDataSource;var unreadFolderDataSource;var favoriteFoldersDataSource;var recentFoldersDataSource;var accountCentralBox = null;var gAccountCentralLoaded = true;var gFakeAccountPageLoaded = false;//End progress and Status variablesfunction OnMailWindowUnload(){  MailOfflineMgr.uninit();  ClearPendingReadTimer();  var searchSession = GetSearchSession();  if (searchSession)  {    removeGlobalListeners();    if (gPreQuickSearchView)     //close the cached pre quick search view      gPreQuickSearchView.close();  }    var dbview = GetDBView();  if (dbview) {    dbview.close();   }  var mailSession = Components.classes[mailSessionContractID].getService();  if(mailSession)  {    mailSession = mailSession.QueryInterface(Components.interfaces.nsIMsgMailSession);    if(mailSession)    {      mailSession.RemoveFolderListener(folderListener);    }  }  mailSession.RemoveMsgWindow(msgWindow);  messenger.SetWindow(null, null);  var msgDS;  var viewDataSources = [accountManagerDataSource, folderDataSource,                         unreadFolderDataSource, favoriteFoldersDataSource,                        recentFoldersDataSource];                          for (index in viewDataSources)  {    msgDS = viewDataSources[index].QueryInterface(Components.interfaces.nsIMsgRDFDataSource);    msgDS.window = null;  }  msgWindow.closeWindow();}function CreateMessenger(){  messenger = Components.classes[messengerContractID].createInstance();  messenger = messenger.QueryInterface(Components.interfaces.nsIMessenger);}function CreateMailWindowGlobals(){  // get the messenger instance  CreateMessenger();  pref = Components.classes["@mozilla.org/preferences-service;1"]          .getService(Components.interfaces.nsIPrefBranch2);  //Create windows status feedback  // set the JS implementation of status feedback before creating the c++ one..  window.MsgStatusFeedback = new nsMsgStatusFeedback();  // double register the status feedback object as the xul browser window implementation  window.QueryInterface(Components.interfaces.nsIInterfaceRequestor)        .getInterface(Components.interfaces.nsIWebNavigation)        .QueryInterface(Components.interfaces.nsIDocShellTreeItem).treeOwner        .QueryInterface(Components.interfaces.nsIInterfaceRequestor)        .getInterface(Components.interfaces.nsIXULWindow)        .XULBrowserWindow = window.MsgStatusFeedback;  statusFeedback           = Components.classes[statusFeedbackContractID].createInstance();  statusFeedback = statusFeedback.QueryInterface(Components.interfaces.nsIMsgStatusFeedback);  /*    not in use unless we want the lock button back  // try to create and register ourselves with a security icon...  var securityIcon = document.getElementById("security-button");  if (securityIcon) {    // if the client isn't built with psm enabled then we won't have a secure UI to monitor the lock icon    // so be sure to wrap this in a try / catch clause...    try {      var secureUI;      // we may not have a secure UI if psm isn't installed!      if (secureUIContractID in Components.classes) {        secureUI = Components.classes[secureUIContractID].createInstance();        if (secureUI) {          secureUI = secureUI.QueryInterface(Components.interfaces.nsISecureBrowserUI);          secureUI.init(_content, securityIcon);        }      }    }    catch (ex) {}  }  */  window.MsgWindowCommands = new nsMsgWindowCommands();  //Create message window object  msgWindow = Components.classes[msgWindowContractID].createInstance();  msgWindow = msgWindow.QueryInterface(Components.interfaces.nsIMsgWindow);  msgComposeService = Components.classes['@mozilla.org/messengercompose;1'].getService();  msgComposeService = msgComposeService.QueryInterface(Components.interfaces.nsIMsgComposeService);  mailSession = Components.classes["@mozilla.org/messenger/services/session;1"].getService(Components.interfaces.nsIMsgMailSession);  accountManager = Components.classes["@mozilla.org/messenger/account-manager;1"].getService(Components.interfaces.nsIMsgAccountManager);  RDF = Components.classes['@mozilla.org/rdf/rdf-service;1'].getService();  RDF = RDF.QueryInterface(Components.interfaces.nsIRDFService);  msgComposeType = Components.interfaces.nsIMsgCompType;  msgComposeFormat = Components.interfaces.nsIMsgCompFormat;  gMessengerBundle = document.getElementById("bundle_messenger");  gBrandBundle = document.getElementById("bundle_brand");  //Create datasources  accountManagerDataSource = Components.classes[accountManagerDSContractID].createInstance();  folderDataSource         = Components.classes[folderDSContractID].getService();  unreadFolderDataSource = Components.classes[unreadFoldersDSContractID].getService();  favoriteFoldersDataSource = Components.classes[favoriteFoldersDSContractID].getService();  recentFoldersDataSource = Components.classes[recentFoldersDSContractID].getService();}function InitMsgWindow(){  msgWindow.messagePaneController = new nsMessagePaneController();  msgWindow.statusFeedback = statusFeedback;  msgWindow.msgHeaderSink = messageHeaderSink;  msgWindow.SetDOMWindow(window);  mailSession.AddMsgWindow(msgWindow);  getBrowser().docShell.allowAuth = false;  msgWindow.rootDocShell.allowAuth = true; }function AddDataSources(){  accountManagerDataSource = accountManagerDataSource.QueryInterface(Components.interfaces.nsIRDFDataSource);  folderDataSource = folderDataSource.QueryInterface(Components.interfaces.nsIRDFDataSource);  //to move menu item  SetupMoveCopyMenus('moveMenu', accountManagerDataSource, folderDataSource);  //to copy menu item  SetupMoveCopyMenus('copyMenu', accountManagerDataSource, folderDataSource);  //To FileButton menu  SetupMoveCopyMenus('button-file', accountManagerDataSource, folderDataSource);  //To move and copy menus in message pane context  SetupMoveCopyMenus("messagePaneContext-copyMenu", accountManagerDataSource, folderDataSource);  SetupMoveCopyMenus("messagePaneContext-moveMenu", accountManagerDataSource, folderDataSource);  //Add statusFeedback  var msgDS;  var viewDataSources = [accountManagerDataSource, folderDataSource,                         unreadFolderDataSource, favoriteFoldersDataSource,                        recentFoldersDataSource];  for (index in viewDataSources)  {    msgDS = viewDataSources[index].QueryInterface(Components.interfaces.nsIMsgRDFDataSource);    msgDS.window = msgWindow;  }}function SetupMoveCopyMenus(menuid, accountManagerDataSource, folderDataSource){  var menu = document.getElementById(menuid);  if(menu)  {    menu.database.AddDataSource(accountManagerDataSource);    menu.database.AddDataSource(folderDataSource);    menu.setAttribute('ref', 'msgaccounts:/');  }}// We're going to implement our status feedback for the mail window in JS now.// the following contains the implementation of our status feedback objectfunction nsMsgStatusFeedback(){}nsMsgStatusFeedback.prototype ={  // global variables for status / feedback information....  statusTextFld : null,  statusBar     : null,  throbber      : null,  stopCmd       : null,  startTimeoutID : null,  stopTimeoutID  : null,  progressMeterContainer : null,  pendingStartRequests : 0,  meteorsSpinning : false,  myDefaultStatus : null,  progressMeterVisible : false,  ensureStatusFields : function()    {      if (!this.statusTextFld ) this.statusTextFld = document.getElementById("statusText");      if (!this.statusBar) this.statusBar = document.getElementById("statusbar-icon");      if(!this.throbber)   this.throbber = document.getElementById("navigator-throbber");      if(!this.stopCmd)   this.stopCmd = document.getElementById("cmd_stop");      if (!this.progressMeterContainer) this.progressMeterContainer = document.getElementById("statusbar-progresspanel");    },  // nsIXULBrowserWindow implementation  setJSStatus : function(status)    {      if (status.length > 0)        this.showStatusString(status);    },  setJSDefaultStatus : function(status)    {      if (status.length > 0)      {        this.myDefaultStatus = status;        this.statusTextFld.label = status;      }    },  setOverLink : function(link)    {      this.ensureStatusFields();      this.statusTextFld.label = link;    },  QueryInterface : function(iid)    {      if (iid.equals(Components.interfaces.nsIMsgStatusFeedback) ||          iid.equals(Components.interfaces.nsIXULBrowserWindow) ||          iid.equals(Components.interfaces.nsISupports))        return this;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
青青草原综合久久大伊人精品优势| 一区二区三区精品在线观看| 91亚洲午夜精品久久久久久| 视频在线观看一区| 国产精品夫妻自拍| 亚洲五月六月丁香激情| 久久品道一品道久久精品| 91精彩视频在线| 国产成人日日夜夜| 日本视频中文字幕一区二区三区| 国产精品入口麻豆九色| 日韩精品一区二区三区三区免费| 91国内精品野花午夜精品| 国产激情精品久久久第一区二区| 日韩不卡手机在线v区| 亚洲欧美一区二区在线观看| 久久精品一区蜜桃臀影院| 欧美精品久久久久久久多人混战| 91啦中文在线观看| 风间由美一区二区三区在线观看| 蜜臀av国产精品久久久久| 亚洲一区影音先锋| 中文字幕不卡在线观看| 久久综合99re88久久爱| 日韩一区二区三区视频在线观看| 欧美日韩亚洲综合在线| 91丨porny丨中文| 国产成人免费视| 国产专区综合网| 韩国成人精品a∨在线观看| 午夜精品一区二区三区电影天堂| 亚洲精品免费看| 亚洲素人一区二区| 亚洲欧美怡红院| 日韩毛片精品高清免费| 国产色产综合色产在线视频| 精品精品欲导航| 欧美一级日韩一级| 911精品国产一区二区在线| 欧美日本韩国一区二区三区视频| 精品视频在线视频| 欧美性感一类影片在线播放| 欧美亚洲国产bt| 欧美日韩国产在线观看| 欧美猛男gaygay网站| 精品婷婷伊人一区三区三| 91国产精品成人| 欧美日韩国产另类一区| 欧美日韩激情一区| 欧美男人的天堂一二区| 欧美一二三四区在线| 日韩一二三四区| 久久色在线观看| 国产精品色婷婷| 亚洲乱码中文字幕| 亚洲激情成人在线| 天天操天天干天天综合网| 欧美三级欧美一级| 欧美少妇xxx| 日韩欧美美女一区二区三区| www久久久久| 中文字幕视频一区二区三区久| 亚洲日本韩国一区| 亚洲成人av电影| 欧美aaaaa成人免费观看视频| 国产在线精品一区二区不卡了 | 一区二区不卡在线播放 | 午夜影院久久久| 美女脱光内衣内裤视频久久影院| 国产精品自拍网站| 91免费在线视频观看| 欧美日韩精品电影| 久久久久久黄色| 亚洲精品久久7777| 日韩精品一级中文字幕精品视频免费观看 | 69久久夜色精品国产69蝌蚪网| 日韩手机在线导航| 国产欧美日韩在线| 亚洲一区在线播放| 狠狠色丁香婷婷综合| 91亚洲精品乱码久久久久久蜜桃| 欧美视频一区二区三区| 2021久久国产精品不只是精品| 国产精品成人一区二区艾草| 日韩激情av在线| 懂色av一区二区在线播放| 日本二三区不卡| 久久久亚洲精品石原莉奈| 亚洲欧美另类图片小说| 久久精品国产999大香线蕉| voyeur盗摄精品| 欧美一级久久久| 亚洲精品美国一| 国产一区欧美日韩| 欧美写真视频网站| 欧美激情一区二区三区不卡 | 成人黄色一级视频| 欧美一区二区三区婷婷月色| 中文字幕在线一区二区三区| 免费人成在线不卡| 91美女片黄在线观看91美女| 久久综合五月天婷婷伊人| 亚洲第一狼人社区| 不卡在线视频中文字幕| 欧美α欧美αv大片| 洋洋成人永久网站入口| 国产xxx精品视频大全| 五月综合激情日本mⅴ| eeuss鲁片一区二区三区在线看| 日韩欧美中文字幕精品| 亚洲日本成人在线观看| 国产精品影视网| 日韩精品一区二区三区视频在线观看 | 91蝌蚪porny成人天涯| 精品日韩一区二区三区免费视频| 亚洲午夜久久久久久久久电影网| 成人激情午夜影院| 欧美不卡一区二区三区四区| 亚洲高清中文字幕| 91婷婷韩国欧美一区二区| 国产性做久久久久久| 久久er99精品| 欧美一区二区日韩| 亚洲成人777| 欧美三级乱人伦电影| 亚洲免费电影在线| 不卡视频一二三| 日本一区二区三区国色天香| 经典三级一区二区| 精品剧情在线观看| 美国欧美日韩国产在线播放| 69堂国产成人免费视频| 午夜欧美视频在线观看| 欧美中文字幕亚洲一区二区va在线| 亚洲欧美另类小说| 91麻豆免费观看| 一区二区视频免费在线观看| 91视频免费播放| 一区二区三区在线免费视频| 色哟哟精品一区| 亚洲蜜臀av乱码久久精品蜜桃| 91在线免费视频观看| 樱花影视一区二区| 欧美色图在线观看| 天天色天天操综合| 欧美xxxxxxxx| 懂色av中文一区二区三区| 中文字幕乱码久久午夜不卡| 成人va在线观看| 亚洲品质自拍视频网站| 在线观看精品一区| 午夜欧美在线一二页| 日韩欧美第一区| 粉嫩欧美一区二区三区高清影视| 国产拍揄自揄精品视频麻豆| www.66久久| 午夜精品一区在线观看| 日韩欧美区一区二| 国产不卡免费视频| 亚洲婷婷国产精品电影人久久| 91成人看片片| 免播放器亚洲一区| 久久嫩草精品久久久久| 99久久99久久免费精品蜜臀| 亚洲高清久久久| 欧美xxxx在线观看| 成人爱爱电影网址| 亚洲二区在线视频| 精品久久久网站| 国产精品区一区二区三| 在线看一区二区| 精品制服美女丁香| 亚洲欧美综合色| 91精品国产91热久久久做人人 | 精品一区二区三区的国产在线播放| 国产午夜一区二区三区| 在线免费观看视频一区| 欧美aa在线视频| 136国产福利精品导航| 91精品午夜视频| 北条麻妃一区二区三区| 丝袜美腿高跟呻吟高潮一区| 国产欧美一区二区在线观看| 欧美色手机在线观看| 国产一区不卡在线| 一区二区三区蜜桃网| 欧美成人在线直播| 91麻豆swag| 国产九九视频一区二区三区| 亚洲一区在线看| 国产欧美va欧美不卡在线| 欧美剧情片在线观看| 成人妖精视频yjsp地址| 天天色综合天天| 亚洲精品一二三四区| 久久久午夜电影| 欧美一区二区视频在线观看2022| 91亚洲午夜精品久久久久久| 国产一区在线精品| 日韩精彩视频在线观看|