您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Entfernt doppele Fragen in Nextdoc
// ==UserScript== // @name Nextdoc Doppelte Fragen Entfernen // @namespace fragensammlung@nextdoc // @include http://www.nextdoc.at/fragensammlung?* // @version 1 // @require http://code.jquery.com/jquery-1.9.1.min.js // @grant none // @description Entfernt doppele Fragen in Nextdoc // ==/UserScript== $(document).ready(main); function main() { counter = 0; $('.view-quizes .views-row').each(function(){ if( $(this).find('div.comment-wrapper div.content').filter(function(){ return $(this).text().trim().toLowerCase()=="doppelt"; }).length > 0 ){ $(this).remove(); counter++; } }); $('.view-header div:last').append('; '+ counter+ ' als "doppelt" markierte Fragen entfernt.'); }