I got annoyed by the overflow of Zeit+ articles, so installed this script. But it didn't remove all links for Zeit+. So I checked and saw that some are marked as zplus-dynamic which evades the filter. I fixed it by changing var articles = document.querySelectorAll('[data-zplus="zplus"]'); to var articles = document.querySelectorAll('[data-zplus^="zplus"]');
The ^ in data-zplus^="zplus" matched all elements starting with "zplus", including "zplus-dynamic".
Thanks for the nice script! I hope my changes help others too!
Hello @flomei,
I got annoyed by the overflow of Zeit+ articles, so installed this script. But it didn't remove all links for Zeit+.
So I checked and saw that some are marked as zplus-dynamic which evades the filter. I fixed it by changing
var articles = document.querySelectorAll('[data-zplus="zplus"]');
to
var articles = document.querySelectorAll('[data-zplus^="zplus"]');
The ^ in data-zplus^="zplus" matched all elements starting with "zplus", including "zplus-dynamic".
Thanks for the nice script! I hope my changes help others too!