📅  最后修改于: 2022-03-11 15:03:01.977000             🧑  作者: Mango
var docWidth = document.documentElement.offsetWidth;
[].forEach.call(
document.querySelectorAll('*'),
function(el) {
if (el.offsetWidth > docWidth) {
console.log(el);
}
}
);