摘要:
1检测用户当前浏览器是否将域名的ip添加信任站点 js代码 //域名ip的获取 var hostname = window.location.hostname; var WshShell = new ActiveXObject("WScript.Shell"); //IP的正则表达式 var reg 阅读全文
摘要:
//写一个工具类,进行输入选项数值的获取public class InputUtil { static Scanner sc=new Scanner(System.in); public static int InputIntTest(){ int num=0;//此处进行输入的异常捕获 while 阅读全文