您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A small line of code that removes all the useless likes and reblogs without comments from the notes list below a post.
// ==UserScript== // @name Tumblr note cleanup // @namespace Nope. // @version 1.5 // @description A small line of code that removes all the useless likes and reblogs without comments from the notes list below a post. // @author Dasky14 // @match */post/* // @grant GM_addStyle // @require http://code.jquery.com/jquery-latest.js // ==/UserScript== var LoopCount = 10; var i = 0; $('body').on('click', '.more_notes_link',function() { if (i == 0) { clearInterval(loadNotesInterval); var loadNotesInterval = setInterval(function() { if ($('.more_notes_link').length) { i++; $('.more_notes_link').click(); if (i >= LoopCount) { i = 0; clearInterval(loadNotesInterval); } } else { i = 0; clearInterval(loadNotesInterval); } }, 1000) } }); GM_addStyle ( ".notes .note.without_commentary{display:none} .notes .note.reply{display:inline}" );