您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Moves the projected points column next to the opponent column
// ==UserScript== // @name ESPN Fantasy Football // @namespace https://github.com/chriskim06/userscripts // @description Moves the projected points column next to the opponent column // @match http://games.espn.com/ffl/clubhouse?leagueId=*&teamId=* // @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js // @require https://greasyfork.org/scripts/5392-waitforkeyelements/code/WaitForKeyElements.js?version=19641 // @version 1.0.1 // ==/UserScript== this.$ = this.jQuery = jQuery.noConflict(true); $(function() { waitForKeyElements('#playerTableHeader > ul > li:first-child[id="current"]', rearrange); function rearrange(jNode) { if ($('#playertable_0').length) { $('#playertable_0 tr').each(function() { if ($(this).hasClass('playerTableBgRowHead')) { $(this).children(':eq(2)').attr('colspan', 3); } else { $(this).children(':eq(4)').after($(this).children(':eq(12)')); } }); } } });