Skip to content

anavaino/TeXtheWorld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TeXtheWorld Safari Extension

Abstract

This is an extension for Safari to support embedded LaTeX on Reddit. This was originally done because installing Ninjakit (a GreaseMonkey clone for Safari) fell off the radar and it seemed simpler to just make an extension for personal use.

Get the Extension

A prebuilt extension that has been briefly tested with Safari 10.1.1 and Safari 10.2 (Technology Preview) is available here. It will require you to trust it since it's not a published extension. Caveat emptor. If you have issues with it, report them here or send a message to /u/Anavaino on Reddit.

Is It Working?

You can see if it's working for you by going to /r/math and scrolling down to the Using LaTeX section on the sidebar. Depending on how you installed it and answered dialogs, it may be installed but not enabled. In Safari, press ⌘-, (command-comma) or select Safari->Preferences... from the menu bar, then click Extensions at the top and check the box next to TeXtheWorld to enable it.

Detail

This is an extremely simple Safari extension that runs TeXtheWorld Javascript in Safari on Reddit. It was written in roughly 10 minutes in order to see the embedded LaTeX used on Reddit's /r/math. Writing this README and creating the repository took far longer. The Javascript came directly from a link in /r/math's sidebar. The suggestion to Open Source it came from Reddit user /u/sheyneanderson since the author (me - your brother) was too stupid to think of it himself.

It's configured to run on all of Reddit, but nowhere else. You can easily modify this using Safari's built-in Extension Builder. Apple's documentation for it is here.

References & License

The bulk of the work comes from thewe.net via their currently (25 May 2017) unmaintained Javascript.

The permissive MIT License has been applied to this; however, it does not apply to the TeXtheWorld Javascript since it seems to come unlicensed. The intent is not to restrict this but rather to protect it from being taken over by someone intending to commercialize it with no recourse. A recent Bourbaki study ranked TeX extensions as one of the most commericially profitable browser extensions in the history of the World Wide Web*. One can never be too cautious.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published