Hot answers tagged user-script
9
Unfortunately the news is bad all around.
Sathya has updated the tag wiki for script to include the following paragraph:
As of May/June 2012, Chrome no longer allows for direct installations of off-store extensions. To install them, you'll have to download/save the .user.js file, open chrome://chrome/extensions/ (or Click on Wrench -> Tools -> ...
4
Why not use this to add the button? It preserves the integrity of other buttons, and ensures that a button does not get added twice (for example, when in the review section, it will only add the buttons to the editors which don't have it.
//params: text: text of button
//params: callback: a function which takes id of textarea as argument(useful in review ...
3
THANK YOU
Thank you, thank you, thank you! Having a consistent response to validating an edit, and not seeing the edits I've already reviewed over and over, makes reviewing suggested edits so much less painful.
There's a quoting bug when a title contains characters that are active in HTML is moved to the top. This is how Executing elements inserted with ...
2
For those who prefer Opera, you can create a simple CSS file to auto-hide ignored tags (not just grey out those tags) ...
.tagged-ignored
{ display: none !important }
Call it SE.css and save it somewhere - then tell Opera to use it for your SE sites. (need to set it per SE site).
Enjoy!
2
You can actually just pass in window.location.hostname directly:
This parameter can be the full domain name (ie. "stackoverflow.com"), or a short form identified by api_site_parameter on the site object.
(emphasis mine)
Since the site does not provide the short form to you directly anywhere, going the full hostname route is probably your best bet.
...
2
Instead of linking to a .tar.gz archive, don't you think it's more practical to link to the raw file instead so it can be installed immediately?
Click here to install the script
It seems more logical to me.
Also, there is a small problem that you can add tags to your search query multiple times.
If a tag is already in the search query, it should not be ...
1
First of all, I like your script; it's nice and concise!
Just two small observations:
It's incompatible with Google Chrome (unless Tampermonkey is installed) - due to the @require statement, requiring jQuery. You could rewrite the small bits of jQuery into vanilla JS to easily overcome this.
When the review queues look like this:
Close Votes: 52.2k
...
1
Release notes
Date Version Changes 3-10-2012 0.1.0 alpha 1 Initial version
4-10-2012 0.1.0 alpha 2 Changed regular expression @include to match
all StackExchange sites
4-10-2012 0.1.0 alpha 3 Added mathoverflow.net to @include RegEx
11-10-2012 0.1.0 alpha 4 ...
1
In order to properly see the scroll bar when you scroll down, there needs to be a background-color. There isn't currently one set for the toolbar, so as a result, when you scroll down, you can't really see the words. So under #custom-header, you need to add background-color:#E9E9E9. That is the color that SE has picked for the toolbar. The problem with this ...
1
I've added a fix to point 3 over here (it's forked)
It deals with <kbd>[selected text]</kbd> and [<kbd>text</kbd>], where the [] denotes selection.
It will not deal with wierd stuff like <kb[d>text</kbd>]. (Could be done using regexes)
1
Bug Report
Go to a tag page, for example this one.
You will see a question, such as this:
Find the vote and answer count on the left.
Click the vote count.
You will then get a message in the error console that says Post ID not found! Please report this at http://stackapps.com/q/3082/9699
So now I'm reporting it.
1
This would actually warrant a separate post. But I can't be bothered to make it look nice. So, if anyone wants to pick it up..
Question voting from the main view
So it was 23:57 and I forgot to spend all my votes for the day. Obviously I didn't write this script right then, but laboriously clicked through interesting questions to upvote one by one. But to ...
Only top voted, non community-wiki answers of a minimum length are eligible


