您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
Adds percentages to the JLPT progress bars.
当前为
// ==UserScript== // @name BunPro: JLPT Percentage // @namespace http://tampermonkey.net/ // @version 0.1 // @description Adds percentages to the JLPT progress bars. // @author Kumirei // @include https://bunpro.jp/users* // @require http://greasyfork.icu/scripts/5392-waitforkeyelements/code/WaitForKeyElements.js?version=115012 // @grant none // ==/UserScript== (function() { $('head').append('<style id="BunProPercentageScript">' + ' .profile-jlpt-level .progress .percentage {' + ' position: absolute; '+ ' left: 50%;' + ' line-height: 15px;' + ' transform: translate(-50%,0);' + ' text-shadow: 1px 0px black;' + ' }' + '</style>'); waitForKeyElements('.profile-jlpt-level .progress-bar', function(e) { var percentage = String(Math.round(e.attr('aria-valuenow')*10)/10) + "%"; $(e[0].parentNode).append('<span class="percentage">' + percentage + '</span>'); }); })();