您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Moves all the work tags in a blurb below the work stats
// ==UserScript== // @name AO3: Move work tags below stats // @namespace https://greasyfork.org/en/users/1506418-ct9633 // @version 0.1 // @description Moves all the work tags in a blurb below the work stats // @include http*://archiveofourown.org/* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; const tags = document.querySelectorAll("ul.tags.commas"); const stats = document.querySelectorAll("dl.stats"); for (let i = 0; i < tags.length; i++) { stats[i].after(tags[i]); tags[i].insertAdjacentHTML("beforebegin", "<br><br><br>"); tags[i].insertAdjacentHTML("afterend", "<br>"); // tags[i].before(document.createElement("br")); // tags[i].after(document.createElement("br")); } })();