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

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

?? general.js

?? 現(xiàn)在很火的郵件客戶端軟件thunderbird的源碼
?? JS
字號(hào):
# -*- Mode: Java; tab-width: 2; 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 the Thunderbird Preferences System.## The Initial Developer of the Original Code is# Scott MacGregor.# Portions created by the Initial Developer are Copyright (C) 2005# the Initial Developer. All Rights Reserved.## Contributor(s):#   Scott MacGregor <mscott@mozilla.org>## 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 *****var gGeneralPane = {  mPane: null,  init: function ()  {    this.mPane = document.getElementById("paneGeneral");     this.startPageCheck();        this.updatePlaySound();  },#ifdef HAVE_SHELL_SERVICE  /**   * Checks whether Thunderbird is currently registered with the operating   * system as the default app for mail, rss and news.  If Thunderbird is not currently the   * default app, the user is given the option of making it the default for each type;   * otherwise, the user is informed that Thunderbird is already the default.   */  checkDefaultNow: function (aAppType)   {       var nsIShellService = Components.interfaces.nsIShellService;    var shellSvc;    try {      shellSvc = Components.classes["@mozilla.org/mail/shell-service;1"].getService(nsIShellService);    } catch (ex) { return; }        // if we are already the default for all the types we handle, then alert the user.    if (shellSvc.isDefaultClient(false, nsIShellService.MAIL | nsIShellService.NEWS | nsIShellService.RSS))    {      var brandBundle = document.getElementById("bundleBrand");      var shellBundle = document.getElementById("bundleShell");      var brandShortName = brandBundle.getString("brandShortName");      var promptTitle = shellBundle.getString("alreadyDefaultClientTitle");      var promptMessage;      const IPS = Components.interfaces.nsIPromptService;      var psvc = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]                           .getService(IPS);        promptMessage = shellBundle.getFormattedString("alreadyDefault", [brandShortName]);        psvc.alert(window, promptTitle, promptMessage);    }    else  {      // otherwise, bring up the default client dialog      window.openDialog("chrome://messenger/content/defaultClientDialog.xul", "Default Client",                         "modal,centerscreen,chrome,resizable=no");    }  },#endif  startPageCheck: function()   {    document.getElementById("mailnewsStartPageUrl").disabled = !document.getElementById("mailnewsStartPageEnabled").checked;  },    setHomePageToDefaultPage: function ()  {    var prefService = Components.classes["@mozilla.org/preferences-service;1"]                                .getService(Components.interfaces.nsIPrefService);    var pref = prefService.getDefaultBranch(null);    var url = pref.getComplexValue("mailnews.start_page.url",                                   Components.interfaces.nsIPrefLocalizedString).data;    var startPageUrlField = document.getElementById("mailnewsStartPageUrl");    startPageUrlField.value = url;        this.mPane.userChangedValue(startPageUrlField);  },  customizeMailAlert: function()  {    document.documentElement            .openSubDialog("chrome://messenger/content/preferences/notifications.xul",                           "", null);  },  convertURLToLocalFile: function(aFileURL)  {    // convert the file url into a nsILocalFile    if (aFileURL)    {      var ios = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService);      var fph = ios.getProtocolHandler("file").QueryInterface(Components.interfaces.nsIFileProtocolHandler);      return fph.getFileFromURLSpec(aFileURL);    }     else      return null;  },  readSoundLocation: function()  {    var soundUrlLocation = document.getElementById("soundUrlLocation");    soundUrlLocation.value = document.getElementById("mail.biff.play_sound.url").value;    if (soundUrlLocation.value)    {      soundUrlLocation.label = this.convertURLToLocalFile(soundUrlLocation.value).leafName;      soundUrlLocation.image = "moz-icon://" + soundUrlLocation.label + "?size=16";    }    return undefined;  },    previewSound: function ()  {      sound = Components.classes["@mozilla.org/sound;1"].createInstance(Components.interfaces.nsISound);        var soundLocation;    soundLocation = document.getElementById('soundType').value == 1 ?                     document.getElementById('soundUrlLocation').value : "_moz_mailbeep"    if (soundLocation.indexOf("file://") == -1)       sound.playSystemSound(soundLocation);    else     {      var ioService = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService);      sound.play(ioService.newURI(soundLocation, null, null));  }  },    browseForSoundFile: function ()  {    const nsIFilePicker = Components.interfaces.nsIFilePicker;    var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);    // if we already have a sound file, then use the path for that sound file    // as the initial path in the dialog.    var localFile = this.convertURLToLocalFile(document.getElementById('soundUrlLocation').value);    if (localFile)      fp.displayDirectory = localFile;    // XXX todo, persist the last sound directory and pass it in    fp.init(window, document.getElementById("bundlePreferences").getString("soundFilePickerTitle"), nsIFilePicker.modeOpen);    fp.appendFilter("*.wav", "*.wav");    var ret = fp.show();    if (ret == nsIFilePicker.returnOK)     {      // convert the nsILocalFile into a nsIFile url       document.getElementById("mail.biff.play_sound.url").value = fp.fileURL.spec;      this.readSoundLocation(); // XXX We shouldn't have to be doing this by hand      this.updatePlaySound();    }  },    updatePlaySound: function()  {    // update the sound type radio buttons based on the state of the play sound checkbox    var soundsDisabled = !document.getElementById('newMailNotification').checked;    var soundTypeEl = document.getElementById('soundType');    soundTypeEl.disabled = soundsDisabled;    document.getElementById('browseForSound').disabled = soundsDisabled || soundTypeEl.value != 1;    document.getElementById('playSound').disabled = soundsDisabled || soundTypeEl.value != 1;   },};

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线视频你懂得一区| 国产精品视频线看| 欧美日韩综合色| 在线观看一区二区视频| 色噜噜狠狠一区二区三区果冻| 成人精品小蝌蚪| av高清久久久| 91麻豆成人久久精品二区三区| 波多野结衣中文字幕一区二区三区| 成人网页在线观看| 色婷婷亚洲精品| 欧美日韩和欧美的一区二区| 欧美日韩一级视频| 欧美视频一区二区三区四区| 6080国产精品一区二区| 在线成人小视频| 日韩视频免费直播| 久久综合狠狠综合久久综合88| 亚洲精品一区二区三区四区高清| 久久精品一区四区| 国产精品对白交换视频| 亚洲精品乱码久久久久久黑人| 亚洲精品成人悠悠色影视| 亚洲一区在线播放| 蜜桃免费网站一区二区三区| 久久福利视频一区二区| 成人午夜激情影院| 色爱区综合激月婷婷| 欧美日韩黄色影视| 精品入口麻豆88视频| 国产欧美日韩精品在线| 日韩美女久久久| 丝袜亚洲另类欧美综合| 国产一区二区三区四区五区美女| 成人影视亚洲图片在线| 欧洲亚洲精品在线| 精品国免费一区二区三区| 亚洲欧洲av一区二区三区久久| 一区二区三区在线看| 奇米影视一区二区三区| 国产凹凸在线观看一区二区| 色婷婷狠狠综合| 精品美女在线播放| 亚洲精品美腿丝袜| 国产尤物一区二区| 欧美视频在线观看一区| 久久精品视频在线看| 亚洲电影中文字幕在线观看| 国产精品一区二区三区四区| 91福利国产成人精品照片| 日韩欧美精品在线| 亚洲精品免费电影| 国产九九视频一区二区三区| 色哟哟亚洲精品| 亚洲精品一区二区三区福利| 亚洲精品视频在线| 国产精品伊人色| 欧美日韩亚洲国产综合| 欧美激情一区在线观看| 天天影视网天天综合色在线播放 | 成人亚洲一区二区一| 欧美日韩美女一区二区| 亚洲国产精品成人综合色在线婷婷| 亚洲综合久久久久| 成人av在线观| 精品国产乱子伦一区| 亚洲精品老司机| 国产美女精品一区二区三区| 在线观看免费一区| 国产精品电影一区二区三区| 久久99精品久久久| 欧美日本免费一区二区三区| 久久综合久久99| 午夜精品免费在线| 91香蕉视频污| 精品国产在天天线2019| 调教+趴+乳夹+国产+精品| 色噜噜狠狠成人中文综合| 久久精品免视看| 日韩国产精品大片| 94-欧美-setu| 欧美激情一区在线观看| 韩国成人福利片在线播放| 欧美一区在线视频| 性做久久久久久免费观看| 色欧美片视频在线观看| 中文字幕不卡在线观看| 国产精品伊人色| 久久众筹精品私拍模特| 蜜臀av性久久久久蜜臀aⅴ四虎 | 亚洲欧美日韩国产综合在线| 国产剧情在线观看一区二区| www国产精品av| 免费观看30秒视频久久| 欧美日韩久久久久久| 亚洲在线观看免费视频| 91麻豆自制传媒国产之光| 欧美激情一区二区三区蜜桃视频 | www国产亚洲精品久久麻豆| 奇米综合一区二区三区精品视频| 欧美剧情片在线观看| 亚洲gay无套男同| 欧洲色大大久久| 一区二区三区四区不卡在线| 91免费在线视频观看| 亚洲美女一区二区三区| 色美美综合视频| 亚洲精品老司机| 欧美日韩欧美一区二区| 亚洲va欧美va天堂v国产综合| 欧美优质美女网站| 亚洲午夜在线观看视频在线| 欧美日韩精品一区二区三区| 日韩综合在线视频| 日韩美一区二区三区| 老汉av免费一区二区三区| 欧美第一区第二区| 国内成人免费视频| 国产欧美日本一区视频| 97精品久久久午夜一区二区三区| 自拍偷自拍亚洲精品播放| 91激情五月电影| 午夜久久久影院| 精品国产精品一区二区夜夜嗨| 国产suv精品一区二区883| 亚洲日本在线看| 欧美日韩一区国产| 日韩精品1区2区3区| 久久久久久久电影| 91色九色蝌蚪| 日韩精品电影在线| 国产午夜精品美女毛片视频| 91色九色蝌蚪| 奇米888四色在线精品| 国产人成亚洲第一网站在线播放| jlzzjlzz亚洲女人18| 亚洲高清一区二区三区| 精品久久久久久久久久久院品网 | 久久品道一品道久久精品| 成人一级片网址| 亚洲一线二线三线视频| 日韩视频中午一区| 99久久er热在这里只有精品15| 亚洲一区二区三区在线看| 日韩欧美成人午夜| 99久久国产综合精品色伊| 五月婷婷久久丁香| 精品久久人人做人人爱| 99免费精品视频| 免费成人性网站| 中文字幕一区二区三区四区| 91 com成人网| 不卡的av中国片| 蜜桃视频免费观看一区| 亚洲男女一区二区三区| 日韩一区二区电影网| 成人18视频在线播放| 日本视频一区二区三区| 国产精品―色哟哟| 欧美三区在线观看| 懂色av一区二区在线播放| 五月婷婷色综合| 亚洲日本va在线观看| 精品裸体舞一区二区三区| 色综合久久久久综合| 韩国精品一区二区| 天天色图综合网| 亚洲视频小说图片| 久久久综合视频| 欧美一区二区人人喊爽| 色美美综合视频| 成人美女视频在线观看| 蜜臀av一区二区在线观看| 亚洲综合在线五月| 国产精品嫩草久久久久| 日韩午夜三级在线| 欧美三级视频在线| 99久久精品99国产精品| 国产在线精品一区二区不卡了| 五月婷婷综合网| 一区二区三区**美女毛片| 国产精品美女久久福利网站| 精品少妇一区二区三区日产乱码 | 成人一区二区三区| 久久国产精品色婷婷| 日韩av一级电影| 亚洲成av人片观看| 亚洲自拍欧美精品| 亚洲人成影院在线观看| 国产三级精品三级在线专区| 337p粉嫩大胆色噜噜噜噜亚洲| 欧美三级欧美一级| 欧美在线一区二区| 欧洲精品在线观看| 一本久久精品一区二区| 99精品欧美一区二区三区小说| 高清不卡一区二区在线| 国产精品911| 国产精品一卡二| 国产精品系列在线播放|