11
$\begingroup$

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):

| |
$\endgroup$

10 Answers 10

9
$\begingroup$

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.

| |
$\endgroup$
5
$\begingroup$

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.

| |
$\endgroup$
  • $\begingroup$ Massively useful, thanks! $\endgroup$ – András Salamon Oct 13 '10 at 16:10
  • 1
    $\begingroup$ 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. $\endgroup$ – Tsuyoshi Ito Feb 7 '12 at 2:51
  • $\begingroup$ This appears to be a slightly enhanced replacement. Thanks for the pointer! $\endgroup$ – András Salamon Feb 7 '12 at 10:22
  • 1
    $\begingroup$ Note that the replacement script sometimes fails to put in revisions links. I have edited my copy to make the appropriate lines unconditional. $\endgroup$ – András Salamon Feb 7 '12 at 10:36
5
$\begingroup$

StackPrinter produces an essential printable view of a given question id with all the answers and all the comments.

I have added TeX support for your printing/reading pleasure, here an example.
Apps details here, hope it helps.

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

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.

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

bold and colorful area tags

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

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

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;
  }
  .fb-share, .twitter-share {
    opacity: 0.5;
  }
  .gp-share:hover, .fb-share:hover, .twitter-share:hover, .gp-share:focus, .fb-share:focus, .twitter-share:focus, .gp-share:active, .fb-share:active, .twitter-share:active {
    opacity: 1;
  }
}
| |
$\endgroup$
5
$\begingroup$

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.

| |
$\endgroup$
4
$\begingroup$

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.

| |
$\endgroup$
3
$\begingroup$

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).

| |
$\endgroup$
2
$\begingroup$

Citation Helper

Adds a button for adding citations. See this demonstration video.

| |
$\endgroup$

You must log in to answer this question.

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