Habrahabr Enhancement Suite
Hi, Geektimes.
You can consider this post a kind of continuation of the post Natural Geektimes from awaik , as well as my post on the Haber with a proposal to use on the pages "natural" formulas in pure TeX and connect the bookmarklet / user script MathJax.
Constantly there is a desire to change something, to somehow customize for myself, and, as you can see, I'm not the only one. Hence the idea of making one user script with the options I personally wanted, and then invite the community to add their pull-requests (and wishes in issues, of course).
Github: https://github.com/keyten/HES .
How to install: click (need GreaseMonkey for Firefox or TamperMonkey for Chrome (and browsers based on it)) ..
For the answer, how to make the right link, thanks Taumer .
Thank you for the name a553 .
Features:
- Night Mode (used style from WaveCut ).
- Transformation of pictures into "natural" formulas (TeX, MathJax).
- Hide posts from certain authors from the list (editors Geektimes, etc).
- There is a partial hide (looks much better than the full one):
- Hiding dice with userinfo (done by Amomum request ):
About formulas a little more
In August of this year, parpalak created an editor that converts Markdown + LaTeX to html + images. The addresses of the images look like
https://tex.s2cms.ru/svg/формула_в_TeX
it is the script that searches for them, replaces them with live TeX, and then connects MathJax, which shows these formulas live. What for? First: I personally like the font used by MathJax much more, it is much easier and more pleasant to read (IMHO).
Second: you can right-click on them and get clean code in TeX.
And the third: these formulas can be distinguished, from which personally I get aesthetic pleasure.
You can see it in any of the maisvendoo hubs , for example, here . Occasionally, there are formulas that MathJax cannot handle, just hover over them - the user script will react (to the presence of the merror tag) and show the original image.
UPD. The script has learned to respond without guidance, thanks extempl .
Settings are hidden in the settings menu:
For Habr, GT and MM settings separately (using localStorage).
That's, like, that's all. Questions, ideas, wishes?
PS I apologize to spmbt , I'm allergic to HabrAjax.