Tag Info

Hot answers tagged

25

Deprecated. I'm afraid I've sort of abandoned my UserScript conversion of this extension. It was quite buggy and extremely difficult to debug. It would take less effort to write a UserScript version from scratch. – George Edison♦ Dec 20 '11 at 0:51 See new script here Stack Exchange Post Editor - Performing Basic Corrections on Posts Automatically I ...


14

Bug report: Inline editing breaks this :-(


8

Bug report: Using George Edison's UserScript version. FF4.0 windows Vista - nothing shows up in the toolbar. The same installation on chrome (10.0l.648.204) is intermittent - sometimes the buttons show up and sometimes they don't.


7

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


7

Inheriting indention when pressing enter What I'd like to suggest is that if you press enter, the indentation is copied from the line you're coming from, and then automatically put before the next line. This would make it a bit easier to type out code on SO. Of course this would create the problem that people who would want to end their code would be ...


6

Markdown. While you could use HTML (just like you can in posts), each time you use HTML instead of Markdown to format a post, Evan Carroll rapes a little kitten and sticks another needle in his Jeff Atwood voodoo doll.


3

Okay, went ahead and banged out a script for this; Happy Christmas! To install, click here (SE Edit Reasoner install at Github). To preview the source, click here (SE Edit Reasoner preview at Github). This userscript requires an engine that supports both @require and the various @granted APIs. It was tested on Firefox + Greasemonkey and Chrome + ...


3

Place to dump list of all mathjax sites. I will take a look at these and determine which configuration to give to each one, and if they need extra buttons. http://stats.stackexchange.com Dollars (Implemented 1.0.3) http://meta.stats.stackexchange.com Ditto http://math.stackexchange.com Dollars only(implemented) ...


3

This uses the jQuery .on(...) feature which is only available in 1.7 and up. Careers is still using an older version and you get an exception on every page right now with this installed. We will be updating soon, but it would be nice if you could add a config page to turn it on/off for each site.


2

// Provide quick documentation links in Stackoverflow editor // // ==UserScript== // @name SO doc shortcuts+ // @description Adds extra buttons to turn selected text into online manual links // @version 0.1 // @namespace data:,00000000000000000000000000000000e3272d8553c99672fa541449b491dd05 // @include ...


2

I just installed the latest userscript version and I don't get a toolbar for Super User or Stack Apps. Server Fault and Stack Overflow do work. I haven't tried any others.


2

Full list of supported buttons: Buttons used in many sites Dollarify ($) Encloses selection in $...$ Enabled on all supported sites Keyboard shortcut: Alt-M Works differently on electronics.SE (gives \$...$\ because these people talk about money as well and mathjax needs escaping) Double Dollarify ($$) Encloses selection in $$...$$ Enabled on all ...


2

There should be a StackExchange method you could hook into, but I don't see it. Also, post text can change for a few reasons. (The user finished an edit, or clicked on a snippet button, or clicked on one of those "This post has been edited" alerts, or triggered a spoiler, etc.) To keep things simple and robust, I recommend just using an interval. EG: var ...


1

I'd like to report a bug. I think I pointed that out already earlier, but since we are at version 3 now I thought I give it another try. (I have no idea about scripting this in the first place.) Buttons and preview disappear when running the script. Here is a screenshot to illustrate the problem: I am running it on Windows 7, Chrome 41.something with ...


1

The way SOUP handles this is by using a jQuery .ajaxComplete handler to detect when new content is loaded dynamically. SOUP actually has a set of wrapper functions that encapsulate this functionality, but here's a simple stand-alone example from this script, which I originally wrote for SOUP but decided to also make available separately: // re-run the ...


1

Here's a Greasemonkey / Tampermonkey script that'll run a stop watch until an edit reaches 5 minutes of age. Give it a try and see what you think. It might have bugs, but it's close enough for government work I think. (That's a United States idiom meaning it has the mediocre quality one might expect from the lowest bidder, but it works well enough.) Bear ...


1

last_editor will be missing (empty) from the results when the last editor is a deleted user. This deleted user does not have to be the owner, or original poster, of a given question or answer. For example, see this answer -- which looks like this in the API: { "owner": { "user_id": 362168, "user_type": "registered", "display_name": "Saqueib" ...


1

The markdown code supposedly lives at the pagedown project on code.google.com. (Reference) You may also find these files to be useful: The commented, human readable version of wmd.js The commented, human readable version of full.js Personally, I find it easier to just use normal <textarea> processing followed by a call to ...


1

Version history: 1.0 1.0.1: Fix the \ce{} highlighting bug. It now highlights properly even when you haven't selected anything. (Makes it useful to just hit Alt-C/whatever and start typing the formula) 1.0.2: Add electronics.SE (with config $,$$,SI--special treatment of $ due to EE.SE requiring backslashes). Also crypto.SE (config $,$$, O--big O notation) ...


1

It would be nice to have a script option to adjust the indentation size. I, for one, would probably find an indent size of two spaces helpful. (Many questions I'm editing to correct indentation are not aligned nicely on four-space indents.)


1

"How are supposed to find this page?" There is a link to the page for registering an application on Stack Apps directly on the site home page:


1

Great script! However, I've got a bug report: On Electrical Engineering, where the $ button creates \$ braces (thanks for that exception, by the way), the SansSerif button still creates $ braces, which do not work. I'm not sure what makes the Sans Serif font look so bad, it may be an issue with the configuration on my machine. Don't worry about that, ...


1

Meta-notices for this: (just for me to keep track) http://meta.physics.stackexchange.com/questions/1233/math-and-si-formatting-buttons http://meta.chemistry.stackexchange.com/questions/70/mathjax-formatting-buttons-for-you http://meta.math.stackexchange.com/questions/4111/mathjax-formatting-buttons-for-you-guys ...


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

Feature request: Make the case-change button do a three way toggle: lower, title and upper (probably in that order). lower case Title Case UPPER CASE There are occasionally legitimate needs for all caps.



Only top voted, non community-wiki answers of a minimum length are eligible