Greasy Fork is available in English.
Discussions » Development
I have a script that loops over all elements on a page but on some it only loops over a fewit iterates over all elements not when the userscript starts, onload, onchange, with a mutation observer and even onscroll. but every time it only finds very few elements. this only happens on some websites. for example this one http://www.zerohedge.com/news/2017-12-25/nsa-whistleblower-snowden-launches-mobile-app-paranoid-peoplethis is my script: https://github.com/elypter/BlockHeadany ideas?
Đăng nhập để bình luận
I have a script that loops over all elements on a page but on some it only loops over a few
it iterates over all elements not when the userscript starts, onload, onchange, with a mutation observer and even onscroll. but every time it only finds very few elements. this only happens on some websites. for example this one http://www.zerohedge.com/news/2017-12-25/nsa-whistleblower-snowden-launches-mobile-app-paranoid-people
this is my script: https://github.com/elypter/BlockHead
any ideas?