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://gf.qytechs.cn/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)'));
}
});
}
}
});
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址