<script language ="javascript" type ="text/javascript" >
<!--
var name = new Array;
var param = new Array;
var urlParts = document.URL.split("?");
var parameterParts = urlParts[1].split("&");
for (i = 0; i < parameterParts.length; i ++) {
var pairParts = parameterParts[i].split("=");
name[i] = pairParts[0];
param[i] = pairParts[1];
document.write("参数名称:" + name[i] +"<br>");
document.write("参数值:" + unescape(param[i])+"<br>" );
}
//-->
</script>
![](https://img2024.cnblogs.com/blog/35695/202408/35695-20240826070647288-243310440.jpg)