Greasy Fork镜像 is available in English.

Συζητήσεις » Ανάπτυξη

I have a script that loops over all elements on a page but on some it only loops over a few

§
Δημοσιεύτηκε: 26/12/2017

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?

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.

长期地址
遇到问题?请前往 GitHub 提 Issues。