# Useful UserScripts?

I am experimenting with some UserScripts to provide additional functionality that the StackExchange sites currently do not support.

In particular, two have proved highly useful:

I would like to hear about UserScripts that others have found useful on CSTheory.

There are also some generic lists (the functionality of quite a few of these has subsequently been incorporated by the StackExchange sites):

A number of userscripts can be found on StackApps which is our site for apps and add-ons people have written for the Stack Exchange network.

There are quite a few scripts listed there.

Stack Exchange has an experimental feature called timeline view. Currently the timeline page of a question can be reached only by tweaking the URL, but there is a user script by quack quixote which adds a proper link.

By default, the user script does not work on any *.stackexchange.com sites. You have to add the following line to the declaration part:

// @include http://*.stackexchange.com/*


I have been using it for a month and it has never caused a problem as far as I know, which is great.

• Massively useful, thanks! – András Salamon Oct 13 '10 at 16:10
• The user script on Meta Stack Overflow is gone. I found another user script which seems to have a similar functionality, but I have not tried it. – Tsuyoshi Ito Feb 7 '12 at 2:51
• This appears to be a slightly enhanced replacement. Thanks for the pointer! – András Salamon Feb 7 '12 at 10:22
• Note that the replacement script sometimes fails to put in revisions links. I have edited my copy to make the appropriate lines unconditional. – András Salamon Feb 7 '12 at 10:36

Apps details here, hope it helps.

• Wonderful, thanks for adding TeX support! I'm glad my comment above from October has proved to be wrong... – András Salamon Jan 12 '11 at 15:45

I somehow forgot to post the user script “Disable enter for submitting comments” by Jeff Atwood of Stack Overflow Internet Services. As the name says, this user script prevents pressing the Enter key from submitting a comment.

Because I use an input method editor to enter symbols such as quotation marks and mathematical symbols, I find it very difficult to write comments without this user script. I do not think that this applies to many people, but if you are experiencing the same problem, the user script will save you a lot of time.

• This script has been really useful since I started using a third-party editor for browser textarea fields. – András Salamon Feb 7 '12 at 10:20

### bold and colorful area tags

I wrote a script to change the way the area tags are displayed, now they are bold and colorful.

• Nice ! just installed it. – Suresh Venkat Aug 31 '11 at 15:20
• Rather useful, thank you. – András Salamon Aug 31 '11 at 16:17

Here is another user style sheet. The same instruction as my previous one applies.

If you think that the three “share” icons are distracting, the following user style sheet may be useful. This makes the three icons less pronounced. Hovering the mouse restores the original color.

@-moz-document domain(stackexchange.com) {
.gp-share {
opacity: 0.3;
}
opacity: 0.5;
}
opacity: 1;
}
}


I hope that a user style sheet is also acceptable here.

If you are worried too much by your reputation score, the following user style sheet for Firefox may ease your feeling. It hides your reputation score from the header of every page.

@-moz-document domain(stackexchange.com) {
#topbar .reputation-score {
display: none !important;
}
}


To use it, put it in the file 〈PROFILE_DIRECTORY〉/chrome/userContent.css, with 〈PROFILE_DIRECTORY〉 substituted by your profile directory (not surprisingly). You may have to create the 〈PROFILE_DIRECTORY〉/chrome directory by yourself.

I have found these tricks useful:

Not sure if you can call these things UserScripts, though. They are just bookmarks that include a fragment of JavaScript code.

SE editor toolkit

Adds new buttons to the editor (e.g. search and replace) and automates a number of editing tasks (e.g. auto-fixing spelling errors).

Citation Helper