<!DOCTYPE html> <html> <head> <title>网址检测</title> <script> function checkUrl() { var url = window.location.href; if (url === 'http://www.3qpd.com') { alert('Yes'); } else { alert('No'); } } </script> </head> <body> <form> <a href="#" onclick="checkUrl()">点击检测</a> </form> </body> </html>
请求资源或报告无效资源,请点击[反馈中心]