חיפוש אלמנטים סוררים, גלישה צדית במובייל שיטה 2
Fri Sep 24 2021 06:53:19 GMT+0000 (Coordinated Universal Time)
Saved by
@Shesek
press F12 in your Browser then choose console and paste the below code there and press enter:
var all = document.getElementsByTagName("*"), i = 0, rect, docWidth = document.documentElement.offsetWidth; for (; i < all.length; i++) { rect = all[i].getBoundingClientRect(); if (rect.right > docWidth || rect.left < 0){ console.log(all[i]); all[i].style.borderTop = '1px solid red'; } }
content_copyCOPY
Comments