您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Quick solution for counting the number of jobs completed in the worker history table
当前为
// ==UserScript== // @name Quick and dirty job counter // @namespace mobiusevalon.tibbius.com // @version 0.3 // @require https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js // @include /^https{0,1}:\/\/work\.crowdsurfwork\.com\/reports\/work_data\/worker.*$/ // @author Mobius Evalon // @description Quick solution for counting the number of jobs completed in the worker history table // @grant none // ==/UserScript== $.noConflict(true); $(document).ready(function() { if(!$("#job_count").length) $("#date_filter").after( $('<span/>') .css("margin-left","10px") .attr("id","job_count") .click(function() { var $empty = $("td.dataTables_empty").parent(); $(this).text("Job count: "+$(".tab-pane:visible tbody tr").not($empty).length+" (Click to refresh)"); }) ); $("#job_count").click(); });