您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
beautify arxiv
当前为
// ==UserScript== // @name arxiv html beautify // @namespace http://tampermonkey.net/ // @version 0.1 // @description beautify arxiv // @author dlutor // @match https://arxiv.org/html/* // @icon https://www.google.com/s2/favicons?sz=64&domain=arxiv.org // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; window.onload=function(){ document.querySelector("body > header.desktop_header").remove(); document.querySelector("#main > div > div.package-alerts.ltx_document > button > span").click(); const style = document.createElement('style'); style.innerHTML = `.ltx_p, .ltx_abstract .ltx_p{ font-family: 'STIX Two Math';} .ltx_transformed_inner>.ltx_p{ font-family: auto;}`; document.head.appendChild(style); document.querySelector("#openForm").remove(); } // Your code here... })();