您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically adds ar5iv links to arXiv paper pages for easier HTML viewing.
当前为
- // ==UserScript==
- // @name Add ar5iv Links to arXiv
- // @namespace http://tampermonkey.net/
- // @version 1.0
- // @description Automatically adds ar5iv links to arXiv paper pages for easier HTML viewing.
- // @description:ja arXiv論文ページにar5ivリンクを自動追加し、HTMLでの閲覧を容易にします。
- // @author sho9029
- // @match https://arxiv.org/abs/*
- // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
- // @grant none
- // @license MIT
- // ==/UserScript==
- (function() {
- 'use strict';
- const ul = document.querySelector("#abs-outer > div.extra-services > div.full-text > ul");
- const li = document.createElement("li");
- const a = document.createElement("a");
- a.href = window.location.href.replace("arxiv", "ar5iv");
- a.textContent = "HTML (ar5iv)";
- li.appendChild(a);
- ul.insertBefore(li, ul.children[3]);
- })();