<table style="border:none;">
<tr style="border:none;">
<td style="border:none;"><input type="text" id="opchaurl" placeholder="URL" value=""></td>
<td style="border:none;"><input type="button" value="check" onClick="opcha_newurlcheck();"></td>
</tr>
<tr><td colspan="2" id="opchachecktd"></td></tr>
</table>
<input type="hidden" id="registkey">
<script>
function registurl(){
	$url = "https://channel.wada.ltd/wp-content/plugins/opcha/operation.php";
	all =document.all;
	$targetURL = document.getElementById("opchaurl").value;
	$targetURL = $targetURL.replace(/\&/g,"__AND__",$targetURL);
	try{
		var xhr = XMLHRC();
		xhr.onreadystatechange = DataResponce;
		xhr.open("POST",$url);
		xhr.setRequestHeader("content-type", "application/x-www-form-urlencoded");
		senddata = "";
		senddata += "checkurl="+$targetURL;
		senddata += "&key="+document.getElementById("registkey").value;
		xhr.send(senddata);
	}catch(e){
		return e + "\n" + element_result.value;
	}
	function DataResponce(){
		switch(xhr.readyState){
			case 4:
//alert(xhr.status);
				if(xhr.status == 0){
					//error
				}else if((200 <= xhr.status && xhr.status < 300) || (xhr.status == 304)){
					document.getElementById("opchachecktd").innerHTML = xhr.responseText;
				}
		}
	}
}
function opcha_newurlcheck(){
	$url = "https://channel.wada.ltd/wp-content/plugins/opcha/operation.php";
	$targetURL = document.getElementById("opchaurl").value;
	$targetURL = $targetURL.replace(/\&/g,"__AND__",$targetURL);
	try{
		var xhr = XMLHRC();
		xhr.onreadystatechange = DataResponce;
		xhr.open("POST",$url);
		xhr.setRequestHeader("content-type", "application/x-www-form-urlencoded");
		senddata = "";
		senddata += "checkurl="+$targetURL;
		xhr.send(senddata);
	}catch(e){
		return e + "\n" + element_result.value;
	}
	function DataResponce(){
		switch(xhr.readyState){
			case 4:
//alert(xhr.status);
				if(xhr.status == 0){
					//error
				}else if((200 <= xhr.status && xhr.status < 300) || (xhr.status == 304)){
					document.getElementById("opchachecktd").innerHTML = xhr.responseText;
				}
		}
	}
}
function XMLHRC(){
	try{ return new XMLHttpRequest(); }catch(e){}
	try{ return new ActiveXObject("MSXML2.XMLHTTP.6.0"); }catch(e){}
	try{ return new ActiveXObject("MSXML2.XMLHTTP.3.0"); }catch(e){}
	try{ return new ActiveXObject("MSXML2.XMLHTTP"); }catch(e){}
	return null;
}
</script>
{"id":5048,"date":"2024-01-04T13:53:32","date_gmt":"2024-01-04T04:53:32","guid":{"rendered":"https:\/\/channel.wada.ltd\/?page_id=5048"},"modified":"2024-01-05T10:19:53","modified_gmt":"2024-01-05T01:19:53","slug":"addnewopcha","status":"publish","type":"page","link":"https:\/\/channel.wada.ltd\/?page_id=5048","title":{"rendered":"\u30aa\u30fc\u30d7\u30f3\u30c1\u30e3\u30c3\u30c8\u7d39\u4ecb\u767b\u9332"},"content":{"rendered":"","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","vkExUnit_sitemap":"","_veu_custom_css":"","veu_display_promotion_alert":"","_exclude_from_list_pages":"","vkexunit_cta_each_option":"","vkExUnit_childPageIndex":"","vkExUnit_pageList_ancestor":"","vkExUnit_contact_enable":"","footnotes":""},"class_list":["post-5048","page","type-page","status-publish","hentry"],"veu_head_title_object":{"title":"","add_site_title":""},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/channel.wada.ltd\/index.php?rest_route=\/wp\/v2\/pages\/5048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/channel.wada.ltd\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/channel.wada.ltd\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/channel.wada.ltd\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/channel.wada.ltd\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5048"}],"version-history":[{"count":0,"href":"https:\/\/channel.wada.ltd\/index.php?rest_route=\/wp\/v2\/pages\/5048\/revisions"}],"wp:attachment":[{"href":"https:\/\/channel.wada.ltd\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}