您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This script restores the old bookmark behavior on Pixiv.
当前为
// ==UserScript== // @name Restore old Pixiv bookmarks // @namespace shurikn // @description This script restores the old bookmark behavior on Pixiv. // @include https://www.pixiv.net/member_illust.php?* // @version 2 // @require https://gf.qytechs.cn/scripts/5392-waitforkeyelements/code/WaitForKeyElements.js?version=19641 // @require http://code.jquery.com/jquery-latest.js // @grant none // ==/UserScript== function changeFavButton(elements) { var $button=elements.find("button"); if($button.length>0) { var illustId=new URLSearchParams(window.location.search).get('illust_id'); $button.on('click',function(event){ window.location="/bookmark_add.php?type=illust&illust_id="+illustId; event.stopImmediatePropagation(); }); } } // this id seems to change once in a while, this is the class of the // section holding the bookmark button waitForKeyElements ("._2g7Dix7", changeFavButton);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址