您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds functionallity to toggles cascaded comments on mydealz.de
当前为
// ==UserScript== // @name MyDealz Toggle Comments // @namespace http://www.mydealz.de/profile/richi2k // @version 0.2 // @description Adds functionallity to toggles cascaded comments on mydealz.de // @author richi2k // @require https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js // @match http://www.mydealz.de/* // @grant none // ==/UserScript== (function() { 'use strict'; // hides all quoted content except those without a header $(".bbcode_quote_head .bbcode_quote_body").hide(); // sets 'pointer' as cursor to indicate, that the element is clickable $(".bbcode_quote_head").css("cursor", "pointer"); $(".bbcode_quote_head").click(function(){ // toggles the related content area $(this).siblings(".bbcode_quote_body").toggle(); }); })();