rthaut / deviantART-Filter

A browser extension that allows you to filter DeviantArt by user, keyword, and/or category.
https://rthaut.github.io/deviantART-Filter/
GNU General Public License v3.0
30 stars 1 forks source link

Optimization #165

Open kargaroc opened 3 years ago

kargaroc commented 3 years ago

By the time you've been using this for a while and have a few hundred filters, it takes 10 seconds to make a new filter, and when browsing, by the time all the filters take effect, you're already half-way down the page! I don't know if things can be optimized, but clearly something isn't scaling up to hundreds/thousands of filters.

edit: Dunno if this is possible, but one way to mitigate this would be to prevent filtered images from loading at all. Every thumbnail image contains the substring _by_<username>_d which you can use in an adblocker to stop from loading. If an adblocker can do it, I don't see why this can't.