nonamethanks said:
The following CSS does not work though:
.iac-tag-highlight {
text-decoration: none !important;
font-weight: bold;
}
I was searching for a selector to always highlight just like vanilla danbooru no matter the internal logic for why the tag is showing up.
Ah sorry, I misunderstood. I didn't realize that Danbooru was highlighting the matches for all of the sources, so I've only implemented that for word matches as of right now. That's something that will need to be worked on. I'll try to have something out by next weekend.
As for cache purging, I did "Purge cache (...)" and it didn't clear them out. The description for that option says "Dumps all of the cached data related to IndexedAutocomplete" so I'm assuming it's bugged. Removing it manually as you said worked though.
Yeah, that might be a bit of a misnomer, or rather, I'm reusing the term "cache" sometimes for program data when I should be using terms like "storage" instead. The "Purge cache" link currently only purges all data from the Indexed DB (API data from Danbooru), and nothing from Local Storage (program data). The reason being that it contains important information that the user may not want to delete, plus it could have unintended consequences with program behavior. However, one way which currently exists to clear the choice data though, besides doing it manually, is to do a factory reset.
That all being said, I could look into adding something which would purge all program data minus the user settings as something to implement in the future for all of my userscripts.