您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
ein Skript zur Anzeige der Punkteabstände im Forum
当前为
// ==UserScript== // @name HP-FC:Punkteabstand // @author Nugorra // @namespace hpfcpunkteabstand // @description ein Skript zur Anzeige der Punkteabstände im Forum // @include http://www.hp-fc.de/hpfc/board/* // @version 2.0.0 // @grant none // @require https://code.jquery.com/jquery-3.1.0.slim.min.js // ==/UserScript== var i = 0, speicher = 0, house = [], points = []; $(document).ready(function(){ $('#infobox').css({"display":"flex", "flex-direction":"row-reverse", "flex-wrap":"wrap"}); $('#infobox #infotop1').css({"flex":"0 0 99.8%", "order":"1"}); $('#infobox #infotop2').css({"flex":"0 0 99.6%", "order":"2", "height":"11px"}); $('#infobox #inforight').css({"order":"3", "width":"auto", "float":"none"}); $('#infobox #infocenter').css({"flex":"3 0 0", "order":"4", "margin-left":"auto", "margin-right":"auto"}); $('#infobox #infoleft').css({"flex":"1 0 0", "order":"5", "width":"auto", "float":"none"}); $('#inforight #punktglaeser li').each(function(element){ house.push($(this).attr('class')); points.push($(this).find('.punktzahl').html().replace(".","")); }); while(points[i+1] > 0){ speicher = points[i] - points[i+1]; $('#punktglaeser li.'+house[i]).append('<span class="punktzahl">(+' + punkt(speicher) + ')</span>'); i++; } }); function punkt(x){ return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, "."); }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址