您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
iseng
// ==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);