<iframe src="协议.html" id="iframe" scrolling="no" frameborder="0" width="100%"></iframe>
var ifm= document.getElementById("iframe");
ifm.height=document.documentElement.clientHeight;
<iframe src="协议.html" id="iframe" scrolling="no" frameborder="0" width="100%"></iframe>
var ifm= document.getElementById("iframe");
ifm.height=document.documentElement.clientHeight;