Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

SOFU links pasted into questions get automatically replaced by the question title. This has been this way for some time now, and it's great.

However, it is missing from comments. This is very annoying, but apparently by design, although I don't really understand why.

Anyway, seeing as this is probably unlikely to change - does a Greasemonkey or user script exist that emulates the behaviour? Meaning that if I attempt to post a comment with a raw SOFU link in it, the script automatically looks up the question title, and replaces the link, before it gets submitted.

(If it's possible at all to do this - I have no idea whether an Ajax question title lookup is doable....)

share|improve this question
We have a whole site for standalone apps and browser enchancements to the SE network! – Rebecca Chernoff Apr 30 '11 at 22:38
@Rebecca for future reference, is Stackapps also the right place to request stuff that doesn't yet exist there? – Pëkka May 1 '11 at 15:57
Unfortunately Userscripts aren't available on mobiles/ipad – Michael Freidgeim May 4 '13 at 21:43
I posted a related userscript at Add markdown quick-links to the share dialog? – brasofilo Sep 29 '14 at 14:58
up vote 9 down vote accepted

I wrote a script for this purpose. Please see this StackApps posting for more information.

share|improve this answer
Brilliant, thanks very much! I will look into this later today. – Pëkka Apr 30 '11 at 16:47
Very nice, works like a charm. Thanks! – Pëkka May 1 '11 at 17:33
one more report, I cannot paste deleted post link anymore - probably getting error and comment does not get submitted. – YOU May 2 '11 at 12:43
@YOU Ah, good catch, this should be fixed now (it'll just leave the link as-is) – Tim Stone May 2 '11 at 15:20
Nice, its working now. Thanks again. – YOU May 2 '11 at 15:23

As a workaround, George Edison was kind enough to write Copy Question Link Markdown - Making it easier to copy links to questions! This script adds a copy button to questions, which generates markdown with the link and question title, e.g. [Userscript to auto-replace SOFU links in comments?](

Note that both the link text and the description text will count against the comment length limit. You may want to trim the URL down to

share|improve this answer
Excellent, this is a big step already! – Pëkka Apr 30 '11 at 15:56
@Pekka: That's a great idea for my script (trimming the length of the generated URL). – uɐɯsO uɐɥʇɐN Apr 30 '11 at 19:10

You must log in to answer this question.

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