js获取域名设置属性 阿星小栈

//获取域名
 document.domain

//获取页面高度
 window.innerHeight

//设置属性
 document.querySelector('.firstModal').style.height = '100%';
原文地址:https://www.cnblogs.com/dereckbu/p/8778079.html