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

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

?? changeaction.js

?? 現在很火的郵件客戶端軟件thunderbird的源碼
?? JS
字號:
# -*- 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 the Download Actions Manager.## The Initial Developer of the Original Code is# Ben Goodger.# Portions created by the Initial Developer are Copyright (C) 2000-2005# the Initial Developer. All Rights Reserved.## Contributor(s):#   Ben Goodger <ben@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 gChangeActionDialog = {  _item             : null,  _bundle           : null,  _lastSelectedMode : null,  _lastSelectedSave : null,  init: function ()  {    this._item = window.arguments[0];    this._bundle = document.getElementById("bundlePreferences");        var typeField = document.getElementById("typeField");    typeField.value = this._item.typeName;        var extensionField = document.getElementById("extensionField");    var ext = "." + this._item.extension.toLowerCase();    var contentType = this._item.type;    extensionField.value = this._bundle.getFormattedString("extensionStringFormat", [ext, contentType]);        var typeIcon = document.getElementById("typeIcon");    typeIcon.src = this._item.bigIcon;    // Custom App Handler Path - this must be set before we set the selected    // radio button because the selection event handler for the radio group    // requires the extapp handler field to be non-empty for the extapp radio    // button to be selected.     var customApp = document.getElementById("customApp");    if (this._item.customHandler)      customApp.file = this._item.customHandler;    else      customApp.file = null;    var defaultApp = document.getElementById("defaultApp");    var defaultAppIcon = null;    var fallbackIconURL = "moz-icon://goat?contentType=" + this._item.type + "&size=16";    if (this._item.mimeInfo instanceof Components.interfaces.nsIPropertyBag) {      try {        defaultAppIcon = this._item.mimeInfo.getProperty("defaultApplicationIconURL");      }      catch (e) { }      if (defaultAppIcon)        defaultAppIcon += "?size=16";    }    defaultApp.image = defaultAppIcon || fallbackIconURL;    defaultApp.label = this._item.mimeInfo.defaultDescription;         // Selected Action Radiogroup    var handlerGroup = document.getElementById("handlerGroup");    if (this._item.handleMode == FILEACTION_OPEN_DEFAULT)      handlerGroup.selectedItem = document.getElementById("openDefault");    else if (this._item.handleMode == FILEACTION_SAVE_TO_DISK)      handlerGroup.selectedItem = document.getElementById("saveToDisk");    else      handlerGroup.selectedItem = document.getElementById("openApplication");    this._lastSelectedMode = handlerGroup.selectedItem;        // Figure out the last selected Save As mode    var saveToOptions = document.getElementById("saveToOptions");    this._lastSelectedSave = saveToOptions.selectedItem;    // We don't let users open .exe files or random binary data directly     // from the browser at the moment because of security concerns.     var mimeType = this._item.mimeInfo.MIMEType;    if (mimeType == "application/object-stream" ||        mimeType == "application/x-msdownload") {      document.getElementById("openApplication").disabled = true;      document.getElementById("openDefault").disabled = true;      handlerGroup.selectedItem = document.getElementById("saveToDisk");    }  },    onAccept: function ()  {    var contentType = this._item.mimeInfo.MIMEType;    var handlerGroup = document.getElementById("handlerGroup");    switch (handlerGroup.selectedItem.value) {    case "system":      this._item.handledOnlyByPlugin = false;      this._item.handleMode = FILEACTION_OPEN_DEFAULT;      var defaultDescr = this._item.mimeInfo.defaultDescription;      this._item.action = this._bundle.getFormattedString("openWith", [defaultDescr]);      break;    case "app":      this._item.handledOnlyByPlugin = false;      this._item.handleMode = FILEACTION_OPEN_CUSTOM;      var customApp = document.getElementById("customApp");      this._item.action = this._bundle.getFormattedString("openWith", [customApp.label]);              break;      case "save":      this._item.handledOnlyByPlugin = false;      this._item.handleMode = FILEACTION_SAVE_TO_DISK;      this._item.action = this._bundle.getString("saveToDisk");      break;      }        // The opener uses the modifications to the FileAction item to update the    // datasource.    return true;  },    doEnabling: function (aSelectedItem)  {    var defaultApp            = document.getElementById("defaultApp");    var saveToDefault         = document.getElementById("saveToDefault");    var saveToCustom          = document.getElementById("saveToCustom");    var customDownloadFolder  = document.getElementById("customDownloadFolder");    var chooseCustomDownloadFolder = document.getElementById("chooseCustomDownloadFolder");    var saveToAskMe           = document.getElementById("saveToAskMe");    var changeApp             = document.getElementById("changeApp");    var customApp             = document.getElementById("customApp");        switch (aSelectedItem.id) {    case "openDefault":      changeApp.disabled = customApp.disabled = saveToDefault.disabled = saveToCustom.disabled = customDownloadFolder.disabled = chooseCustomDownloadFolder.disabled = saveToAskMe.disabled = true;      defaultApp.disabled = false;      break;    case "openApplication":      defaultApp.disabled = saveToDefault.disabled = saveToCustom.disabled = customDownloadFolder.disabled = chooseCustomDownloadFolder.disabled = saveToAskMe.disabled =  true;      changeApp.disabled = customApp.disabled = false;      if (!customApp.file && !this.changeApp()) {        this._lastSelectedMode.click();        return;      }      break;    case "saveToDisk":      changeApp.disabled = customApp.disabled = defaultApp.disabled = true;      var saveToOptions = document.getElementById("saveToOptions");      customDownloadFolder.disabled = chooseCustomDownloadFolder.disabled = !(saveToOptions.selectedItem.id == "saveToCustom");      saveToDefault.disabled = saveToCustom.disabled = saveToAskMe.disabled = false;      break;    }    this._lastSelectedMode = aSelectedItem;  },    doSaveToDiskEnabling: function (aSelectedItem)  {    var isSaveToCustom = aSelectedItem.id == "saveToCustom";    var customDownloadFolder = document.getElementById("customDownloadFolder");    var chooseCustomDownloadFolder = document.getElementById("chooseCustomDownloadFolder");    chooseCustomDownloadFolder.disabled = customDownloadFolder.disabled = !isSaveToCustom;        if (isSaveToCustom &&         !customDownloadFolder.file && !this.changeCustomFolder()) {      this._lastSelectedSave.click();      return;    }    this._lastSelectedSave = aSelectedItem;  },    changeApp: function ()  {    const nsIFilePicker = Components.interfaces.nsIFilePicker;    var fp = Components.classes["@mozilla.org/filepicker;1"]                       .createInstance(nsIFilePicker);    var winTitle = this._bundle.getString("fpTitleChooseApp");    fp.init(window, winTitle, nsIFilePicker.modeOpen);    fp.appendFilters(nsIFilePicker.filterApps);    if (fp.show() == nsIFilePicker.returnOK && fp.file) {      var customApp = document.getElementById("customApp");      customApp.file = fp.file;      this._item.customHandler = fp.file;            return true;    }    return false;  },    changeCustomFolder: function ()  {    const nsIFilePicker = Components.interfaces.nsIFilePicker;    var fp = Components.classes["@mozilla.org/filepicker;1"]                       .createInstance(nsIFilePicker);    // extract the window title    var winTitle = this._bundle.getString("fpTitleChooseDL");    fp.init(window, winTitle, nsIFilePicker.modeGetFolder);    if (fp.show() == nsIFilePicker.returnOK && fp.file) {      var customDownloadFolder = document.getElementById("customDownloadFolder");      customDownloadFolder.file = fp.file;      customDownloadFolder.label = fp.file.path;      return true;    }    return false;  },};

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久综合久久久久88| 极品美女销魂一区二区三区免费| 91视频观看免费| 视频在线观看一区| 国产日产欧美精品一区二区三区| 成人av资源站| 麻豆国产91在线播放| 最新国产の精品合集bt伙计| 777色狠狠一区二区三区| 成人性生交大片免费看视频在线| 石原莉奈一区二区三区在线观看| 国产欧美日韩精品a在线观看| 欧美日韩一区二区三区在线看| 国产传媒日韩欧美成人| 日韩电影在线看| 亚洲精品成人在线| 国产精品久线观看视频| 久久久www免费人成精品| 91精品国产美女浴室洗澡无遮挡| 91精彩视频在线观看| k8久久久一区二区三区| 国产91精品精华液一区二区三区| 蜜臀精品一区二区三区在线观看 | 亚洲欧美另类图片小说| 日韩三级高清在线| 欧美日韩国产一级| 欧美亚洲国产bt| 欧美日本一道本| 精品视频在线免费观看| 欧美性感一区二区三区| 欧美在线你懂得| 56国语精品自产拍在线观看| 欧美日韩成人激情| 欧美一级国产精品| 久久综合狠狠综合久久激情 | 国产在线一区二区| 韩国成人福利片在线播放| 国产一区二区网址| 成人高清av在线| 欧美综合久久久| 欧美一区二区三区不卡| 精品少妇一区二区三区免费观看| 欧美激情一区二区三区在线| 综合欧美一区二区三区| 日韩精品一区第一页| 韩国欧美国产1区| 91极品美女在线| 精品1区2区在线观看| 亚洲精品免费电影| 精品一区二区在线播放| 成人丝袜视频网| 欧美肥妇毛茸茸| 国产精品久线在线观看| 日本在线不卡视频| 91丨porny丨户外露出| 精品久久久久久久久久久久久久久久久 | 欧美亚洲一区二区三区四区| 日韩精品一区二区三区在线 | 欧美日韩国产综合一区二区三区| 日韩一区二区在线观看视频| 中文字幕亚洲一区二区av在线| 日韩成人免费看| 欧美在线一区二区三区| 综合电影一区二区三区| 国产精品一区三区| 日韩欧美一区二区免费| 亚洲成人午夜影院| 在线一区二区三区四区五区| 亚洲欧洲日韩在线| 久久66热偷产精品| 欧美成人性福生活免费看| 亚洲成人一区二区在线观看| 91视频精品在这里| 一区二区在线看| 91免费视频观看| 一区二区三区免费观看| 91在线观看下载| 亚洲激情六月丁香| 色综合久久综合网97色综合| 亚洲视频一二三| 欧美日韩国产首页| 日本vs亚洲vs韩国一区三区| 日韩一区二区免费视频| 精品亚洲成a人| 国产精品欧美一级免费| 97精品国产露脸对白| 亚洲一区二区偷拍精品| 欧美日韩国产色站一区二区三区| 美女性感视频久久| 国产婷婷一区二区| 91久久精品日日躁夜夜躁欧美| 亚洲综合另类小说| 精品少妇一区二区三区在线播放| 国产精品自产自拍| 亚洲一区在线电影| 精品对白一区国产伦| 91美女在线观看| 青草国产精品久久久久久| 久久精品国产99国产精品| 在线不卡欧美精品一区二区三区| 午夜久久久久久久久| 国产欧美一区二区三区在线看蜜臀 | 日韩精品一区二区三区在线播放 | 欧美乱妇23p| 国产成人在线视频网址| 一级日本不卡的影视| 久久一夜天堂av一区二区三区| 91亚洲精品一区二区乱码| 午夜欧美2019年伦理| 中文字幕一区在线观看| 欧美夫妻性生活| 色94色欧美sute亚洲线路二| 国产剧情一区二区三区| 奇米四色…亚洲| 亚洲一线二线三线久久久| 久久综合久久综合亚洲| 欧美久久一二三四区| 99国产精品久久久| 国产999精品久久久久久绿帽| 婷婷开心激情综合| 亚洲一级片在线观看| 国产精品美女久久久久高潮| 精品少妇一区二区三区免费观看| 在线播放日韩导航| 欧美日韩视频不卡| 欧美美女一区二区| 欧美视频第二页| 欧美日韩国产首页| 欧美精品一级二级三级| 欧美精品xxxxbbbb| 欧美一级高清片| 欧美不卡一二三| 精品久久久久久亚洲综合网| 日本丰满少妇一区二区三区| 美女尤物国产一区| 精品一区二区综合| 国产·精品毛片| 9i在线看片成人免费| 99久久精品99国产精品| 在线视频亚洲一区| 欧美精选在线播放| www国产成人免费观看视频 深夜成人网| 91精品国产一区二区| 亚洲精品一区二区三区福利| 国产欧美一区二区精品忘忧草| 国产精品三级av| 日韩黄色片在线观看| 国产精品一区二区在线观看不卡| av一二三不卡影片| 欧美精品自拍偷拍| 国产精品久久久爽爽爽麻豆色哟哟 | 精品剧情在线观看| 成人免费在线观看入口| 免费成人美女在线观看.| 国产91精品免费| 欧美丰满高潮xxxx喷水动漫| 日本一区二区三区国色天香| 一区二区三区免费看视频| 狠狠狠色丁香婷婷综合激情| 99久久精品久久久久久清纯| 欧美一区二区高清| 亚洲黄色av一区| 风流少妇一区二区| 精品久久人人做人人爰| 一区二区三国产精华液| 播五月开心婷婷综合| 精品国产sm最大网站免费看| 日韩国产欧美一区二区三区| 色播五月激情综合网| 中文字幕亚洲在| 成人av在线播放网址| 久久综合九色综合97婷婷| 美国精品在线观看| 欧美日韩国产影片| 日韩精品91亚洲二区在线观看| 欧洲亚洲精品在线| 亚洲综合自拍偷拍| 欧美视频在线观看一区| ㊣最新国产の精品bt伙计久久| 国产制服丝袜一区| 欧美日韩色综合| 日本色综合中文字幕| 欧美精品久久99久久在免费线 | 一区二区三区在线看| 色94色欧美sute亚洲线路一久 | 99这里只有久久精品视频| 国产欧美一区二区精品久导航 | 精品视频一区二区三区免费| 亚洲网友自拍偷拍| 欧美一区二区免费观在线| 男男视频亚洲欧美| 国产色婷婷亚洲99精品小说| 成人午夜激情影院| 亚洲成av人片在线观看| 欧美一区二区三区视频| 国产精品一区二区久激情瑜伽| 国产欧美一区二区三区网站| 91成人在线精品| 在线看不卡av| 日韩福利视频网|