您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
add link to your skins and drafts to the dropdown menu
当前为
- // ==UserScript==
- // @name ao3 add menu items
- // @version 0.2.1
- // @namespace https://greasyfork.org/users/36620
- // @description add link to your skins and drafts to the dropdown menu
- // @author scriptfairy
- // @match http://archiveofourown.org/*
- // @include https://archiveofourown.org/*
- // @grant none
- // ==/UserScript==
- (function($){
- $('body').ready(function(){
- var name = $('ul.navigation li:first-child a').attr('href');
- name = name.slice(name.lastIndexOf('/')+1);
- $('#greeting li.dropdown:first-child ul.menu li:first-child').after($('<li><a href="/users/'+name+'/skins">My Skins</a></li>'));
- $('#greeting li.dropdown:first-child ul.menu li:contains("My Collections")').after($('<li><a href="/users/'+name+'/works/drafts">My Drafts</a></li>'));
- });
- })(window.jQuery);