Closed kliu128 closed 8 years ago
This is great! Thank you so much :) I also really appreciate the cleanup. I wrote the initial code rather quickly and your changes make it much more clear.
No problem! And thank you for making this. (I confess that I tried to make one myself but yours is way better.)
I noticed that contenteditables wouldn't count as being "input" elements, so this fixes that. To add contenteditables, I had to convert tagBlacklist to a selector list. (I also couldn't resist cleaning up a bit along the way.)