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

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

?? searchbar.js

?? 現在很火的郵件客戶端軟件thunderbird的源碼
?? JS
?? 第 1 頁 / 共 2 頁
字號:
  var termsArray = aTermsArray.QueryInterface(Components.interfaces.nsISupportsArray);  if (gXFVirtualFolderTerms)  {    var msgDatabase = selectedFolder.getMsgDatabase(msgWindow);    if (msgDatabase)    {      var dbFolderInfo = msgDatabase.dBFolderInfo;      var srchFolderUri = dbFolderInfo.getCharPtrProperty("searchFolderUri");      viewDebug("createSearchTermsWithList xf vf scope = " + srchFolderUri + "\n");      var srchFolderUriArray = srchFolderUri.split('|');      for (i in srchFolderUriArray)       {        var realFolderRes = GetResourceFromUri(srchFolderUriArray[i]);        var realFolder = realFolderRes.QueryInterface(Components.interfaces.nsIMsgFolder);        if (!realFolder.isServer)          gSearchSession.addScopeTerm(getScopeToUse(termsArray, realFolder, ioService.offline), realFolder);      }    }  }  else  {    viewDebug ("in createSearchTermsWithList, adding scope term for selected folder\n");    gSearchSession.addScopeTerm(getScopeToUse(termsArray, selectedFolder, ioService.offline), selectedFolder);  }  // add each item in termsArray to the search session  for (i = 0; i < termsArray.Count(); ++i)    gSearchSession.appendTerm(termsArray.GetElementAt(i).QueryInterface(Components.interfaces.nsIMsgSearchTerm));}function getScopeToUse(aTermsArray, aFolderToSearch, aIsOffline){  if (aIsOffline || aFolderToSearch.server.type != 'imap')    return nsMsgSearchScope.offlineMail;  var scopeToUse = gSearchInput && gSearchInput.searchMode == kQuickSearchBody && !gSearchInput.showingSearchCriteria                   ? nsMsgSearchScope.onlineMail : nsMsgSearchScope.offlineMail;  // it's possible one of our search terms may require us to use an online mail scope (such as imap body searches)  for (var i = 0; scopeToUse != nsMsgSearchScope.onlineMail && i < aTermsArray.Count(); i++)    if (aTermsArray.GetElementAt(i).QueryInterface(Components.interfaces.nsIMsgSearchTerm).attrib == nsMsgSearchAttrib.Body)      scopeToUse = nsMsgSearchScope.onlineMail;    return scopeToUse;}function createSearchTerms(){  var nsMsgSearchScope = Components.interfaces.nsMsgSearchScope;  var nsMsgSearchAttrib = Components.interfaces.nsMsgSearchAttrib;  var nsMsgSearchOp = Components.interfaces.nsMsgSearchOp;  // create an i supports array to store our search terms   var searchTermsArray = Components.classes["@mozilla.org/supports-array;1"].createInstance(Components.interfaces.nsISupportsArray);  var selectedFolder = GetThreadPaneFolder();  var searchAttrib = (IsSpecialFolder(selectedFolder, MSG_FOLDER_FLAG_SENTMAIL | MSG_FOLDER_FLAG_DRAFTS | MSG_FOLDER_FLAG_QUEUE, true)) ? nsMsgSearchAttrib.ToOrCC : nsMsgSearchAttrib.Sender;  // implement | for QS  // does this break if the user types "foo|bar" expecting to see subjects with that string?  // I claim no, since "foo|bar" will be a hit for "foo" || "bar"  // they just might get more false positives  if (!gSearchInput.showingSearchCriteria) // ignore the text box value if it's just showing the search criteria string  {    var termList = gSearchInput.value.split("|");    for (var i = 0; i < termList.length; i ++)    {      // if the term is empty, skip it      if (termList[i] == "")        continue;      // create, fill, and append the subject term      var term;      var value;      // if our search criteria is subject or subject|sender then add a term for the subject      if (gSearchInput.searchMode == kQuickSearchSubject || gSearchInput.searchMode == kQuickSearchSenderOrSubject)      {        term = gSearchSession.createTerm();        value = term.value;        value.str = termList[i];        term.value = value;        term.attrib = nsMsgSearchAttrib.Subject;        term.op = nsMsgSearchOp.Contains;        term.booleanAnd = false;        searchTermsArray.AppendElement(term);      }      if (gSearchInput.searchMode == kQuickSearchBody)      {        // what do we do for news and imap users that aren't configured for offline use?        // in these cases the body search will never return any matches. Should we try to         // see if body is a valid search scope in this particular case before doing the search?        // should we switch back to a subject/sender search behind the scenes?        term = gSearchSession.createTerm();        value = term.value;        value.str = termList[i];        term.value = value;        term.attrib = nsMsgSearchAttrib.Body;        term.op = nsMsgSearchOp.Contains;         term.booleanAnd = false;        searchTermsArray.AppendElement(term);             }      // create, fill, and append the sender (or recipient) term      if (gSearchInput.searchMode == kQuickSearchSender || gSearchInput.searchMode == kQuickSearchSenderOrSubject)      {        term = gSearchSession.createTerm();        value = term.value;        value.str = termList[i];        term.value = value;        term.attrib = searchAttrib;        term.op = nsMsgSearchOp.Contains;         term.booleanAnd = false;        searchTermsArray.AppendElement(term);      }      // create, fill, and append the recipient      if (gSearchInput.searchMode == kQuickSearchRecipient)      {        term = gSearchSession.createTerm();        value = term.value;        value.str = termList[i];        term.value = value;        term.attrib = nsMsgSearchAttrib.ToOrCC;        term.op = nsMsgSearchOp.Contains;         term.booleanAnd = false;        searchTermsArray.AppendElement(term);      }    }  }  // now append the default view or virtual folder criteria to the quick search     // so we don't lose any default view information  viewDebug("gDefaultSearchViewTerms = " + gDefaultSearchViewTerms + "gVirtualFolderTerms = " + gVirtualFolderTerms +     "gXFVirtualFolderTerms = " + gXFVirtualFolderTerms + "\n");  var defaultSearchTerms = (gDefaultSearchViewTerms || gVirtualFolderTerms || gXFVirtualFolderTerms);  if (defaultSearchTerms)  {    var isupports = null;    var searchTerm;     var termsArray = defaultSearchTerms.QueryInterface(Components.interfaces.nsISupportsArray);    for (i = 0; i < termsArray.Count(); i++)    {      isupports = termsArray.GetElementAt(i);      searchTerm = isupports.QueryInterface(Components.interfaces.nsIMsgSearchTerm);      searchTermsArray.AppendElement(searchTerm);    }  }    createSearchTermsWithList(searchTermsArray);    // now that we've added the terms, clear out our input array  searchTermsArray.Clear();}function onAdvancedSearch(){  MsgSearchMessages();}function onSearchStop() {  gSearchSession.interruptSearch();}function onSearchKeyPress(event){  if (gSearchInput.showingSearchCriteria)    gSearchInput.showingSearchCriteria = false;  // 13 == return  if (event && event.keyCode == 13)    onSearchInput(true);}function onSearchInputFocus(event){  GetSearchInput();  // search bar has focus, ...clear the showing search criteria flag  if (gSearchInput.showingSearchCriteria)  {    gSearchInput.value = "";    gSearchInput.showingSearchCriteria = false;  }    if (gIgnoreFocus) // got focus via mouse click, don't need to anything else    gIgnoreFocus = false;  else  {    gSearchInput.select();    gQuickSearchFocusEl = gSearchInput;   // only important that this be non-null  }}function onSearchInputMousedown(event){  GetSearchInput();  if (gSearchInput.hasAttribute("focused"))   {    gIgnoreClick = true;    // already focused, don't need to restore focus elsewhere (if the Clear button was clicked)    // ##HACK## Need to check 'clearButtonHidden' because the field is blurred when it has    // focus and the hidden button is clicked, in which case we want to perform the normal    // onBlur function.    gQuickSearchFocusEl = gSearchInput.clearButtonHidden ? gSearchInput : null;  }  else   {    gIgnoreFocus = true;    gIgnoreClick = false;    // save the last focused element so that focus can be restored (if the Clear button was clicked)    gQuickSearchFocusEl = gLastFocusedElement;  }  // (if Clear button was clicked, onClearSearch() is called before onSearchInputClick())}function onSearchInputClick(event){  if (!gIgnoreClick)  {    gQuickSearchFocusEl = null; // ##HACK## avoid onSearchInputBlur() side effects    gSearchInput.select();      // ## triggers onSearchInputBlur(), but focus returns to field  }  if (!gQuickSearchFocusEl)    gQuickSearchFocusEl = gSearchInput;   // mousedown wasn't on Clear button}function onSearchInputBlur(event){   if (!gQuickSearchFocusEl) // ignore the blur if we are in the middle of processing the clear button    return;  gQuickSearchFocusEl = null;  if (!gSearchInput.value)    gSearchInput.showingSearchCriteria = true;  if (gSearchInput.showingSearchCriteria)    gSearchInput.setSearchCriteriaText();}function onSearchInput(returnKeyHit){  if (gSearchInput.showingSearchCriteria && !(returnKeyHit && gSearchInput.value == ""))    return;  if (gSearchTimer) {    clearTimeout(gSearchTimer);     gSearchTimer = null;  }  // only select the text when the return key was hit  if (returnKeyHit) {    gSearchInput.select();    onEnterInSearchBar();  }  else {    gSearchTimer = setTimeout("onEnterInSearchBar();", 800);  }}// temporary global used to make sure we restore focus to the correct element after clearing the quick search box// because clearing quick search means stealing focus.var gQuickSearchFocusEl = null; function onClearSearch(){  if (!gSearchInput.showingSearchCriteria) // ignore the text box value if it's just showing the search criteria string  {    Search("");    gIgnoreClick = true;    // this needs to be on a timer otherwise we end up messing up the focus while the Search("") is still happening    if (gQuickSearchFocusEl) // set in onSearchInputMouseDown      setTimeout("restoreSearchFocusAfterClear();", 0);   }}function restoreSearchFocusAfterClear(){  if (gQuickSearchFocusEl)    gQuickSearchFocusEl.focus();}// called from commandglue.js in cases where the view is being changed and QS// needs to be cleared.function ClearQSIfNecessary(){  if (!gSearchInput || gSearchInput.showingSearchCriteria)    return;  gSearchInput.setSearchCriteriaText();}function Search(str){  viewDebug("in Search str = " + str + "gSearchInput.showingSearchCriteria = " + gSearchInput.showingSearchCriteria + "\n");  if (gSearchInput.showingSearchCriteria && str != "")    return;  if (str != gSearchInput.value)  {    gQSViewIsDirty = true;     viewDebug("in Search(), setting gQSViewIsDirty true\n");  }  gSearchInput.value = str;  //on input does not get fired for some reason  onSearchInput(true);}// helper methods for the quick search drop down menufunction changeQuickSearchMode(aMenuItem){  viewDebug("changing quick search mode\n");  // extract the label and set the search input to match it  var oldSearchMode = gSearchInput.searchMode;  gSearchInput.searchMode = aMenuItem.value;  if (gSearchInput.value == "" || gSearchInput.showingSearchCriteria)  {    gSearchInput.showingSearchCriteria = true;    if (gSearchInput.value) //       gSearchInput.setSearchCriteriaText();  }    // if the search box is empty, set showing search criteria to true so it shows up when focus moves out of the box  if (!gSearchInput.value)       gSearchInput.showingSearchCriteria = true;  else if (gSearchInput.showingSearchCriteria) // if we are showing criteria text and the box isn't empty, change the criteria text    gSearchInput.setSearchCriteriaText();       else if (oldSearchMode != gSearchInput.searchMode) // the search mode just changed so we need to redo the quick search    onEnterInSearchBar();}function saveViewAsVirtualFolder(){  openNewVirtualFolderDialogWithArgs(gSearchInput.value, gSearchSession.searchTerms);}function InitQuickSearchPopup(){  // disable the create virtual folder menu item if the current radio  // value is set to Find in message since you can't really  create a VF from find  // in message    GetSearchInput();    if (!gSearchInput ||gSearchInput.value == "" || gSearchInput.showingSearchCriteria)    document.getElementById('quickSearchSaveAsVirtualFolder').setAttribute('disabled', 'true');  else    document.getElementById('quickSearchSaveAsVirtualFolder').removeAttribute('disabled');}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩视频在线第一区| 亚洲精品美腿丝袜| 成人天堂资源www在线| 亚洲精品国久久99热| 精品少妇一区二区三区视频免付费| 国产一区二区精品久久| 亚洲黄色小说网站| 国产嫩草影院久久久久| 91.com在线观看| 91女厕偷拍女厕偷拍高清| 国产专区欧美精品| 婷婷六月综合亚洲| 一区二区在线观看免费| 国产欧美一区二区在线观看| 9191久久久久久久久久久| 色婷婷精品大视频在线蜜桃视频| 极品少妇xxxx精品少妇| 亚洲国产裸拍裸体视频在线观看乱了| 国产亚洲一区字幕| 日韩视频国产视频| 欧美视频一区二| www.久久精品| 91在线播放网址| 国产拍欧美日韩视频二区| 日韩一级视频免费观看在线| 在线观看视频一区| 波多野结衣中文一区| 久久精品久久99精品久久| 婷婷六月综合网| 亚洲成人av电影在线| 亚洲一区在线免费观看| 亚洲免费av在线| 亚洲免费av网站| 亚洲精品伦理在线| 亚洲欧洲日本在线| 18成人在线视频| 亚洲黄色录像片| 亚洲激情在线播放| 一区二区高清视频在线观看| 日韩一区在线免费观看| 国产精品国产三级国产三级人妇| 国产欧美一区二区精品性色 | 综合自拍亚洲综合图不卡区| 日本一区二区三区视频视频| 久久网这里都是精品| 26uuu亚洲婷婷狠狠天堂| 欧美另类videos死尸| 欧美日韩三级一区| 欧美日韩成人一区| 欧美一区二区网站| 精品国产一区a| 国产欧美日产一区| 国产精品色呦呦| 亚洲视频一二三区| 亚洲一二三专区| 日韩不卡在线观看日韩不卡视频| 日韩电影在线看| 久久国产福利国产秒拍| 亚洲精品国产一区二区精华液| 亚洲精品视频在线| 五月婷婷久久综合| 久久精品国产亚洲a| 国产一区三区三区| 成人毛片视频在线观看| 一本到不卡免费一区二区| 在线观看亚洲精品| 日韩欧美色综合| 国产精品丝袜黑色高跟| 亚洲精品国产一区二区三区四区在线 | 欧美白人最猛性xxxxx69交| 日韩欧美国产系列| 日本一区二区三区四区| 亚洲色图欧美偷拍| 北岛玲一区二区三区四区| 日韩精品一区二区三区中文精品| 日本不卡视频一二三区| 99re亚洲国产精品| 亚洲人精品午夜| 精品国产伦一区二区三区观看体验| 美女性感视频久久| 91精品国产91久久综合桃花| 蜜桃视频在线观看一区二区| 成人国产视频在线观看| 26uuu精品一区二区在线观看| 国产精一区二区三区| 中文字幕一区免费在线观看| 99久久99久久精品免费观看| 久久老女人爱爱| 国产精品三级久久久久三级| 久久66热re国产| 91在线丨porny丨国产| 亚洲一区二区三区四区在线观看 | 自拍av一区二区三区| 夜夜嗨av一区二区三区| 午夜国产精品一区| 91色视频在线| 日韩国产欧美视频| 国产成人av资源| 91在线观看成人| 日韩欧美亚洲国产另类| 欧美三区在线观看| 在线观看日韩高清av| 国产精品一区一区三区| 亚洲午夜成aⅴ人片| 中文字幕一区视频| 亚洲成人免费在线观看| 亚洲影院理伦片| 国产成人精品影视| 国产精品女人毛片| 欧美日韩美女一区二区| 国产香蕉久久精品综合网| 伊人婷婷欧美激情| 亚洲精选免费视频| 亚洲一二三专区| 国产99一区视频免费| 麻豆成人久久精品二区三区小说| 久久国产三级精品| 久久综合九色综合久久久精品综合 | 欧美日韩美少妇| 在线观看视频91| 久久久久久久精| 亚洲福利视频三区| 激情五月激情综合网| 欧美精品xxxxbbbb| 中文字幕一区二区三| 男女性色大片免费观看一区二区 | 欧美日韩中文国产| 欧美大肚乱孕交hd孕妇| 国产日产欧美一区二区三区| 婷婷中文字幕一区三区| 亚洲自拍偷拍九九九| 精品久久久网站| 六月丁香综合在线视频| 国产91对白在线观看九色| 日本精品裸体写真集在线观看 | 亚洲自拍与偷拍| 国产精品国产精品国产专区不蜜| 日韩你懂的在线播放| 日韩精品一区二区三区视频在线观看| 国产精品私房写真福利视频| 久久精品免费观看| 欧美视频中文一区二区三区在线观看| 久久久亚洲欧洲日产国码αv| 亚洲成在人线在线播放| 99re热这里只有精品免费视频| 日韩免费成人网| 亚洲成av人片一区二区梦乃| 成人av网址在线观看| 日韩伦理av电影| 国产91在线观看丝袜| 国产区在线观看成人精品| 久久福利视频一区二区| 国产精品麻豆久久久| 国产成人综合亚洲网站| 欧美精品一区二区三区在线播放| 亚洲成av人影院| 国产成人免费9x9x人网站视频| 91在线porny国产在线看| 国产一区二区三区四| 五月婷婷色综合| 2021中文字幕一区亚洲| av综合在线播放| 青娱乐精品在线视频| 精品精品欲导航| 成人av网站免费| 久久电影网电视剧免费观看| 亚洲综合精品自拍| 国产亲近乱来精品视频| 亚洲人成网站精品片在线观看| 国产福利一区二区| 久久久久久免费毛片精品| 国产在线精品免费| 久久在线免费观看| 国产精品一卡二卡在线观看| 久久综合久久综合久久| 国产精品一区二区在线看| 久久精品视频免费| 成人黄色在线视频| 亚洲天堂福利av| 91国偷自产一区二区使用方法| 国产精品乱码人人做人人爱 | 欧美唯美清纯偷拍| 亚洲靠逼com| 在线亚洲欧美专区二区| 亚洲综合色丁香婷婷六月图片| 亚洲一区二区三区四区五区黄| 日韩午夜av一区| 亚洲欧美在线视频| 成人毛片视频在线观看| 亚洲精品日韩综合观看成人91| 久久一二三国产| 久久一留热品黄| 国产欧美综合在线观看第十页| 91精品蜜臀在线一区尤物| 色欧美片视频在线观看在线视频| 国产裸体歌舞团一区二区| 久久精品国产精品亚洲精品| 日韩和欧美一区二区三区| 丝袜诱惑制服诱惑色一区在线观看| 开心九九激情九九欧美日韩精美视频电影|