Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var docWidth = document.documentElement.offsetWidth;
- [].forEach.call(
- document.querySelectorAll('*'),
- function(el) {
- if (el.offsetWidth > docWidth) {
- console.log(el);
- }
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement