Quick installation for the impatient. Choose your browser below:
Detailed instructions for any browser are below.
I hereby proudly present a browser user-script (userscript) which adds the required functionality to the editor of mathematica.stackexchange.com. This script is the slightly changed version of the Ask Ubuntu Toolbar Buttons which only exists due to the incredible work of Nathan Osman.
Additionally, I added a button which is maybe rarely used, but when it is used, it saves a lot of tedious html-tag typing. With it you can insert shortcuts easily. Just click the button and insert the short-keys separated by space. Therefore, when you type
Ctrl C in the dialog you get Ctrl+C.
Chrome users can download this extension directly in the Google Chrome Webstore.
Additionally, the script can be found on GitHub where you can have a look at the code or download it. To install it, please use this direct link to
and install it into your browser. I have tested the script in Linux and Mac OSX.
In Chrome you install it by storing the file
m_toolbar.user.js locally onto your hard-drive. Then you go in Chrome to Menu->Tools->Extensions and drag&drop the file there. After a reload of the SE page, the buttons should appear.
In Safari (I tried OSX 10.6 and 10.8) one easy way is to use NinjaKit, which is an extension that lets you install user scripts.
First, download the file NinjaKit.safariextz and install it by double-click.
After that you should see a ninja-star-like button in Safari
where you can manage your user scripts.
Safari 13: The following workaround using "Extension Builder" does not work anymore.
MacOS 10.14: Extensions such as NinjaKit are depreciated as of MacOS 10.14. Use the workaround detailed here to get around this problem. You may need to re-enable NinjaKit every time you restart Safari using the Safari menu Develop > Show Extension Builder.
Second, click on the link to m_toolbar.user.js. You should see a pop-up like this
A click on Install finishes everything up. Another click on the ninja star button shows you now the installed Mathematica script
If clicking on the above link to
m_toolbar.user.js doesn't work, try the following:
- Download m_toolbar.user.js](https://github.com/halirutan/SE-Editor-Buttons/raw/master/src/m_toolbar.user.js) as a text file.
- Click the NinjaKit button then NinjaKit's "Add new script" button.
- Copy the downloaded
m_toolbar.user.jsand paste it into the "Add new script" window, overwriting the skeleton script that's already there.
- Click the Save button at the very bottom of the window. (The name of the script embedded in the copied
.js will automatically be used for the name.)
For other browsers please read the existing article on stackapps about how to install user scripts.
8. July 2013
- Issue concerning Canceled dialog-boxes and empty input fixed
- Updated tool-tips for a better English. Thanks to m_goldberg for the help.
23. October 2013
- The dependent
jquery.livequery.js is now loaded from googlecode
- Introduced another button for the stripping of
Out= marks. For this you have to select the complete codeblock where the
In is the first letter in the selection. Pressing the button removes the marks and comments out the output.
\[Element] to the list of replaced glyphs
- Buttons-style is now more consistent with the webpage.
27. October 2013
28. October 2013
- ssch extended the
Out cell label remover to work with several in- and outputs. Additionally, it can handle all kinds of Forms (like
- I moved the code into an official repository which is linked under the section Installation above.
21. April 2015