34

Preview

Note: The date is locale-based. Screenshot is in UTC

What is LegacyProfiles?

LegacyProfiles brings back user info removed from profiles in a recent profile update. It is powered by StackExchange API and inspired by this post.

Specifically, it allows you to see the user creation date, profile view count and when the user was last seen.

Download

Auto-update version (recommended): minified | unminified

Browser Support

IE Chrome Firefox Safari Edge Opera
✔️ 6+ ✔️ ✔️ ✔️ 5.1+ ✔️ 12.1+ ✔️ 11.5+

Additional Information

License

Suggestions/Issues

MIT License Suggestions and issues should be raised as an answer in this post

Changelog

  • v2.1
    • Added support for Stack Exchange sites in a different language (bug report)
  • v2.0
  • v1.8
    • Updated human readable format engine (implemented in v1.3) to use singular when appropriate
  • v1.7
    • Fixed over-aggressive regex implemented in v1.5
  • v1.6
    • Fixed Greasemonkey bug (as reported here and here)
  • v1.5
    • Better API quota conservation, only fetches user details when the current tab is the user's profile
  • v1.4
    • Revised selector
  • v1.3
    • Now displays how long ago the user was last seen in human readable format (e.g., "5 hours ago")
  • v1.2
    • Added API key, up request limit from 300 to 10000
  • v1.1
    • Icon color fixup

Languages/libraries used:

11
  • @DocBrown Which Firefox version are you using? I just tested it and it works.
    – Spectric
    Aug 8 at 0:46
  • Also couldn't get it to work in Greasemonkey. Works in Tampermonkey. FF 90.0.2, Ubuntu 20.04 Aug 8 at 16:21
  • @HolyBlackCat and DocBrown: Thanks for the report, the Greasemonkey issue has been patched in v1.6
    – Spectric
    Aug 11 at 2:49
  • 10
    BTW: All of the major userscript manager will automatically check for updates, if the URL from which the userscript is installed returns a script with a higher version. The "normal" expectation is that you just create a single file within your GitHub repository which is the userscript. New versions are just additional commits on that repository which update that single file, with all prior versions available in the commit history. In other words, having separate files/directories for "v1.4", "v1.5", "v1.6", etc. is detrimental, preventing the userscript manager from doing automatic updates.
    – Makyen
    Aug 11 at 3:09
  • 1
    @mklement0 Updated. Should work now.
    – Spectric
    Aug 31 at 23:15
  • 1
    The quick turnaround is much appreciated, @Spectric.
    – mklement0
    Sep 1 at 1:37
  • 3
    I second @Makyen comment. I had to come back here to see if there's an update after the new changes. Can you please enable auto-updates (for both the minified and unminified versions)?
    – 41686d6564
    Sep 2 at 16:11
  • Is it intentional that the "Member since" is put into the profile? It seems to have been put back by Stack using "Member for" with the exact time in a tooltip. Sep 6 at 10:08
  • 2
    @Spectric Thank you for the script. It works nicely! btw I agree with Makyen that keeping these subdirectories for releases is not what you want on github, it will be better to use tags in the version control. That's the whole point of version control.
    – wim
    Sep 16 at 19:19
  • Thanks for the patience. An auto updating version is now available. (@wim)
    – Spectric
    Sep 18 at 0:30
  • Let us continue this discussion in chat.
    – Martin R
    Sep 18 at 17:50
4

Here is what I see (but maybe I am not looking at the right place):

Baluc

After updating the script, creating a key, and a Ctrl + Shift + L (local storage) to enter said key:

Note: This step is no longer necessary since version 1.2+ includes an API key BalusC2

Well done!

8
  • 2
    @Spectric This is working now, thank you! See my edited answer.
    – VonC
    Aug 6 at 19:36
  • 3
    @VonC No problem. It's an honor to have you using my userscript :)
    – Spectric
    Aug 7 at 2:26
  • 1
    @Spectric As mentioned in meta.stackexchange.com/questions/368285/…... this is no longer working.
    – VonC
    Aug 31 at 18:29
  • @VonC yeah, the most recent update broke a hell of a lot of scripts :( It was sort of anticipated, but still... Aug 31 at 18:56
  • @VonC Fixed in v2.0
    – Spectric
    Sep 2 at 16:51
  • @Spectric Thank you! I does work. Do you need any help regarding Makyen's comment?
    – VonC
    Sep 2 at 17:11
  • @VonC An auto updating version is now available :)
    – Spectric
    Sep 18 at 1:37
  • 1
    @Spectric Thank you so much. This is a better approach indeed.
    – VonC
    Sep 18 at 12:57
3

Unfortunately, it doesn't work for me (I use Windows 10). I downloaded "Unminified", Version 1.3, then I opened the windows file explorer and double clicked on the file (6 KB). Then I get asked if I want to open the file, I say "yes" and then it says "microsoft jscript error 800A03EA". Is the tool supposed to be used differently? Are any instructions available?

2
  • 5
    Install a userscript manager in your browser (Greasemonkey for Firefox, Tampermonkey for other browsers), then click one of the install links. You will automatically be prompted to install the userscript.
    – Spectric
    Aug 8 at 15:29
  • 3
    @Spectric Thank you very much, now it works!
    – Filippo
    Aug 8 at 17:08
3

I like the idea, but I would prefer for it to be on the second column on my profile, like this:

one

Which IMHO looks much nicer than the current version:

two

Looking at the source of your script, this can be achieved changing this specific selector from this:

$('#user-card ul:not(.s-prose ul)').first().append(HTML);

To this:

$('#user-card ul:not(.s-prose ul):eq(-1)').append(HTML);

The -1 here instead of 1 is because on profiles different than your own there is no second column, so -1 just selects the last column regardless.

0
2

The script no longer works on Russian SO.

For example, try looking at this profile.

1
  • 3
    Thanks for the report. The bug has been patched in v2.1
    – Spectric
    Sep 5 at 17:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .