Flag counter for 4chan
This is an updated version of the 1.0.4 release of Flaggot in 2018 (https://github.com/dnsev/flaggot). Original idea by dnsev.
Flag counters for threads on 4chan, works on /int/, /bant/ and /pol/ boards, but there are probably more that use flags.
This userscript adds a floating header to 4chan boards that displays flag statistics for all posts in a thread. It counts how many posts are from each country/region flag and displays them as clickable icons with numbers. Clicking a flag scrolls through all posts from that country. The counter can toggle between showing total post count or unique poster IDs per flag. It automatically updates as new posts are added to the thread.
Installation: