您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds page actions to user blog pages on Fandom wikis
// ==UserScript== // @name Fandom User Blog Actions // @namespace a // @version 1 // @author U.ayaao.p // @description Adds page actions to user blog pages on Fandom wikis // @match *://*.fandom.com/* // @license MIT // @grant none // ==/UserScript== (function() { 'use strict'; var pageTitle = window.location.href.match(/User_blog:.*\/.*/); if (window.location.href.match(/\/User_blog:.*\/.*/)) { // Create the actions dropdown HTML var actionsHtml = '<div class="wds-dropdown">' + '<div class="wds-dropdown__toggle wds-button wds-is-text page-header__action-button">' + '<svg class="wds-icon wds-icon-small"><use xlink:href="#wds-icons-more-small"></use></svg>' + '</div>' + '<div id="p-cactions" class="wds-dropdown__content wds-is-right-aligned wds-is-not-scrollable">' + '<ul class="wds-list wds-is-linked">' + '<li>' + '<a id="ca-history" href="/wiki/' + pageTitle + '?action=history" data-tracking-label="ca-history-dropdown" accesskey="h">' + 'View history' + '</a>' + '</li>' + '<li>' + '<a id="ca-move" href="/wiki/' + pageTitle + '"?action=edit" accesskey="e">' + 'View source' + '</a>' + '</li>' + '<li>' + '<a id="ca-purge" href="/wiki/' + pageTitle + '?action=purge" data-tracking-label="ca-purge-dropdown">' + 'Purge' + '</a>' + '</li>' + '</ul>' + '</div>' + '</div>'; var pageHeaderActions = document.getElementById("p-views"); pageHeaderActions.innerHTML += actionsHtml; } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址