您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Shows the subcategory name of a transaction as a tooltip
// vim: ts=4 sts=4 sw=4 et // ==UserScript== // @name Thrive Show Subcategory Names // @namespace www.arthaey.com // @description Shows the subcategory name of a transaction as a tooltip // @include https://www.justthrive.com/* // // Backed up from http://userscripts.org/scripts/review/38014 // Last updated on 2008-12-03 // @version 0.0.1.20140612212415 // ==/UserScript== window.addEventListener("load", function() { var transactions = document.evaluate( "//li[contains(@class, 'tagIcons')]/h6", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null); var transaction; for (var i = 0; i < transactions.snapshotLength; i++) { transaction = transactions.snapshotItem(i); transaction.title = transaction.textContent; } }, true);