69

This is a userscript that provides a networkwide flag summary for all Stack Exchange sites.

If you are logged into the Stack Exchange network and you have this script installed, you can visit the flags tab in your Stack Exchange profile:

SEGFS screenshot

How does it work?

The script scans your network profile for all Stack Exchange accounts you created. For each account it tries to access the flag summary page. Since that page is private, i.e. only visible to you (and mods), you need be logged in. From there it extracts the flag summary of the individual site and sums it all up in a generated table.

The table can be sorted ascending & descending by clicking on the desired column label.

You can find a link to the global flag summary on each per-site flag summary page.

Install

Install from Github

View source on Github

Tested with Greasemonkey & Tampermonkey on Firefox

Changelog

v1.1   Request rate and error handling improvements.

v1.0   Including all Meta sites; Greasemonkey 4.0 support.

v0.8   Fixed Area51 URL; Added site count with progress; Improved sorting.

v0.7   Fixed meta sites and HTTPS links; Enumerated table rows.

v0.6   Changed helpful % formula to helpful / (helpful + declined) * 100; Support for meta sites (limited) and Area 51.

v0.5   Initial release.

Glorfindel
  • 6,772
  • 3
  • 20
  • 46
Floern
  • 1,093
  • 9
  • 14
  • 14
    There's another use case for this script. The retrieval of the flag summary counts as a site visit for the Enthousiast & Fanatic badges. You just have to visit the global flag summary once a day. – Glorfindel Jan 11 '17 at 08:33
  • At the moment, the script uses the site specific "last flag date", this works fine with the english sites, but it looks weird mixed with the other language stack overflow sites – Ferrybig Jan 11 '17 at 20:23
  • You also missed the "Aged away" flag status – Ferrybig Jan 12 '17 at 07:13
  • @Ferrybig now it should be english everywhere. The "aged away" is supposed to be the "expired" column, or doesn't that work for you? – Floern Jan 12 '17 at 09:31
  • Confirmed the all english working after script update, didn't see the expired column because I was looking for "aged away" as that's the name SE uses in the normal flag screen – Ferrybig Jan 12 '17 at 09:36
  • This doesn't work for sites in private beta, BTW. – Mithical Jan 18 '17 at 21:24
  • 2
    @Mithrandir Found the issue: The site is not listed in the account list, because it's a private beta.. – Floern Jan 18 '17 at 22:07
  • Huh, now it's counting the private beta site. – Mithical Jan 23 '17 at 14:08
  • @Mithrandir noticed that too. Not sure what's going on, maybe it was just caching.. – Floern Jan 23 '17 at 14:19
  • 1
    The Area 51 link still links to discuss.area51, instead of area51.meta, just FYI. – Mithical Jul 23 '17 at 09:22
  • I flagged a comment on a post where I can previously flagged some comments. The flag summary script then showed my last flag as being from when I flagged those comments last time - like this. Not sure how easy this'll be to fix, or if it's even worth any time but thought I'd point it out. – Mithical Sep 13 '17 at 12:52
  • Can we discount the comment flags from the global flags summary? – NVZ Sep 20 '17 at 05:32
  • @NVZ why would you want that? comment flags are flags too. – Floern Sep 20 '17 at 12:49
  • Floern, any chance this is going to the Chrome Web Store, so I don't have to follow all those instructions on installing an extension outside of the Chrome Web Store? Or can you give a crx instead of a js pretty please? Might be asking wrong questions. Anything helpful would be appreciated. – BCLC Mar 23 '18 at 12:13
  • @BCLC I don't think this would make sense. If you didn't work with userscripts before, just install the Tampermonkey extension from the Chrome Web Store, and then click the "Install from Github" link above. – Floern Mar 25 '18 at 20:30
  • This script is especially useful during Winter Bash 2020, as it can be used to instantly earn the Social Distancing hat on all sites. – gparyani Dec 18 '20 at 09:35
  • @Floern This script seems to show the loading GIF only and not visiting any site. When I did a little debugging, the URL for network accounts is getting redirected to this page. – A J Jan 21 '21 at 08:30
  • @Floern Seems like either this script has stopped working or there is some issue with Tampermonkey. Browser: Chrome. – A J Dec 06 '21 at 03:33
  • This script does work with TamperMonkey and the Kiwi Browser (Chrome compatible) on Android. The only problems are halfway through your sites the numeric progress counter at the bottom of the page spins and there seems to be no progress (but occasionally a new site is added) and then about 3/4 through (all sites) it discovers that it's being rate limited; though that went away 10 minutes later. – Rob Jan 31 '22 at 00:56
  • Script works correctly, without any rate limiting problems. – Rob Aug 10 '22 at 13:07
  • Fails on iPhone with Userscripts app with this message: Failed to load //stackexchange.com/users/current?tab=accounts with status 0 Ideas? – James Risner Sep 12 '22 at 03:04

0 Answers0