欢迎访问我的个人网站==》 jiashubing.cn
摘要: 其实最好的方案是不刷新当前窗口,而是打开新的窗口, target="_blank" 下面这种方案,受同源策略限制,如果跨域了,也是不行的 <a href="$https://www.baidu.com" onclick="window.parent.location.href = this.href 阅读全文
posted @ 2025-03-10 14:28 贾树丙 阅读(31) 评论(0) 推荐(0)
摘要: public static Map<String, String> splitQuery(String url) { Map<String, String> queryPairs = new HashMap<>(); try { int i = url.indexOf("?"); if (i < 0 阅读全文
posted @ 2025-03-10 09:05 贾树丙 阅读(29) 评论(0) 推荐(0)