MathJax Kaskus

iseng

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name           MathJax Kaskus
// @namespace      https://code.google.com/p/mathjax-kaskus/
// @version        0.1
// @description    iseng
// @include        /^https?://www.kaskus.co.id/thread/*/
// @include        /^https?://www.kaskus.co.id/lastpost/*/
// @include        /^https?://www.kaskus.co.id/post/*/
// @include        /^https?://www.kaskus.co.id/group/discussion/*/
// @include        /^https?://www.kaskus.co.id/show_post/*/
// @include        /^https?://www.kaskus.co.id/post_reply/*/
// @include        /^https?://www.kaskus.co.id/edit_post/*/
// @copyright  2014+, ( fauzieuy )
// @author         http://www.kaskus.co.id/profile/2200164
// ==/UserScript==

var mathjax = document.createElement('script');
mathjax.type="text/javascript";
mathjax.src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";

var mathjaxConfig=document.createElement('script');
mathjaxConfig.type="text/x-mathjax-config";
mathjaxConfig.innerHTML= "MathJax.Hub.Config({   tex2jax: {inlineMath: [['$','$']]} });";

var head=document.getElementsByTagName('head')[0];
head.appendChild(mathjax);
head.appendChild(mathjaxConfig);