Skip to main content
8 events
when toggle format what by license comment
Apr 6, 2019 at 14:57 comment added Brock Adams @BhargavRao, It's been a while but try the recent update (if you are still using this script).
Jan 21, 2017 at 17:47 history edited Bhargav Rao CC BY-SA 3.0
added 31 characters in body
Jan 21, 2017 at 17:47 comment added Bhargav Rao @Brock, Looks like we no longer see the box for other users. Thanks. :)
Jan 20, 2017 at 22:35 comment added Brock Adams @BhargavRao, try the new version. Also, please clean up the comment on the question as it is now redundant.
Dec 27, 2016 at 19:00 comment added Brock Adams Thanks, @Matt. That's significantly different than the problem report but makes much more sense. I was interpreting Bhargav Rao's report to mean that a bunch of users flags were displayed on one page. Anyway, I'll add code to check the page against the logged-in user in a day or two (I'm revamping my computer systems at the moment). If you beat me to it with a PR, that's good too.
Dec 27, 2016 at 12:15 comment added Matt @Brock: It should be as simple as extending your "if" check on line #74 to verify the user flag summary being viewed is the currently logged in user; either via "window.location.pathname.startsWith('/users/flag-summary') && StackExchange.options.user.userId == window.location.pathname.match(/flag-summary\/(\d+)/)[1]", or "$('div.user-flag-history div.user-details a[href^="/users"]').prop('href').match(/\/users\/(\d+)/)[1] == StackExchange.options.user.userId". I can submit a PR if need be in the new year.
Dec 27, 2016 at 12:14 comment added Matt @Brock: The HTML structure is the same (on our flag summary page, and that of other users that we view); but you're storing the flag summary of each /flag-summary/ page we visit as if it was our own summary (hence the crazy numbers).
Dec 26, 2016 at 8:02 history answered Bhargav Rao CC BY-SA 3.0