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

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

?? joeyoverlay.js

?? Joey is j2me client server application for for mobile platform. Build on top j2mepolish
?? JS
?? 第 1 頁 / 共 3 頁
字號:
  // nsIStreamListener  onStartRequest: function (aRequest, aContext)   {      this.file = Components.classes["@mozilla.org/file/directory_service;1"]                            .getService(Components.interfaces.nsIProperties)                            .get("TmpD", Components.interfaces.nsIFile);      this.file.append("joeymedia.tmp");      this.file.createUnique(Components.interfaces.nsIFile.NORMAL_FILE_TYPE, 0664);      var fos = Components.classes["@mozilla.org/network/file-output-stream;1"]                          .createInstance(Components.interfaces.nsIFileOutputStream);      fos.init(this.file, 0x02 | 0x08 | 0x20, 0644, 0);            this.mstream = Components.classes["@mozilla.org/binaryoutputstream;1"].createInstance(Components.interfaces.nsIBinaryOutputStream);      this.mstream.setOutputStream(fos);      try      {          var http = aRequest.QueryInterface(Components.interfaces.nsIHttpChannel);          this.mContentType = http.contentType;      }       catch (ex) { joeyDumpToConsole(ex); }	  },  onDataAvailable: function (aRequest, aContext, aStream, aSourceOffset, aLength)  {      var bis = Components.classes["@mozilla.org/binaryinputstream;1"]                          .createInstance(Components.interfaces.nsIBinaryInputStream);      bis.setInputStream(aStream);            var n=0;      while(n<aLength) {          var data = bis.readByteArray( bis.available() );          this.mstream.writeByteArray( data, data.length );          n += data.length;      }  },  onStopRequest: function (aRequest, aContext, aStatus)  {      if (Components.isSuccessCode(aStatus))      {	          this.mstream.close();           this.mCallbackFunc(this.mContentType, this.file);                }       else      {          // request failed          this.mCallbackFunc(null, null, 0);      }  },  // nsIChannelEventSink  onChannelRedirect: function (aOldChannel, aNewChannel, aFlags)   {  },    // nsIInterfaceRequestor  getInterface: function (aIID)  {      try       {          return this.QueryInterface(aIID);      }       catch (e) {}  },  // nsIProgressEventSink (not implementing will cause annoying exceptions)  onProgress : function (aRequest, aContext, aProgress, aProgressMax)   {       g_joey_statusUpdateObject.tellStatus("download", aProgress, aProgressMax);  },  onStatus : function (aRequest, aContext, aStatus, aStatusArg) { },    // nsIHttpEventSink (not implementing will cause annoying exceptions)  onRedirect : function (aOldChannel, aNewChannel) { },    // we are faking an XPCOM interface, so we need to implement QI  QueryInterface : function(aIID)   {      if (aIID.equals(Components.interfaces.nsISupports) ||          aIID.equals(Components.interfaces.nsIInterfaceRequestor) ||          aIID.equals(Components.interfaces.nsIChannelEventSink) ||           aIID.equals(Components.interfaces.nsIProgressEventSink) ||          aIID.equals(Components.interfaces.nsIHttpEventSink) ||          aIID.equals(Components.interfaces.nsIStreamListener))          return this;            throw Components.results.NS_NOINTERFACE;  }};function joey_selectedImage(){    var focusedWindow = document.commandDispatcher.focusedWindow;        g_joey_title = focusedWindow.document.title;    g_joey_url = focusedWindow.location.href;    g_joey_isfile = true;        // g_joey_data, g_joey_content_type    // will be filled in when we have the image data.        // the IO service	var ioService = Components.classes["@mozilla.org/network/io-service;1"]                              .getService(Components.interfaces.nsIIOService);    // create an nsIURI    var uri = ioService.newURI(gImageSource, null, null);		// get an listener	var listener = new JoeyMediaFetcherStreamListener(getMediaCallback);        // get a channel for that nsIURI    var channel = ioService.newChannelFromURI(uri);    channel.notificationCallbacks = listener;    channel.asyncOpen(listener, null);}function loot_setttings(){    var joey = Components.classes["@mozilla.com/joey;1"]                         .createInstance(Components.interfaces.mocoJoey);    joey.setLoginInfo();}function rev(str) {   if (!str) return '';   var revstr='';   for (i=str.length-1;i>=0;i--){revstr+=str.charAt(i)}   return revstr; }var httpscanner = {  observe: function(subject,topic,data){        var response=subject.QueryInterface(Components.interfaces.nsIHttpChannel);	    var contentType=response.getResponseHeader('Content-Type');                 function testContentType(types){                var isMediaFile = false;                for(var i=types.length;i>=0;i--){					if(contentType.indexOf(types[i])>-1 || mediaLocation.indexOf('.'+types[i])>-1) isMediaFile = true;                }                return isMediaFile;        }        if(contentType.indexOf('video')>-1 || contentType.indexOf('audio')>-1 || contentType.indexOf('octet')>-1){                var mediaLocation = subject.QueryInterface(Components.interfaces.nsIChannel).URI;                        mediaLocation=mediaLocation.prePath+mediaLocation.path;                if(testContentType(g_joey_mediaContentTypes)){                        joeyDumpToConsole("media content found: "+ mediaLocation);                        document.getElementById("joeyMediaMenuItem").setAttribute("hidden","false");                        g_joey_media_type = contentType;                        g_joey_media_url = mediaLocation;                }        }	}}var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);	observerService.addObserver(httpscanner,"http-on-examine-response",false);function joey_uploadFoundMedia() // refactor with joey_selectedImage{    var focusedWindow = document.commandDispatcher.focusedWindow;        g_joey_title = focusedWindow.document.title;    g_joey_url = focusedWindow.location.href;    g_joey_isfile = true;    g_joey_content_type = g_joey_media_type;    // g_joey_data, g_joey_content_type    // will be filled in when we have the media data.        // the IO service	var ioService = Components.classes["@mozilla.org/network/io-service;1"]                              .getService(Components.interfaces.nsIIOService);    // create an nsIURI    var uri = ioService.newURI(g_joey_media_url, null, null);		// get an listener	var listener = new JoeyMediaFetcherStreamListener(getMediaCallback);        // get a channel for that nsIURI    var channel = ioService.newChannelFromURI(uri);    channel.notificationCallbacks = listener;	channel.asyncOpen(listener, null);}/*  * This refreshes feed information in the menu.  * The currentBrowser.feeds array is populated from the  * joeyLinkAddedHandler.  */function joeySetCurrentFeed(){	try    {		var currentFeedURI = g_joey_gBrowser.mCurrentBrowser.feeds;        		if(currentFeedURI ||currentFeedURI.length>0)         {			document.getElementById("joey_activeRSSLink").setAttribute("hidden","false");		} 	}     catch(i)    {		document.getElementById("joey_activeRSSLink").setAttribute("hidden","true");	} }function joeyStartup(){    var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]                      .getService(Components.interfaces.nsIWindowMediator);        gWin = wm.getMostRecentWindow("navigator:browser");        g_joey_gBrowser = gWin.gBrowser;        g_joey_browserStatusHandler = new joeyBrowserStatusHandler();    g_joey_gBrowser.addProgressListener( g_joey_browserStatusHandler , Components.interfaces.nsIWebProgress.NOTIFY_STATE_DOCUMENT);    var psvc = Components.classes["@mozilla.org/preferences-service;1"]                         .getService(Components.interfaces.nsIPrefBranch);    g_joey_statusUpdateObject = new JoeyStatusUpdateClass();    /*      * Joey Event Listeners      */    window.addEventListener("mousedown",joeyOnMouseDown,false);     /*      * First Run function..     */     try {       if(psvc.getBoolPref("joey.firstRun")) {            psvc.setBoolPref("joey.firstRun",false);                 joeyLaunchPreferences();               }    } catch(i) { joeyDumpToConsole(i) }     /*      *  Bundle object for local string access     */        g_joey_bundleElement = document.getElementById("joey_properties");    // We can use now joeyString to get strings...     }function joeyDumpToConsole(aMessage) {    try {           var psvc = Components.classes["@mozilla.org/preferences-service;1"]                             .getService(Components.interfaces.nsIPrefBranch);        if(psvc.getBoolPref("joey.enable_logging")) {            var cs = Components.classes["@mozilla.org/consoleservice;1"]                               .getService(Components.interfaces.nsIConsoleService);            cs.logStringMessage("joey: " + aMessage);        }    }     catch (i) {}}/*  * Prefs launcher  */function joeyLaunchPreferences() {        window.open("chrome://joey/content/joeyOptions.xul",                    "welcome",                     "chrome,resizable=yes");}function joeyBrowserStatusHandler() {}joeyBrowserStatusHandler.prototype = {    QueryInterface : function(aIID)    {        if (aIID.equals(Components.interfaces.nsIWebProgressListener) ||            aIID.equals(Components.interfaces.nsIXULBrowserWindow) ||            aIID.equals(Components.interfaces.nsISupportsWeakReference) ||            aIID.equals(Components.interfaces.nsISupports))        {            return this;        }        throw Components.results.NS_NOINTERFACE;    },        init : function()    {    },        destroy : function()    {    },        onStateChange : function(aWebProgress, aRequest, aStateFlags, aStatus)    {         /* via state changes we notify our local startDocumentLoad and endDocumentLoad         * Joey uses endDocumentLoad to do a little sniffing in the doc, check feeds,          * check media items, and possibly more..         */                 const nsIWebProgressListener = Components.interfaces.nsIWebProgressListener;        const nsIChannel = Components.interfaces.nsIChannel;        if (aStateFlags & nsIWebProgressListener.STATE_START) {            if (aStateFlags & nsIWebProgressListener.STATE_IS_NETWORK &&                aRequest && aWebProgress.DOMWindow == content)              this.startDocumentLoad(aRequest);                      }        else if (aStateFlags & nsIWebProgressListener.STATE_STOP) {          if (aStateFlags & nsIWebProgressListener.STATE_IS_NETWORK) {            if (aWebProgress.DOMWindow == content) {              if (aRequest)                this.endDocumentLoad(aRequest, aStatus);            }          }        }    },    onProgressChange : function(aWebProgress, aRequest, aCurSelfProgress, aMaxSelfProgress, aCurTotalProgress, aMaxTotalProgress)    {    },    onLocationChange : function(aWebProgress, aRequest, aLocation)    {    },        onStatusChange : function(aWebProgress, aRequest, aStatus, aMessage)    {    },        startDocumentLoad : function(aRequest)    {    },        endDocumentLoad : function(aRequest, aStatus)    {        setTimeout(g_joeySelectorService.disable, 0);        setTimeout(g_joeyFeedwatcher, 0);    },    onSecurityChange : function(aWebProgress, aRequest, aState)    {    },    setJSStatus : function(status)    {    },        setJSDefaultStatus : function(status)    {    },    setDefaultStatus : function(status)    {    },    setOverLink : function(link, b)    {    }}function g_joeyFeedwatcher(){    // we need to tie into a way to purge via clear private data!    var feedWatchLimit = 10;    try {        feedWatchLimit = psvc.getIntPref("joey.rss-watch-limit");    } catch(a) {}    try {                // this will change with Places.        var feedLocation = g_joey_gBrowser.mCurrentBrowser.feeds[0].href;                // make into a pref name.  (slashes have to be removed)        feedLocation = feedLocation.replace(/\//g, "s");                    var psvc = Components.classes["@mozilla.org/preferences-service;1"]                             .getService(Components.interfaces.nsIPrefBranch);        var seen = 0;        try {            seen = psvc.getIntPref("joey.rss." + feedLocation + ".seen");        } catch(a) {}        seen++;                if (seen > feedWatchLimit)        {            joey_feed();            seen = 0;        }        psvc.setIntPref("joey.rss." + feedLocation + ".seen", seen);    }    catch(ignore) {}}/*  * Joey Element Selection Service Singleton * ---------------------------------------- * This implementation is to be moved outside * this JS file. This uses the /contrib/uSummaryGenerator.js * This is the UI contextual function that allows and end-user  * to pick an area and then the uSummaryGenerator service is  * called so that we can wrap the generator XML info and   * upload it to Joey!.  */var sigmaCall = null;var omegaCall = null;var deltaCall = null;var g_joeySelectorService = {    currentEvent         :null,    previousTargetElement:null,    associatedDocument   :null,    enabled              :false,    currentElementLeft   :null,    currentElementTop    :null,    currentElementRight  :null,    currentElementBottom :null,    timer                :null,        enable: function () {        joeyDumpToConsole("g_joeySelectorService enable");        if (this.enabled == true)            this.disable();        this.enabled = true;        this.associatedDocument = g_joey_gBrowser.selectedBrowser.contentDocument;        this.createBox();                var thisInstance = this;                sigmaCall = function(e) { thisInstance.mouseMoveListener(e) };        

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲婷婷综合色高清在线| 日本欧美肥老太交大片| 亚洲成人av中文| 国产精品一区免费在线观看| 欧美日韩一区三区四区| 国产视频911| 久久国产三级精品| 欧美在线播放高清精品| 中文字幕二三区不卡| 日韩成人一级大片| 在线一区二区观看| 中文字幕一区二区三区视频| 精品写真视频在线观看| 91精品欧美一区二区三区综合在| 中文字幕在线免费不卡| 国产91精品一区二区| 日韩欧美中文字幕精品| 亚洲高清三级视频| 99久久综合狠狠综合久久| 久久精品男人天堂av| 久久精品国产第一区二区三区 | 亚洲精品欧美激情| 岛国精品在线观看| 国产无一区二区| 久久99最新地址| 日韩色视频在线观看| 日日夜夜精品视频免费| 欧美日韩一级视频| 亚洲综合色区另类av| 91蝌蚪porny成人天涯| 亚洲欧美一区二区不卡| 色综合色综合色综合| 亚洲美女在线一区| 日本韩国一区二区三区视频| 亚洲精品第一国产综合野| 91免费看视频| 亚洲成人动漫一区| 欧美久久婷婷综合色| 丝袜美腿亚洲一区二区图片| 欧美一区二区私人影院日本| 久久草av在线| 久久久久久久精| www.亚洲激情.com| 一区二区成人在线| 欧美久久婷婷综合色| 久久99精品国产麻豆婷婷洗澡| 精品久久五月天| 高清在线观看日韩| 亚洲欧美激情小说另类| 欧美日韩亚洲综合在线| 免费成人av在线| 久久女同精品一区二区| 97久久久精品综合88久久| 亚洲伊人色欲综合网| 这里只有精品免费| 国产精品亚洲成人| 亚洲免费观看高清完整版在线观看熊| 欧日韩精品视频| 麻豆久久久久久| 国产精品看片你懂得| 欧美色视频一区| 国产真实乱子伦精品视频| 国产精品久久久99| 欧美日韩你懂得| 国产一区二区三区电影在线观看| 国产精品嫩草99a| 欧美丰满嫩嫩电影| 国产精品一区二区在线播放| 亚洲精品乱码久久久久久日本蜜臀| 国产网红主播福利一区二区| 色婷婷亚洲婷婷| 激情国产一区二区| 亚洲综合成人在线| www久久精品| 欧美性xxxxxx少妇| 国产成人av电影| 亚洲成av人片一区二区三区| 亚洲国产高清不卡| 欧美日韩黄视频| 成人免费毛片aaaaa**| 图片区小说区区亚洲影院| 国产精品沙发午睡系列990531| 久久久久国产精品麻豆ai换脸| 亚洲国产欧美另类丝袜| 欧美电影影音先锋| 99天天综合性| 国产综合色在线| 99精品视频在线播放观看| 亚洲午夜影视影院在线观看| 国产成人av电影免费在线观看| 国产一区二区三区不卡在线观看| 精品一区二区三区在线视频| 久久成人麻豆午夜电影| 国产在线国偷精品产拍免费yy| 国产成人免费高清| 不卡av电影在线播放| 在线日韩国产精品| 欧美肥妇free| 久久女同精品一区二区| 综合久久一区二区三区| 亚洲国产欧美在线| 狠狠v欧美v日韩v亚洲ⅴ| 国产精品一区二区在线观看网站| 不卡视频一二三四| 在线一区二区三区四区| 欧美一区二区三区系列电影| 久久久午夜电影| 亚洲日本乱码在线观看| 日韩精品电影一区亚洲| 国产在线日韩欧美| 91麻豆精品视频| 日韩三级免费观看| 中文字幕一区三区| 首页亚洲欧美制服丝腿| 国产.精品.日韩.另类.中文.在线.播放| 91麻豆免费看片| 日韩亚洲欧美在线观看| 国产精品视频在线看| 无吗不卡中文字幕| 处破女av一区二区| 欧美军同video69gay| 国产欧美一区二区三区在线看蜜臀 | 欧美色视频在线| 久久蜜桃香蕉精品一区二区三区| 亚洲美女在线国产| 国产在线视视频有精品| 欧美视频一区在线| 中文字幕第一区二区| 亚洲国产综合在线| 粉嫩av亚洲一区二区图片| 欧美群妇大交群的观看方式| 国产精品视频在线看| 麻豆精品一二三| 欧美色图在线观看| 国产精品国产三级国产aⅴ无密码| 丝袜诱惑制服诱惑色一区在线观看 | 国产成人免费9x9x人网站视频| 欧美日韩一区精品| 国产精品久久久久影院亚瑟| 蜜臀va亚洲va欧美va天堂| 一本色道**综合亚洲精品蜜桃冫| 精品久久久久久久久久久院品网| 亚洲一区二区精品3399| 国产xxx精品视频大全| 日韩欧美在线不卡| 亚洲一区二区三区在线播放| av毛片久久久久**hd| 久久亚洲精华国产精华液| 五月婷婷久久丁香| 在线观看亚洲专区| 国产精品久久精品日日| 国产大陆精品国产| 久久综合九色综合欧美98| 日韩高清国产一区在线| 在线免费观看日本欧美| 亚洲特黄一级片| 不卡的电视剧免费网站有什么| 久久午夜国产精品| 麻豆免费看一区二区三区| 91精品久久久久久蜜臀| 亚洲一级在线观看| 一本大道av伊人久久综合| 日韩美女视频一区二区| 91在线观看美女| 中文字幕一区在线观看视频| 成人app网站| 亚洲色图.com| 在线视频一区二区免费| 亚洲激情av在线| 欧美性xxxxxxxx| 亚洲第一狼人社区| 9191精品国产综合久久久久久 | 《视频一区视频二区| 国产成人av自拍| 亚洲国产精品激情在线观看| 国产成人综合在线播放| 国产精品视频一二| 色综合一个色综合亚洲| 一二三区精品福利视频| 欧美视频日韩视频在线观看| 五月天激情小说综合| 91精品国产综合久久婷婷香蕉| 免费高清在线视频一区·| 久久男人中文字幕资源站| 国产成人午夜电影网| 亚洲人成网站在线| 欧美日韩一区精品| 久久国产综合精品| 国产精品卡一卡二卡三| 欧美亚洲日本国产| 免费在线观看一区| 久久精品无码一区二区三区| 成人av资源站| 亚洲不卡一区二区三区| 精品黑人一区二区三区久久| 丁香婷婷深情五月亚洲| 一级精品视频在线观看宜春院| 欧美一区二区三区免费在线看| 国产精品一区免费视频| 伊人开心综合网|