43

Preview

What is LegacyQuestions? (install)

LegacyQuestions brings back the old questions list design changed in a recent update.

Changelog

  • v2.0
  • v1.9
    • added support for user's answer & question list (bug report)
    • fixed answer checkmark bug
  • v1.8
  • v1.7
    • fixed statistic number clipping (bug report)
    • optimization
  • v1.6
    • fixed broken statistics caused by structure change
  • v1.5
  • v1.4
    • removed watched tag styling, fix alignment of post statistics (bug report)
  • v1.3
  • v1.2
    • make post statistics responsive (bug report)
    • make match universal to include all question lists
  • v1.1

Browser Support

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

Additional Information

License

Suggestions/Issues

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

Languages/libraries used:

4
  • 1
    Is it too much to ask for a bookmarklet version? Tamper and Greasemonkey don't work for me. I tried appending javascript: to the beginning but it isn't working. I think it might be the jQuery requirement? Jan 25, 2022 at 22:48
  • 2
    @Firedestroyer Would something like this work?
    – Spectric
    Jan 25, 2022 at 22:58
  • It may be worth adding this script to this meta question, since this script is 100% essential. Jan 31, 2022 at 12:53
  • 1
    Here's a updated bookmarklet version. I found a great tool online to do it for me. Here's the bookmarkleted code. Feb 8, 2022 at 17:50

9 Answers 9

7

Votes/Answers/Views listed vertically.

I don't see that any changes to the home page just recently went live, so it may be something under the hood that has broken.

enter image description here

2
  • 2
    It looks like .s-post-summary--stats now includes .s-post-summary in the selector, which gives it more specificity. I tried adjusting the script to match that with .s-post-summary .s-post-summary--stats, and it seems to work. The change could be an accident on SE's side. Feb 7, 2023 at 18:47
  • I'm using @AndrewMyers's fix: sed 's/.s-post-summary--stats{/.s-post-summary .s-post-summary--stats{/g' Feb 8, 2023 at 0:38
6

It seems some recent changes happened:

  • There are ugly attention-snagging golden tags. Could you make them the normal blue instead? The eye is far enough, even though I don't think even that is useful.
  • The "2votes" is squashed onto one line. It didn't use to be yesterday.

enter image description here

I am using chrome, version 1.3.1 of the auto-update version of your userscript.

1
  • 9
    I like the part where the bugged version of this script still looks better than the SE default. Jan 27, 2022 at 18:12
4

I do not know if it's just me, but it seems to work amazingly well in a full-size browser window, but not when I make the browser (Chrome) fill only the right half of the screen: enter image description here

This is still preferable to the new design of course, but it would be nice if you happened to fix this :)

2
  • 1
    Just noticed this and came here to post it. Jan 25, 2022 at 18:12
  • 1
    @Spectric I just tried after your status-complete edit and can confirm it is fixed. Thanks!
    – lucidbrot
    Jan 25, 2022 at 23:41
3

"1 question with new activity" loads in incorrectly.

When a question is bumped to the top, you see this:

enter image description here

Loading the new question yields:

enter image description here

3

Watched tags icons are hidden and leave an empty space in front of the tag name

Userscript disabled:

Userscript disabled

Userscript enabled:

Userscript enabled

0
2

A bug that shows questions with thousands of views as # then on a new line kviews.

Shouldn't it be #K Views?

Bug shows views in thousands as #  kviews

2

This doesn't work for me, because jQuery isn't loaded when the script runs. (GreaseMonkey 4.11, Firefox 97.0b9). I had to add

// @require https://code.jquery.com/jquery-1.12.4.min.js

to the userscript header.

4
  • 2
    GreaseMonkey is notoriously hard to be compatible. Are you bound to GreaseMonkey? If not, check if you can use / like TamperMonkey or ViolentMonkey. Oth, if that line is all that is needed a specific GM4 version seems doable. But I'm not the maintainer, let's see what Spectric has to say.
    – rene
    Feb 8, 2022 at 20:41
  • I don't want to use TamperMonkey because it's not open-source. TIL about ViolentMonkey; I'll switch straight away!
    – pxeger
    Feb 8, 2022 at 20:42
  • Unfortunately it turns out this fix actually breaks chat.stackexchange.com, so you should just switch to ViolentMonkey.
    – pxeger
    Feb 8, 2022 at 20:46
  • ViolentMonkey works fine here. (Brave browser) Feb 9, 2022 at 2:43
2

SE did an update to their website and that broke the way votes/answers/views look like (LegacyQuestions script):

enter image description here

2
  • 1
    Can't reproduce this error anymore. Are you still experiencing that issue on your side?
    – Spectric
    Feb 10, 2022 at 2:35
  • 1
    @Spectric (I had to reinstall browser for personal issues and after that) I installed ViolentMonkey (in Firefox) like suggested in comments above here and it works now. I used GreaseMonkey previously. And, sorry but, I am too lazy to test if GreaseMonkey would work. Feb 10, 2022 at 14:51
2

Can this also be made to improve the user's questions and answers tabs e.g.

https://stackoverflow.com/users/14251221/spectric?tab=answers

They now have way too much whitespace, they looked a lot better before. Unfortunately I don't have a screenshot of the before available.

1
  • Sorry for the delay :P
    – Spectric
    Dec 11, 2022 at 4:26

You must log in to answer this question.

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