Incorrectly triggering on popup Twitter image
Closed this issue · 1 comments
BrokenEagle commented
When clicking an image on a tweet, I noticed that there were a whole bunch of TPT artist tags being added in the background. I outlined where they show up in red.
The only link I was able to find nearby was the Twitter image link, so I imagine that it's doing an artist lookup on that and getting 10 bogus artists back. Regardless of the filtering code or whatever though, it shouldn't even be doing the query in the first place. It's a waste of both the client and Danbooru's resources.
7nik commented
It's shitty Twitter's DOM.
I committed a new filtering code, hope it will work longer than previous ones.
Later I'll try to make translating rules more specific.