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

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

?? airintrospector.js

?? 當前比較流行的,漂亮的JS框架,這里面用到的API文檔
?? JS
?? 第 1 頁 / 共 5 頁
字號:
                        	air.Introspector.highlightElement(e.srcElement);
							air.Introspector.showHighlightLabels(e.srcElement.id, e.srcElement.nodeName, e.srcElement.outerHTML);
						}else{
							air.Introspector.highlightElement(e.srcElement, function(){
								air.Introspector.noBridge(function(){
									parentSandboxBridge.air_Introspector_showHighlightLabels(e.srcElement.id, e.srcElement.nodeName, e.srcElement.outerHTML);								
								});
							});							
						}
						if(hoverTimeout) clearTimeout(hoverTimeout);
						hoverTimeout = setTimeout(function(){
	                        air.Introspector.init(false, true, function (){
								air.Introspector.debugWindow.setInspectElement(e.srcElement);
							});
						}, 100); 
                    }else{
                        air.Introspector.hideHighlight();
                    }
				}, 0);
             }else if(isAppSandbox){
						air.Introspector.lastElement = e.srcElement;
			 }

           }, true);

		//document.body.addEventListener('mouseout', function(e){
		//		air.Introspector.hideHighlight();
        //});
	},
	
	/**
	*	@function cleanup
	*	@description Cleans up the html loader
	*
	*/
    cleanup: function(){
			for(var i=eventListeners.length-1;i>=0;i--){
				var l = eventListeners[i];
				try{
					l[0].removeEventListener(l[1], l[2], l[3]);	
				}catch(e){}
			}
			eventListeners = [];
			try{
		    	window.htmlLoader.stage.removeChild(air.Introspector.highlightText); 
			}catch(e){}	    
	},
	
	/**
	*	@function register
	*	@description Registers current window in debugger
	*
	*	Captures every XHR object created and any uncaught exception 
	*	and sends it to the debugger
	*/
    register: function(){
    	
    	if (window.XMLHttpRequest && window.XMLHttpRequest.prototype){
                    window.XMLHttpRequest.prototype.debugopen = window.XMLHttpRequest.prototype.open;
					window.XMLHttpRequest.prototype.debugsend = window.XMLHttpRequest.prototype.send;
                    window.XMLHttpRequest.prototype.open = function(method, url, asyncFlag, username, password){
						if(typeof this.doNotDebug=='undefined'){
	                   	    var debugWindow = air.Introspector.findDebugWindow();
			                if(debugWindow!=null){
								debugWindow.logNet(this, method, url, asyncFlag);
			                }
						}
                        return this.debugopen(method, url, asyncFlag, username, password);
                    };
					window.XMLHttpRequest.prototype.send = function(obj){
						if(typeof this.doNotDebug=='undefined'){
	                	    var self = this;
							var debugWindow = air.Introspector.findDebugWindow();
				            if(debugWindow!=null){
						        	var a = this.onreadystatechange;
		                            this.onreadystatechange = function(){
		                            	 if (typeof a == 'function')a.call(self);
		                            	 	debugWindow.logNet(self, 'unknown', '', false);
				                    };
								if(typeof self.doNotDebug=='undefined')
		                           	 debugWindow.logNetSend(this, obj);
			                }
	                        var ret = this.debugsend(obj);
							if(debugWindow!=null){
									debugWindow.logNetSend(this, obj);
							}
							return ret;
						}else{
	                        return this.debugsend(obj);
						}
						
					}
        }

		if(isAppSandbox){  
				air.Introspector.addKeyboardEvents(window.htmlLoader.stage);
				air.Introspector.registerUncaughtExceptionListener();
				air.Introspector.registerCloseEventListener();
				air.Introspector.registerCompleteEventListener();
	        	air.Introspector.registerDeactivateEventListener();
	 		    air.Introspector.createHighlight();
			}else{
				air.Introspector.registerChildSandboxBridge();
			}
			air.Introspector.waitForBody(document, function(){
		        try{
					if(!isAppSandbox){ air.Introspector.createOpenConsoleButton(); }
					air.Introspector.registerDOMEventListeners();
					window.addEventListener('unload', function(){
						try{
							air.Introspector.cleanup();
							if(!isAppSandbox){
								//our debugger can NOT live without it's parent
								air.Introspector.debugWindow.window.close();
							}
						}catch(e){  }
					});
				}catch(e){
					if(isAppSandbox){ 
						runtime.trace(e);
		            	runtime.trace(e.line);
					}
					air.Introspector.Console.log(e);
            	}
	     });

	
    },


	/**
	*	@function registerFrame
	*	@description Makes the parentSandboxBridge available to frame 
	*/
	registerFrame: function(frame){
		if(typeof frame.contentWindow.parentSandboxBridge=='undefined')
			frame.contentWindow.parentSandboxBridge = {};
			
		/*frame.contentWindow.parentSandboxBridge.trace = function(a){
			runtime.trace(a);
		};*/
		//checking that the bridge is not already there
		/*var modified = typeof frame.contentWindow.parentSandboxBridge.air_Introspector_hideHighlight=='undefined'
			|| typeof frame.contentWindow.parentSandboxBridge.air_Introspector_showHighlight=='undefined'
			|| typeof frame.contentWindow.parentSandboxBridge.air_Introspector_drawRect=='undefined'
			|| typeof frame.contentWindow.parentSandboxBridge.air_Introspector_setInspect=='undefined'
			|| typeof frame.contentWindow.parentSandboxBridge.air_Introspector_getWindowTitle=='undefined'
			|| typeof frame.contentWindow.parentSandboxBridge.air_Introspector_checkNativeWindow=='undefined'
			|| typeof frame.contentWindow.parentSandboxBridge.air_Introspector_writeConsoleToClipboard=='undefined'
			|| typeof frame.contentWindow.parentSandboxBridge.air_Introspector_writeConsoleToFile=='undefined'
			|| typeof frame.contentWindow.parentSandboxBridge.air_Introspector_writeConfigFile=='undefined'
			|| typeof frame.contentWindow.parentSandboxBridge.air_Introspector_readConfigFile=='undefined'
			|| typeof frame.contentWindow.parentSandboxBridge.air_Introspector_showHighlightLabels=='undefined'
			|| typeof frame.contentWindow.parentSandboxBridge.air_Introspector_getFrameId=='undefined';*/
		
		frame.contentWindow.parentSandboxBridge.air_Introspector_hideHighlight = function(){
				air.Introspector.hideHighlight();
		};
			
		frame.contentWindow.parentSandboxBridge.air_Introspector_showHighlight = function(rect){
				air.Introspector.showHighlight(rect);
		};
			
		frame.contentWindow.parentSandboxBridge.air_Introspector_drawRect = function(rect, tagName){
				var frameRect = air.Introspector.getBorderBox(frame);
				var blw = air.Introspector.getIntProp(frame, "border-left-width");
                var btw = air.Introspector.getIntProp(frame, "border-top-width");
				if(frameRect==null) return;
				rect.x+=frameRect.x+2*blw;
				rect.y+=frameRect.y+2*btw;
				air.Introspector.drawRect(rect, tagName);
		};

		frame.contentWindow.parentSandboxBridge.air_Introspector_setInspect = function(enabled){
				air.Introspector.inspectFrame = enabled?frame:null;
				air.Introspector.remoteInspect = enabled;
				if(!enabled){
					air.Introspector.hideHighlight();
				}
		};
		frame.contentWindow.parentSandboxBridge.air_Introspector_getWindowTitle = function(){
			return document.title;
		};
		frame.contentWindow.parentSandboxBridge.air_Introspector_checkNativeWindow = function(title){
			var htmlWindows = air.Introspector.runtime.NativeApplication.nativeApplication.openedWindows;
			for(var i=htmlWindows.length-1;i>=0;i--){
				if(htmlWindows[i].title==title){
					return true;
				}
			}
			return false;
		};
		
		frame.contentWindow.parentSandboxBridge.air_Introspector_writeConsoleToClipboard = function(str){
			air.Introspector.writeConsoleToClipboard(str);
		};
		
		frame.contentWindow.parentSandboxBridge.air_Introspector_writeConsoleToFile = function(str){
			air.Introspector.writeConsoleToFile(str);
		};
		
		frame.contentWindow.parentSandboxBridge.air_Introspector_writeConfigFile = function(config){
			return air.Introspector.writeConfigFile(config, true);			
		}
		
		frame.contentWindow.parentSandboxBridge.air_Introspector_readConfigFile = function(){
			return air.Introspector.readConfigFile(true);
		}
		
		frame.contentWindow.parentSandboxBridge.air_Introspector_showHighlightLabels = function(id, nodeName, outerHTML){
			air.Introspector.showHighlightLabels(id, nodeName, outerHTML);
		};
		
		frame.contentWindow.parentSandboxBridge.air_Introspector_getFrameId = function(){
			return frame.id;
		}
		
		if(typeof frame.contentWindow.childSandboxBridge!='undefined'
				&& typeof frame.contentWindow.childSandboxBridge.air_Introspector_bridgeLoaded!='undefined'){
			frame.contentWindow.childSandboxBridge.air_Introspector_bridgeLoaded();
		}
		
		
		//return modified;
	},
	
	/**
	*	@function waitForBody
	*	@description Wait until document.body is available
	*/
	waitForBody: function(document, callback){
		if(document.body){
			callback();
		}else{
			setTimeout(air.Introspector.waitForBody, 10, document, callback);
		}
	},
    
	/**
	*	@function toggleWindow
	*	@description Shows/Hides the debug tool
	*/
    toggleWindow:function(){
        air.Introspector.init(true, false, function(justCreated){
			if(!justCreated)
				air.Introspector.debugWindow.nativeWindow.visible ^= true;
		});
        
    },
	
	
	/**
	*	@function init
	*	@description Makes sure the debug tool is enabled
	*/
    init: function(showLoader, toggle, callback){
		if(!air.Introspector.canInit())
			return;
	
		if(typeof showLoader=='undefined') showLoader = false;
		if(typeof toggle=='undefined') toggle = true;
	
		if(isAppSandbox){
			
			if(typeof air.Introspector.debugWindow=='undefined' || air.Introspector.debugWindow.nativeWindow.closed){
				delete air.Introspector.debugWindow;
	           var debugWindow = air.Introspector.findDebugWindow();
	           if(debugWindow!=null && !debugWindow.nativeWindow.closed){
	               air.Introspector.debugWindow = debugWindow;
				if(toggle){
					air.Introspector.debugWindow.nativeWindow.visible = true;			   
					if(!showLoader){
						nativeWindow.activate();
					}
				}
				callback(false);
	           }else{
				   air.Introspector.loadDebugger(function(debugWindow){
						air.Introspector.debugWindow = debugWindow;
						callback(true);
				   }, showLoader);
	           }
	        }else{
				if(toggle){
					if(showLoader){
						air.Introspector.debugWindow.nativeWindow.activate(); 
					}
				}
				callback(false);
			}
		}else{
			if(typeof activeWindow=='undefined'){
				air.Introspector.registerChildSandboxBridge();
			}
			
			if(typeof air.Introspector.debugWindow=='undefined'||
				typeof air.Introspector.debugWindow.window.air=='undefined'){ 
/*				(air.Introspector.debugWindow.isWindowCreated
					&&air.Introspector.debugWindow.isLoaded 
					  &&air.Introspector.debugWindow.window 
						&&!parentSandboxBridge.air_Introspector_checkNativeWindow(air.Introspector.parentWindowTitle + ': '+air.Introspector.debugWindow.window.document.title))){*/
				delete air.Introspector.debugWindow;


				air.Introspector.loadDebugger(function(debugWindow){
						air.Introspector.debugWindow = debugWindow;
						callback(true);
				   });
//				air.Introspector.debugWindow = new air.Introspector.DebugWindow ({activateDebug: showLoader, activeWindow: window});
			}else if(!air.Introspector.debugWindow.isWindowCreated){
				return;
			}else{
				callback(false);
			}
		}
    },
    times:0,	//make the window.open page name unique - this is the number of opened and closed introspector windows
	/**
	*	@function tryCreateWindow
	*	@description window.Open in browser/remote sandbox is not allowed if the action is not iniated by the user (eg. user gesture, mouse click)
	*				 We can only wait for that moment. Until that happends we record all the callbacks and run them when the Introspector is laoded 
	*	@runs in remote sandbox only
	*/
	tryCreateWindow: function(callbacks){
//		try{
			var self = this;
			var w;
			var iframeId;
			
/*			if(typeof parentSandboxBridge=='undefined'){
				air.Introspector.noBridge(function(){
					air.Introspector.tryCreateWindow(callbacks);					
				});
				return;
			}*/

			air.Introspector.parentWindowTitle = parentSandboxBridge.air_Introspector_getWindowTitle();

			if(typeof parentSandboxBridge!='undefined'&&typeof parentSandboxBridge.air_Introspector_getFrameId!='undefined')
				iframeId  = parentSandboxBridge.air_Introspector_getFrameId();
			
			air.Introspector.times++;
			
			if(typeof air.Introspector.config.useAirDebugHtml=='undefined'||air.Introspector.config.useAirDebugHtml==false){
				w = window.open('about:blank', 'debugger'+air.Introspector.times, 'width=640,height=480,resizable=1');
				if(w&&w.document){
					w.isAppSandbox = isAppSandbox;
					w.opener = window;
					w.iframeId = iframeId;
					w.initCallbacks = callbacks;	
					w.activeWindow = window;
					w.isLoaded = false;
					w.config = air.Introspector.config;
					w.document.write(air.Introspector.contentString);
					w.document.close();
				}
			}else{
				w = window.open('DebugUI.html', 'debugger'+air.Introspector.times, 'width=640,height=480,resizable=1');
				
				if(w&&w.document){
					w.opener = window;
					w.iframeId = iframeId;
					w.activeWindow = window;				
					w.config = air.Introspector.config;
					w.initCallbacks = callbacks;				
					w.isLoaded = false;
					w.isAppSandbox = isAppSandbox;
				}
			}
			return w;
//		}catch(e){
//			alert(e+' '+e.line);
//		}
	},
	
	/**
	*	@function loadDebugger
	*	@description Loads the debugger window, register callbacks until it is ready
	*	@runs in application sandbox only
	*/
	loadDebugger: function(callback, activateDebug){
			var htmlLoader;
			var loadDebugger = arguments.callee;
			if(loadDebugger.htmlLoader && typeof loadDebugger.htmlLoader.window.isLoaded != 'undefined'){
				if(loadDebugger.htmlLoader.window.isLoaded){
					callback(loadDebugger.htmlLoader.window.debugWindow);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
丰满少妇在线播放bd日韩电影| 成人av电影观看| 国产精品久久久99| 555夜色666亚洲国产免| www.日韩av| 九色综合狠狠综合久久| 亚洲黄色片在线观看| 国产婷婷一区二区| 欧美一区二区三区日韩| 在线免费不卡视频| 成人av中文字幕| 国产一区三区三区| 日韩有码一区二区三区| 一区二区三区在线视频播放| 中文一区一区三区高中清不卡| 欧美日韩高清在线| 91伊人久久大香线蕉| 91精品国产手机| 国产精品私人自拍| 91精品国产综合久久蜜臀 | 久久久91精品国产一区二区精品| 欧美日韩一区国产| 91污在线观看| 成人免费视频国产在线观看| 国产在线一区二区综合免费视频| 亚洲成a人在线观看| 一区二区三区在线观看欧美| 中文字幕综合网| 国产欧美一区二区三区在线老狼| 2020国产成人综合网| 日韩免费电影网站| 日韩欧美成人激情| 日韩精品一区国产麻豆| 欧美tk—视频vk| 精品国产伦一区二区三区观看体验 | 中文字幕乱码一区二区免费| 欧美精品一区二区三区视频| 91精品国产色综合久久不卡蜜臀| 不卡视频在线看| 黄色精品一二区| 国产香蕉久久精品综合网| 宅男噜噜噜66一区二区66| 欧美曰成人黄网| 色噜噜狠狠成人网p站| av电影在线观看一区| 91视频观看免费| 色综合久久久久综合体| 在线影院国内精品| 欧美色倩网站大全免费| 555www色欧美视频| 日韩欧美国产综合在线一区二区三区| 在线综合视频播放| 精品国产一区二区三区不卡| 久久久久久9999| 国产精品你懂的在线欣赏| 成人av动漫网站| 99riav一区二区三区| 亚洲午夜久久久久久久久电影网 | 国产精品高潮呻吟久久| 国产精品美女一区二区三区| 亚洲视频免费观看| 亚洲a一区二区| 美女爽到高潮91| 丁香婷婷深情五月亚洲| 日本韩国一区二区| 欧美电视剧在线看免费| 国产精品萝li| 午夜精品久久久久久久99樱桃| 婷婷一区二区三区| 国产精品自产自拍| av不卡在线播放| 欧美日产国产精品| 久久久久久99精品| 一区二区成人在线| 精品一区二区三区免费视频| 成人av电影在线播放| 欧美精品乱人伦久久久久久| 久久久国产一区二区三区四区小说 | 日韩中文字幕区一区有砖一区| 日韩av一区二| 成人爽a毛片一区二区免费| 欧美性受极品xxxx喷水| 国产亚洲精品资源在线26u| 亚洲制服丝袜av| 国产一区二区不卡老阿姨| 色偷偷久久人人79超碰人人澡 | 久久久久亚洲蜜桃| 亚洲国产sm捆绑调教视频 | 亚洲综合丁香婷婷六月香| 麻豆91在线观看| av高清久久久| 欧美成人精品二区三区99精品| 亚洲欧美偷拍三级| 久久精品999| 欧美无砖专区一中文字| 国产日韩欧美高清| 欧美福利电影网| 一本久久精品一区二区| 精品欧美久久久| 亚洲国产一区二区三区青草影视| 懂色一区二区三区免费观看| 88在线观看91蜜桃国自产| 亚洲色图视频免费播放| 国产一区二区在线电影| 7777精品伊人久久久大香线蕉最新版| 中国av一区二区三区| 免费观看91视频大全| 91传媒视频在线播放| 国产精品美女视频| 国产一区二区日韩精品| 欧美日韩亚洲不卡| 一个色在线综合| 91丨九色丨蝌蚪富婆spa| 国产欧美精品一区二区三区四区| 美腿丝袜一区二区三区| 欧美日韩精品一区视频| 亚洲激情成人在线| 91香蕉视频在线| 中文字幕在线一区免费| 国产成人亚洲精品青草天美| 日韩欧美中文字幕精品| 天天爽夜夜爽夜夜爽精品视频| 日本精品一区二区三区高清| 日韩美女久久久| 成人精品高清在线| 国产精品无码永久免费888| 亚洲另类在线一区| 99久久国产综合精品麻豆| 在线免费亚洲电影| 日韩一级在线观看| 奇米影视一区二区三区| 欧美欧美午夜aⅴ在线观看| 夜夜嗨av一区二区三区| 久久久综合九色合综国产精品| 久久成人羞羞网站| 久久婷婷成人综合色| 久久99国产精品尤物| 久久综合999| 成人在线视频一区二区| 国产欧美日韩亚州综合| 成人av动漫网站| 亚洲精品美国一| 欧美午夜精品一区二区三区 | 日本中文在线一区| 欧美精品在线一区二区| 日韩影院精彩在线| 精品国产91乱码一区二区三区 | 91精品欧美一区二区三区综合在| 日韩国产精品久久久| 日韩美一区二区三区| 久久精品国产一区二区| 日韩在线一区二区三区| 国产成人免费视频| 国产精品毛片大码女人| 日本韩国精品在线| 丝袜亚洲另类欧美综合| 日韩精品一区二区三区视频播放| 国产精品一区二区久久精品爱涩| 亚洲国产精品黑人久久久| 99久久精品久久久久久清纯| 亚洲福利视频导航| 在线播放国产精品二区一二区四区 | 成人免费视频免费观看| 亚洲精品一卡二卡| 亚洲蜜臀av乱码久久精品 | 精品国产三级a在线观看| 成人久久久精品乱码一区二区三区| 1024成人网色www| 欧美日韩国产一级片| 国精产品一区一区三区mba视频| 亚洲欧美怡红院| 日韩欧美黄色影院| av中文字幕不卡| 免费成人在线影院| 国产精品久久久久影视| 欧美日免费三级在线| 国产精品一区在线观看你懂的| 亚洲女女做受ⅹxx高潮| 青青草国产成人99久久| 奇米精品一区二区三区在线观看| 亚洲成人精品一区| 亚洲天堂2014| 制服丝袜激情欧洲亚洲| 国产成人精品一区二| 亚洲影院免费观看| 国产欧美日韩麻豆91| 欧美肥妇bbw| 99精品1区2区| 久久精品国产免费看久久精品| 亚洲免费色视频| 国产日产欧美一区| 91精选在线观看| 色8久久人人97超碰香蕉987| 国产精品一区二区在线看| 丝袜国产日韩另类美女| 亚洲欧美在线高清| 国产女人18毛片水真多成人如厕| 欧美日韩精品三区| 色婷婷精品久久二区二区蜜臂av| 国产精品69久久久久水密桃|