As of September 8th, 2021, accepted answers are no longer pinned on Stack Overflow and probably soon on other sites in the network as well. For some users, this is the realization of a long-standing request; other users might prefer the old situation. For them, I wrote this simple user script which pins the accepted answer at the top.

That is, if it's on the same page (some questions have so many answers they need to be paginated) and self-answers are not pinned (unless they rank highest in votes/oldest/active, as before).


developed & tested with Violentmonkey on Firefox

  • Thanks for contributing this script. Can you also provide step by step guide on how to install this? Or provide link to guides on installing similar script. Many thanks!
    – SeaBean
    Sep 9, 2021 at 13:04
  • @SeaBean you're welcome. Please have a look at the script tag wiki.
    – Glorfindel
    Sep 9, 2021 at 15:23
  • 1
    Thanks @Glorfindel I got it installed successfully. With the aid of a tool, I can now enable and disable pinning the accepted answer at the top with just a click. Most probably I will leave it turned on for pinning accepted answers at the top permanently. Thanks for the kind contribution again! :-)
    – SeaBean
    Sep 9, 2021 at 16:15
  • hm, can we have the same but for to unpin accepted answer, hm? possible?
    – MolbOrg
    Sep 25, 2021 at 19:17
  • @MolbOrg that is going to be the default on almost all sites, see the linked posts.
    – Glorfindel
    Sep 25, 2021 at 19:24
  • I came from that post(almost from a different meta), just decided to join this place and write here not there, lol. idk, at the place, I'm interested in, votes split 50/50 (worldbuilding), not sure we apply for unpinning this way, so at least for desktop, where I can have user scripts, I thought, I may test and keep it if we do not apply for unpinning. I know it already on StackOverflow, but it for a different se
    – MolbOrg
    Sep 25, 2021 at 21:04
  • 1
    @MolbOrg if a significant number of sites decides to keep the old behaviour, I'll write another version of the script. But perhaps there is one already out there which unpins accepted answers...
    – Glorfindel
    Sep 26, 2021 at 6:50


You must log in to answer this question.

Browse other questions tagged .