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

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

?? dhtmlhistory.js

?? This is the script which used on 10minutemail.com for temporary email.
?? JS
?? 第 1 頁 / 共 2 頁
字號:
/** 
Copyright (c) 2005, Brad Neuberg, bkn3@columbia.edu
http://codinginparadise.org

Permission is hereby granted, free of charge, to any person obtaining 
a copy of this software and associated documentation files (the "Software"), 
to deal in the Software without restriction, including without limitation 
the rights to use, copy, modify, merge, publish, distribute, sublicense, 
and/or sell copies of the Software, and to permit persons to whom the 
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be 
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT 
OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR 
THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

/** An object that provides DHTML history, history data, and bookmarking 
	for AJAX applications. */
window.dhtmlHistory = {
/** Initializes our DHTML history. You should
	call this after the page is finished loading. */
/** public */ initialize: function() {
	// only Internet Explorer needs to be explicitly initialized;
	// other browsers don't have its particular behaviors.
	// Basicly, IE doesn't autofill form data until the page
	// is finished loading, which means historyStorage won't
	// work until onload has been fired.
	if (this.isInternetExplorer() == false) {
		return;
	}
		
	// if this is the first time this page has loaded...
	if (historyStorage.hasKey("DhtmlHistory_pageLoaded") == false) {
		this.fireOnNewListener = false;
		this.firstLoad = true;
		historyStorage.put("DhtmlHistory_pageLoaded", true);
	}
	// else if this is a fake onload event
	else {
		this.fireOnNewListener = true;
		this.firstLoad = false;
	}
},
			
/** Adds a history change listener. Note that
	only one listener is supported at this
	time. */
/** public */ addListener: function(callback) {
	this.listener = callback;
	
	// if the page was just loaded and we
	// should not ignore it, fire an event
	// to our new listener now
	if (this.fireOnNewListener == true) {
		this.fireHistoryEvent(this.currentLocation);
		this.fireOnNewListener = false;
	}
},

/** public */ add: function(newLocation, historyData) {
	// most browsers require that we wait a certain amount of time before changing the
	// location, such as 200 milliseconds; rather than forcing external callers to use
	// window.setTimeout to account for this to prevent bugs, we internally handle this
	// detail by using a 'currentWaitTime' variable and have requests wait in line
	var self = this;
	var addImpl = function() {
		// indicate that the current wait time is now less
		if (self.currentWaitTime > 0)
			self.currentWaitTime = self.currentWaitTime - self.WAIT_TIME;
			
		// remove any leading hash symbols on newLocation
		newLocation = self.removeHash(newLocation);
		
		// IE has a strange bug; if the newLocation
		// is the same as _any_ preexisting id in the
		// document, then the history action gets recorded
		// twice; throw a programmer exception if there is
		// an element with this ID
		var idCheck = document.getElementById(newLocation);
		if (idCheck != undefined || idCheck != null) {
			var message = 
			"Exception: History locations can not have "
			+ "the same value as _any_ id's "
			+ "that might be in the document, "
			+ "due to a bug in Internet "
			+ "Explorer; please ask the "
			+ "developer to choose a history "
			+ "location that does not match "
			+ "any HTML id's in this "
			+ "document. The following ID "
			+ "is already taken and can not "
			+ "be a location: " 
			+ newLocation;
			
			throw message; 
		}
		
		// store the history data into history storage
		historyStorage.put(newLocation, historyData);
		
		// indicate to the browser to ignore this upcomming 
		// location change
		self.ignoreLocationChange = true;
 
		// indicate to IE that this is an atomic location change
		// block
		this.ieAtomicLocationChange = true;
				
		// save this as our current location
		self.currentLocation = newLocation;
		
		// change the browser location
		window.location.hash = newLocation;
		
		// change the hidden iframe's location if on IE
		if (self.isInternetExplorer())
			self.iframe.src = "blank.html?" + newLocation;
			
		// end of atomic location change block
		// for IE
		this.ieAtomicLocationChange = false;
	};

	// now execute this add request after waiting a certain amount of time, so as to
	// queue up requests
	window.setTimeout(addImpl, this.currentWaitTime);

	// indicate that the next request will have to wait for awhile
	this.currentWaitTime = this.currentWaitTime + this.WAIT_TIME;
},

/** public */ isFirstLoad: function() {
	if (this.firstLoad == true) {
		return true;
	}
	else {
		return false;
	}
},

/** public */ isInternational: function() {
	return false;
},

/** public */ getVersion: function() {
	return "0.05";
},

/** Gets the current hash value that is in the browser's
	location bar, removing leading # symbols if they are present. */
/** public */ getCurrentLocation: function() {
	var currentLocation = this.removeHash(window.location.hash);
		
	return currentLocation;
},





/** Our current hash location, without the "#" symbol. */
/** private */ currentLocation: null,

/** Our history change listener. */
/** private */ listener: null,

/** A hidden IFrame we use in Internet Explorer to detect history
	changes. */
/** private */ iframe: null,

/** Indicates to the browser whether to ignore location changes. */
/** private */ ignoreLocationChange: null,
 
/** The amount of time in milliseconds that we should wait between add requests. 
	Firefox is okay with 200 ms, but Internet Explorer needs 400. */
/** private */ WAIT_TIME: 200,

/** The amount of time in milliseconds an add request has to wait in line before being
	run on a window.setTimeout. */
/** private */ currentWaitTime: 0,

/** A flag that indicates that we should fire a history change event
	when we are ready, i.e. after we are initialized and
	we have a history change listener. This is needed due to 
	an edge case in browsers other than Internet Explorer; if
	you leave a page entirely then return, we must fire this
	as a history change event. Unfortunately, we have lost
	all references to listeners from earlier, because JavaScript
	clears out. */
/** private */ fireOnNewListener: null,

/** A variable that indicates whether this is the first time
	this page has been loaded. If you go to a web page, leave
	it for another one, and then return, the page's onload
	listener fires again. We need a way to differentiate
	between the first page load and subsequent ones.
	This variable works hand in hand with the pageLoaded
	variable we store into historyStorage.*/
/** private */ firstLoad: null,

/** A variable to handle an important edge case in Internet
	Explorer. In IE, if a user manually types an address into
	their browser's location bar, we must intercept this by
	continiously checking the location bar with an timer 
	interval. However, if we manually change the location
	bar ourselves programmatically, when using our hidden
	iframe, we need to ignore these changes. Unfortunately,
	these changes are not atomic, so we surround them with
	the variable 'ieAtomicLocationChange', that if true,
	means we are programmatically setting the location and
	should ignore this atomic chunked change. */
/** private */ ieAtomicLocationChange: null, 

/** Creates the DHTML history infrastructure. */
/** private */ create: function() {
	// get our initial location
	var initialHash = this.getCurrentLocation();
	
	// save this as our current location
	this.currentLocation = initialHash;
	
	// write out a hidden iframe for IE and
	// set the amount of time to wait between add() requests
	if (this.isInternetExplorer()) {
		document.write("<iframe style='border: 0px; width: 1px; "
							+ "height: 1px; position: absolute; bottom: 0px; "
							+ "right: 0px; visibility: visible;' "
							+ "name='DhtmlHistoryFrame' id='DhtmlHistoryFrame' "
							+ "src='blank.html?" + initialHash + "'>"
							+ "</iframe>");
		// wait 400 milliseconds between history
		// updates on IE, versus 200 on Firefox
		this.WAIT_TIME = 400;
	}
	
	// add an unload listener for the page; this is
	// needed for Firefox 1.5+ because this browser caches all
	// dynamic updates to the page, which can break some of our 
	// logic related to testing whether this is the first instance
	// a page has loaded or whether it is being pulled from the cache
	var self = this;
	window.onunload = function() {
		self.firstLoad = null;
	};
	
	// determine if this is our first page load;
	// for Internet Explorer, we do this in 
	// this.iframeLoaded(), which is fired on
	// page load. We do it there because
	// we have no historyStorage at this point
	// in IE, which only exists after the page
	// is finished loading for that browser
	if (this.isInternetExplorer() == false) {
		if (historyStorage.hasKey("DhtmlHistory_pageLoaded") == false) {
			this.ignoreLocationChange = true;
			this.firstLoad = true;
			historyStorage.put("DhtmlHistory_pageLoaded", true);
		}
		else {
			// indicate that we want to pay attention
			// to this location change
			this.ignoreLocationChange = false;
			// For browser's other than IE, fire
			// a history change event; on IE,
			// the event will be thrown automatically
			// when it's hidden iframe reloads
			// on page load.
			// Unfortunately, we don't have any 
			// listeners yet; indicate that we want
			// to fire an event when a listener
			// is added.
			this.fireOnNewListener = true;
		}
	}
	else { // Internet Explorer
		// the iframe will get loaded on page
		// load, and we want to ignore this fact
		this.ignoreLocationChange = true;
	}
	
	if (this.isInternetExplorer()) {
			this.iframe = document.getElementById("DhtmlHistoryFrame");
	} 

	// other browsers can use a location handler that checks
	// at regular intervals as their primary mechanism;
	// we use it for Internet Explorer as well to handle
	// an important edge case; see checkLocation() for
	// details
	var self = this;
	var locationHandler = function() {
		self.checkLocation();
	};
	setInterval(locationHandler, 100);
},

/** Notify the listener of new history changes. */
/** private */ fireHistoryEvent: function(newHash) {
	// extract the value from our history storage for
	// this hash
	var historyData = historyStorage.get(newHash);

	// call our listener

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日日噜噜夜夜狠狠视频欧美人| 免费观看在线色综合| 欧美日韩久久久| 国产高清久久久| 日韩专区在线视频| 日韩美女视频一区二区 | 91小宝寻花一区二区三区| 欧美喷水一区二区| 午夜在线成人av| 中文字幕精品一区二区精品绿巨人| 国产麻豆成人精品| 五月激情综合色| 欧美日韩国产成人在线91| 亚洲综合激情另类小说区| 欧美视频日韩视频| 日本欧美肥老太交大片| 日韩精品一区二区三区老鸭窝| 国产农村妇女精品| 69堂亚洲精品首页| 欧美日韩一区国产| 欧洲在线/亚洲| 蜜芽一区二区三区| 亚洲女爱视频在线| 国产精品久久久久9999吃药| 日本道在线观看一区二区| 亚洲成a人v欧美综合天堂 | 亚洲桃色在线一区| 欧美日精品一区视频| 麻豆国产精品一区二区三区 | 岛国一区二区在线观看| 久久97超碰色| 久久99精品久久久久久| 国产精品乱码妇女bbbb| 在线一区二区观看| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 91精品国产综合久久婷婷香蕉| 日韩—二三区免费观看av| 精品久久久久久最新网址| 91精选在线观看| 制服丝袜av成人在线看| 国产成a人亚洲精| 亚洲午夜久久久久久久久电影院| 依依成人精品视频| 一区二区三区小说| 亚洲国产一二三| 午夜影视日本亚洲欧洲精品| 午夜激情一区二区三区| 日本中文在线一区| 国产精品国模大尺度视频| 亚洲欧洲av色图| 亚洲欧洲综合另类| 久久久青草青青国产亚洲免观| 色欲综合视频天天天| 老司机免费视频一区二区三区| ...xxx性欧美| 一区二区在线观看免费| 2014亚洲片线观看视频免费| 色婷婷精品大在线视频| 精品视频一区二区三区免费| 91精品国产色综合久久| 91成人在线观看喷潮| 欧美日韩国产不卡| jlzzjlzz欧美大全| 国产一区二区在线影院| 国产.欧美.日韩| 在线亚洲人成电影网站色www| 欧美日韩一区二区在线观看| 91在线精品一区二区| 在线观看视频一区二区| 99久久久久久| 国产suv精品一区二区三区| 欧美aⅴ一区二区三区视频| 一区2区3区在线看| 麻豆91在线播放| 国产午夜精品一区二区三区四区 | 久久精品夜夜夜夜久久| 7777精品久久久大香线蕉| 日本高清不卡在线观看| 91碰在线视频| 日韩亚洲欧美中文三级| 中文字幕欧美日本乱码一线二线| 精品免费99久久| 中文字幕五月欧美| 免费在线观看精品| 青青草伊人久久| caoporen国产精品视频| 制服丝袜一区二区三区| 国产精品人人做人人爽人人添| 国产欧美一区二区在线观看| 亚洲国产综合色| 亚洲chinese男男1069| 亚洲国产美女搞黄色| 亚洲午夜久久久久| 午夜亚洲福利老司机| 亚洲3atv精品一区二区三区| 夜夜夜精品看看| 婷婷一区二区三区| 日韩激情一二三区| 不卡一卡二卡三乱码免费网站| 欧美日韩dvd在线观看| 91精品午夜视频| 亚洲人成精品久久久久久| 国产中文字幕精品| 337p亚洲精品色噜噜噜| 亚洲精品国产a| 亚洲成人综合视频| 成人97人人超碰人人99| 色综合天天综合| 欧美性生活大片视频| 欧美乱妇23p| 日韩久久精品一区| 一区二区三区在线观看欧美| 成人午夜看片网址| 在线观看日韩毛片| 欧美一级xxx| 午夜精品一区在线观看| 麻豆国产精品视频| 成人av在线资源网| 欧美日韩一区小说| 尤物视频一区二区| 久久精品99久久久| 欧美顶级少妇做爰| 国产拍欧美日韩视频二区| 亚洲私人黄色宅男| 国产aⅴ综合色| 国产欧美一区二区精品久导航 | 中文字幕中文字幕在线一区| 国产自产高清不卡| 在线视频一区二区三| 欧美成人性战久久| 热久久久久久久| 成人毛片视频在线观看| 久久免费偷拍视频| 亚洲综合免费观看高清完整版 | 三级在线观看一区二区| 欧美三级三级三级爽爽爽| 成人午夜av在线| 中文字幕在线不卡一区二区三区| 成人app在线观看| 欧美一区二区三区思思人| 无码av免费一区二区三区试看| 国产一区视频在线看| 国产午夜久久久久| 成人黄动漫网站免费app| 成人免费一区二区三区视频| 久久精品72免费观看| 日韩一区二区三区在线观看| 中文字幕在线观看不卡视频| 色婷婷久久久综合中文字幕| 亚洲一区二区中文在线| 欧美肥妇bbw| 亚洲人妖av一区二区| 激情欧美一区二区三区在线观看| 色婷婷av一区二区三区软件| 久久九九影视网| 99久久777色| 国产色综合久久| 久久精品国产成人一区二区三区| ww亚洲ww在线观看国产| av毛片久久久久**hd| 久久综合成人精品亚洲另类欧美| 国产成人精品在线看| 欧美大胆人体bbbb| 高清国产午夜精品久久久久久| 中文字幕日韩一区| 777欧美精品| 国产成人日日夜夜| 一区二区三区 在线观看视频| 91麻豆精品久久久久蜜臀| 国产一区二区在线观看视频| 欧美另类z0zxhd电影| 亚洲一区二区在线视频| 日韩一区二区精品在线观看| 国产大陆精品国产| 一区二区三区精品视频| 日韩欧美一区二区视频| 成人高清伦理免费影院在线观看| 精品日韩欧美一区二区| 三级久久三级久久久| 国产情人综合久久777777| 国产剧情一区二区| 亚洲精品在线免费观看视频| 免费成人深夜小野草| 欧美福利视频一区| 国产传媒一区在线| 久久久久久久综合日本| 日本精品一区二区三区四区的功能| 中文字幕亚洲综合久久菠萝蜜| 欧美日韩免费一区二区三区| 亚洲在线中文字幕| 国产亚洲午夜高清国产拍精品| 九九九久久久精品| 亚洲男人的天堂网| 精品视频在线看| 成人一区二区三区视频| 三级一区在线视频先锋| 日韩欧美美女一区二区三区| 91在线观看一区二区| 亚洲欧美另类小说视频| 久久天天做天天爱综合色|