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

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

?? addressingwidgetoverlay.js

?? 現(xiàn)在很火的郵件客戶端軟件thunderbird的源碼
?? JS
?? 第 1 頁 / 共 3 頁
字號:
//function awRecipientErrorCommand(errItem, element){  // remove the angle brackets from the general error message to construct   // the title for the alert.  someday we'll pass this info using a real  // exception object, and then this code can go away.  //  var generalErrString;  if (errItem.value != "")     generalErrString = errItem.value.slice(1, errItem.value.length-1);  else     generalErrString = "Unknown LDAP server problem encountered";	  // try and get the string of the specific error to contruct the complete  // err msg, otherwise fall back to something generic.  This message is  // handed to us as an nsISupportsString in the param slot of the   // autocomplete error item, by agreement documented in   // nsILDAPAutoCompFormatter.idl  //  var specificErrString = "";  try   {    var specificError = errItem.param.QueryInterface(Components.interfaces.nsISupportsString);	  specificErrString = specificError.data;  } catch (ex)   {}    if (specificErrString == "") 	  specificErrString = "Internal error";  if (gPromptService)     gPromptService.alert(window, generalErrString, specificErrString);  else 	  window.alert(generalErrString + ": " + specificErrString);}function awRecipientKeyPress(event, element){  switch(event.keyCode) {  case KeyEvent.DOM_VK_UP:    awArrowHit(element, -1);    break;  case KeyEvent.DOM_VK_DOWN:    awArrowHit(element, 1);    break;  case KeyEvent.DOM_VK_RETURN:  case KeyEvent.DOM_VK_TAB:    // if the user text contains a comma or a line return, ignore     if (element.value.search(',') != -1)    {      var addresses = element.value;      element.value = ""; // clear out the current line so we don't try to autocomplete it..      parseAndAddAddresses(addresses, awGetPopupElement(awGetRowByInputElement(element)).selectedItem.getAttribute("value"));    }    else if (event.keyCode == KeyEvent.DOM_VK_TAB)      awTabFromRecipient(element, event);        break;  }}function awArrowHit(inputElement, direction){  var row = awGetRowByInputElement(inputElement) + direction;  if (row) {    var nextInput = awGetInputElement(row);    if (nextInput)      awSetFocus(row, nextInput);    else if (inputElement.value)      awAppendNewRow(true);  }}function awRecipientKeyDown(event, element){  switch(event.keyCode) {  case 46:  case 8:    /* do not query directly the value of the text field else the autocomplete widget could potentially       alter it value while doing some internal cleanup, instead, query the value through the first child    */    if (!element.value)      awDeleteHit(element);    // We need to stop the event else the listbox will receive it and the    // function awKeyDown will be executed!    event.stopPropagation();    break;  }}function awKeyDown(event, listboxElement){  switch(event.keyCode) {  case 46:  case 8:    /* Warning, the listboxElement.selectedItems will change everytime we delete a row */    var selItems = listboxElement.selectedItems;    var length = listboxElement.selectedItems.length;    for (var i = 1; i <= length; i++) {      var inputs = listboxElement.selectedItems[0].getElementsByTagName(awInputElementName());      if (inputs && inputs.length == 1)        awDeleteHit(inputs[0]);    }    break;  }}function awMenulistKeyPress(event, element){  switch(event.keyCode) {  case 9:    awTabFromMenulist(element, event);    break;  }}/* ::::::::::: addressing widget dummy rows ::::::::::::::::: */var gAWContentHeight = 0;var gAWRowHeight = 0;function awFitDummyRows(){  awCalcContentHeight();  awCreateOrRemoveDummyRows();}function awCreateOrRemoveDummyRows(){  var listbox = document.getElementById("addressingWidget");  var listboxHeight = listbox.boxObject.height;  // remove rows to remove scrollbar  var kids = listbox.childNodes;  for (var i = kids.length-1; gAWContentHeight > listboxHeight && i >= 0; --i) {    if (kids[i].hasAttribute("_isDummyRow")) {      gAWContentHeight -= gAWRowHeight;      listbox.removeChild(kids[i]);    }  }  // add rows to fill space  if (gAWRowHeight) {    while (gAWContentHeight+gAWRowHeight < listboxHeight) {      awCreateDummyItem(listbox);      gAWContentHeight += gAWRowHeight;    }  }}function awCalcContentHeight(){  var listbox = document.getElementById("addressingWidget");  var items = listbox.getElementsByTagName("listitem");  gAWContentHeight = 0;  if (items.length > 0) {    // all rows are forced to a uniform height in xul listboxes, so    // find the first listitem with a boxObject and use it as precedent    var i = 0;    do {      gAWRowHeight = items[i].boxObject.height;      ++i;    } while (i < items.length && !gAWRowHeight);    gAWContentHeight = gAWRowHeight*items.length;  }}function awCreateDummyItem(aParent){  var titem = document.createElement("listitem");  titem.setAttribute("_isDummyRow", "true");  titem.setAttribute("class", "dummy-row");  for (var i = awGetNumberOfCols(); i > 0; i--)    awCreateDummyCell(titem);  if (aParent)    aParent.appendChild(titem);  return titem;}function awCreateDummyCell(aParent){  var cell = document.createElement("listcell");  cell.setAttribute("class", "addressingWidgetCell dummy-row-cell");  if (aParent)    aParent.appendChild(cell);  return cell;}function awGetNextDummyRow(){  // gets the next row from the top down  var listbox = document.getElementById("addressingWidget");  var kids = listbox.childNodes;  for (var i = 0; i < kids.length; ++i) {    if (kids[i].hasAttribute("_isDummyRow"))      return kids[i];  }  return null;}function awSizerListen(){  // when splitter is clicked, fill in necessary dummy rows each time the mouse is moved  awCalcContentHeight(); // precalculate  document.addEventListener("mousemove", awSizerMouseMove, true);  document.addEventListener("mouseup", awSizerMouseUp, false);}function awSizerMouseMove(){  awCreateOrRemoveDummyRows(2);}function awSizerMouseUp(){  document.removeEventListener("mousemove", awSizerMouseUp, false);  document.removeEventListener("mouseup", awSizerMouseUp, false);}function awDocumentKeyPress(event){  try {    var id = event.target.getAttribute('id');    if (id.substr(0, 11) == 'addressCol1')      awMenulistKeyPress(event, event.target);  } catch (e) { }}function awRecipientInputCommand(event, inputElement){  gContentChanged=true;   setupAutocomplete(); }// Given an arbitrary block of text like a comma delimited list of names or a names separated by spaces,// we will try to autocomplete each of the names and then take the FIRST match for each name, adding it the// addressing widget on the compose window.var gAutomatedAutoCompleteListener = null;function parseAndAddAddresses(addressText, recipientType){  // strip any leading >> characters inserted by the autocomplete widget  var strippedAddresses = addressText.replace(/.* >> /, "");  var hdrParser = Components.classes["@mozilla.org/messenger/headerparser;1"].getService(Components.interfaces.nsIMsgHeaderParser);  var addresses = {};  var names = {};  var fullNames = {};  var numAddresses = hdrParser.parseHeadersWithArray(strippedAddresses, addresses, names, fullNames);  if (numAddresses > 0)  {    // we need to set up our own autocomplete session and search for results    setupAutocomplete(); // be safe, make sure we are setup    if (!gAutomatedAutoCompleteListener)      gAutomatedAutoCompleteListener = new AutomatedAutoCompleteHandler();    gAutomatedAutoCompleteListener.init(fullNames.value, numAddresses, recipientType);  }}function AutomatedAutoCompleteHandler(){}// state driven self contained object which will autocomplete a block of addresses without any UI. // force picks the first match and adds it to the addressing widget, then goes on to the next // name to complete.AutomatedAutoCompleteHandler.prototype ={  param: this,  sessionName: null,  namesToComplete: {},  numNamesToComplete: 0,  indexIntoNames: 0,  numSessionsToSearch: 0,  numSessionsSearched: 0,  recipientType: null,  searchResults: null,  init:function(namesToComplete, numNamesToComplete, recipientType)  {    this.indexIntoNames = 0;    this.numNamesToComplete = numNamesToComplete;    this.namesToComplete = namesToComplete;    this.recipientType = recipientType;    // set up the auto complete sessions to use    setupAutocomplete();    this.autoCompleteNextAddress();  },  autoCompleteNextAddress:function()  {    this.numSessionsToSearch = 0;    this.numSessionsSearched = 0;    this.searchResults = new Array;    if (this.indexIntoNames < this.numNamesToComplete && this.namesToComplete[this.indexIntoNames])    {      if (this.namesToComplete[this.indexIntoNames].search('@') == -1) // don't autocomplete if address has an @ sign in it      {        // make sure total session count is updated before we kick off ANY actual searches        if (gAutocompleteSession)           this.numSessionsToSearch++;        if (gLDAPSession && gCurrentAutocompleteDirectory)          this.numSessionsToSearch++;        if (gAutocompleteSession)        {           gAutocompleteSession.onAutoComplete(this.namesToComplete[this.indexIntoNames], null, this);           // AB searches are actually synchronous. So by the time we get here we have already looked up results.           // if we WERE going to also do an LDAP lookup, then check to see if we have a valid match in the AB, if we do           // don't bother with the LDAP search too just return           if (gLDAPSession && gCurrentAutocompleteDirectory && this.searchResults[0] && this.searchResults[0].defaultItemIndex != -1)           {             this.processAllResults();             return;           }        }        if (gLDAPSession && gCurrentAutocompleteDirectory)          gLDAPSession.onStartLookup(this.namesToComplete[this.indexIntoNames], null, this);      }      if (!this.numSessionsToSearch)        this.processAllResults(); // ldap and ab are turned off, so leave text alone    }  },  onStatus:function(aStatus)   {    return;  },    onAutoComplete: function(aResults, aStatus)   {    // store the results until all sessions are done and have reported in    if (aResults)      this.searchResults[this.numSessionsSearched] = aResults;        this.numSessionsSearched++; // bump our counter    if (this.numSessionsToSearch <= this.numSessionsSearched)      setTimeout('gAutomatedAutoCompleteListener.processAllResults()', 0); // we are all done  },  processAllResults: function()  {    // Take the first result and add it to the compose window    var addressToAdd;    // loop through the results looking for the non default case (default case is the address book with only one match, the default domain)    var sessionIndex;     var searchResultsForSession;    for (sessionIndex in this.searchResults)    {      searchResultsForSession = this.searchResults[sessionIndex];      if (searchResultsForSession && searchResultsForSession.defaultItemIndex > -1)      {        addressToAdd = searchResultsForSession.items.QueryElementAt(searchResultsForSession.defaultItemIndex, Components.interfaces.nsIAutoCompleteItem).value;        break;      }    }    // still no match? loop through looking for the -1 default index    if (!addressToAdd)    {      for (sessionIndex in this.searchResults)      {        searchResultsForSession = this.searchResults[sessionIndex];        if (searchResultsForSession && searchResultsForSession.defaultItemIndex == -1)        {          addressToAdd = searchResultsForSession.items.QueryElementAt(0, Components.interfaces.nsIAutoCompleteItem).value;          break;        }      }    }    // no matches anywhere...just use what we were given    if (!addressToAdd)      addressToAdd = this.namesToComplete[this.indexIntoNames];    // that will automatically set the focus on a new available row, and make sure it is visible    awAddRecipient(this.recipientType ? this.recipientType : "addr_to", addressToAdd);          this.indexIntoNames++;    this.autoCompleteNextAddress();  },  QueryInterface : function(iid)  {      if (iid.equals(Components.interfaces.nsIAutoCompleteListener) ||          iid.equals(Components.interfaces.nsISupports))        return this;      throw Components.results.NS_NOINTERFACE;  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品粉嫩超白一线天av| 亚洲地区一二三色| aaa欧美日韩| 免费观看久久久4p| 中文文精品字幕一区二区| av在线不卡观看免费观看| 亚洲www啪成人一区二区麻豆| 日韩午夜在线观看| 色综合天天综合给合国产| 免费观看在线色综合| 国产精品国产自产拍在线| 日韩免费在线观看| 97国产一区二区| 一区二区三区四区乱视频| 国产女人18水真多18精品一级做| 日本韩国一区二区| 成人av在线电影| proumb性欧美在线观看| 久久久精品国产99久久精品芒果| 五月天婷婷综合| 欧美日韩激情一区二区三区| 麻豆久久一区二区| 欧美久久久久久久久中文字幕| 91香蕉视频污| 亚洲美女一区二区三区| 免费在线成人网| 激情欧美日韩一区二区| 日韩欧美成人一区| 亚洲国产日韩在线一区模特| 99久久久无码国产精品| 亚洲国产成人一区二区三区| 高清久久久久久| 亚洲欧洲日产国码二区| 亚洲不卡一区二区三区| 精品一区二区免费在线观看| 精品久久久久一区| 国产寡妇亲子伦一区二区| 在线视频综合导航| 蜜桃一区二区三区在线观看| 久久综合视频网| www.性欧美| 日韩精彩视频在线观看| 337p亚洲精品色噜噜噜| 成人app在线观看| 国产精品不卡一区| 极品瑜伽女神91| 精品久久久久久久久久久院品网| 日韩精品中午字幕| 亚洲自拍偷拍图区| 日韩一区二区影院| 精品成人a区在线观看| 《视频一区视频二区| 麻豆一区二区三| 精品欧美久久久| 欧美电视剧免费全集观看| 欧美一区二区视频观看视频| 欧美中文字幕久久| 欧美日本在线观看| 欧洲中文字幕精品| 中文字幕一区二区在线观看| 欧美国产精品一区二区三区| 欧美videossexotv100| 国产91精品欧美| 韩国v欧美v日本v亚洲v| 亚洲最色的网站| 97久久精品人人澡人人爽| 久久国产福利国产秒拍| 九九九精品视频| 日韩精品久久理论片| 精品国产区一区| 2020日本不卡一区二区视频| 国产三级欧美三级| 日本一区二区动态图| 欧美日韩国产小视频| 精品福利在线导航| 国产亲近乱来精品视频| 亚洲人成7777| 午夜激情一区二区三区| 免费成人性网站| 成人美女在线视频| 北条麻妃一区二区三区| 北条麻妃国产九九精品视频| 欧美日韩精品高清| 日韩一卡二卡三卡国产欧美| 欧美一区二区日韩一区二区| 日韩精品影音先锋| 国产婷婷精品av在线| 亚洲国产乱码最新视频| 久久aⅴ国产欧美74aaa| 久久精品99久久久| 欧美不卡激情三级在线观看| 717成人午夜免费福利电影| 艳妇臀荡乳欲伦亚洲一区| 日韩欧美美女一区二区三区| 日韩理论片在线| 激情综合网av| 成人综合婷婷国产精品久久 | 国产一区视频网站| 美女视频黄 久久| 国产91精品在线观看| 精品日韩99亚洲| 五月婷婷激情综合网| 国产精品久久久久一区二区三区共| 亚洲第一综合色| 国产日本欧美一区二区| 色综合久久99| 精品一区二区在线播放| 一区二区三区日韩欧美精品| 国产丝袜欧美中文另类| 色吧成人激情小说| 麻豆成人久久精品二区三区小说| 欧美一区二区三区在线视频| 久久精品99国产精品日本| 91美女在线看| 国产精品无码永久免费888| 久久精品国产免费| 欧美大肚乱孕交hd孕妇| 国内国产精品久久| 国产精品无人区| 一区二区三区四区激情 | 亚洲色欲色欲www在线观看| 极品美女销魂一区二区三区| 91网站最新网址| 精品久久久久一区二区国产| 日本91福利区| 欧美亚日韩国产aⅴ精品中极品| 欧美一级日韩不卡播放免费| 亚洲成人免费电影| www.日韩av| 日韩欧美一区二区免费| 日韩激情在线观看| 色乱码一区二区三区88| 亚洲天堂2014| 成人黄页在线观看| 精品国产一二三区| 精品夜夜嗨av一区二区三区| 欧美探花视频资源| 亚洲欧美色一区| 91精品91久久久中77777| 欧美国产精品专区| 久久国产免费看| 欧美videos中文字幕| 秋霞影院一区二区| 91精品国产91久久久久久一区二区| 综合av第一页| 91原创在线视频| 一区二区三区精品久久久| jiyouzz国产精品久久| 国产午夜精品久久久久久免费视 | 蜜桃传媒麻豆第一区在线观看| 91精品国产综合久久久蜜臀粉嫩 | 亚洲福利一二三区| 欧美一区二区三区视频| 亚洲成人午夜电影| 欧美精品在线观看一区二区| 欧美96一区二区免费视频| 欧美日韩电影一区| 亚洲成人www| 91精品国产一区二区三区香蕉| 亚洲成人免费在线观看| 欧美变态tickling挠脚心| 久久99久久99精品免视看婷婷| 日韩一级黄色片| 懂色av一区二区三区免费看| 国产亚洲欧美色| 成人精品免费网站| 亚洲四区在线观看| 欧美视频一区二区在线观看| 午夜伦欧美伦电影理论片| 欧美专区在线观看一区| 亚洲成人自拍偷拍| 日韩欧美中文一区二区| 成人av中文字幕| 一区二区在线观看视频| 欧美区视频在线观看| 国产精品一级二级三级| 亚洲欧洲精品一区二区三区不卡| 91高清在线观看| 日韩高清在线观看| 精品国产三级电影在线观看| 91一区二区三区在线观看| 亚洲一区二区三区不卡国产欧美| 欧美猛男超大videosgay| 国产成人av资源| 亚洲欧美另类久久久精品2019| 激情五月激情综合网| 亚洲欧美另类小说| 日韩欧美精品三级| 色综合中文字幕| 日韩精品欧美精品| 欧美韩国日本一区| 欧美日韩成人一区二区| 国模娜娜一区二区三区| 国产欧美一区二区在线观看| 777久久久精品| 成人一级片在线观看| 日韩一区二区三区免费看 | 99视频一区二区| 免费一级片91| 亚洲欧美综合色|