您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Reusable library that initialized the boxicons css and serves functions to turn stats and menus into icons
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.gf.qytechs.cn/scripts/497064/1433536/AO3Boxicons.js
Create a new User Script with content that looks roughly like this:
// ==UserScript==
// @name AO3 Stat Icons
// @match https://archiveofourown.org/*
// @author you
// @description Adds icons for stats
// @namespace ao3-fonts-and-icons
// @version 1.0.0
// @icon https://archiveofourown.org/favicon.ico
// @require https://update.gf.qytechs.cn/scripts/497064/1397208/AO3Boxicons.js
// ==/UserScript==
(function () {
IconifyAO3({
iconifyStats: true,
iconifyUserNav: true,
});
})();
Will turn the Stat names and the user navigation links into icons.
All described properties have to be in the settings object that is given to IconifyAO3
.
boxiconsVersion: String
- used version of boxicons. (default: "2.1.4"
, check boxicons.com for updates)iconifyStats: Boolean
- if set to true
, stat titles will be turned into icons. (default: false
)statsSettings: Object
- sets individual options for stat icons. See below. (default: {}
. Leaves all stat icons as picked by me)iconifyUserNav: Boolean
- if set to true
, user navigation texts will be turned into icons. (default: false
)userNavSettings: Object
- sets individual options for user nav icons. See below. (default: {}
. Leaves all navigation icons as picked by me)Define individual icons and tooltips, using the statsSettings
object.
iconClass: String
- name of boxicon icon (see https://boxicons.com)solid: Boolean
- sets the icon as solid or not. See selected icon properties on https://boxicons.comtooltip: String
- description that shows on mouse hover. Default is stats titles.{
statsSettings: {
kudosOptions: { solid: false }
}
}
Will turn the solid heart for kudos into an unsolid heart. Note that the default settings will stay intact if not overwritten here.
wordCountOptions
, chaptersOptions
, collectionsOptions
, commentsOptions
, kudosOptions
, bookmarksOptions
, hitsOptions
, workSubsOptions
, authorSubsOptions
, commentThreadsOptions
, fandomsOptions
, workCountOptions
, seriesCompleteOptions
, kudos2HitsOptions
, timeToReadOptions
, dateWorkPublishedOptions
, dateWorkUpdateOptions
, dateWorkCompleteOptions
Define individual icons and tooltips, using the userNavSettings
object.
iconClass: String
- name of boxicon icon (see https://boxicons.com)solid: Boolean
- sets the icon as solid or not. See selected icon properties on https://boxicons.comtooltip: String
- description that shows on mouse hover.{
userNavSettings: {
accountOptions: { iconClass: "user-rectangle" }
}
}
Will turn the round user icon into a rectangular one. Note that the default settings will stay intact if not overwritten here.
accountOptions
, postNewOptions
, logoutOptions
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址