您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
For me the new FPL site is absolutely Garbo when scrolling. Found it seemed to be due to dynamic styling on button for price and next game. Removed that and its beans now. Theres probably a better way but meh
// ==UserScript== // @name Better scrolling performance // @namespace http://tampermonkey.net/ // @version 0.1 // @license MIT // @description For me the new FPL site is absolutely Garbo when scrolling. Found it seemed to be due to dynamic styling on button for price and next game. Removed that and its beans now. Theres probably a better way but meh // @author You // @match https://fantasy.premierleague.com/transfers // @match https://fantasy.premierleague.com/my-team // @icon https://www.google.com/s2/favicons?sz=64&domain=premierleague.com // @grant none // ==/UserScript== setInterval(function() { //when element is found, clear the interval. document.querySelectorAll("div[data-testid=pitch] div[class*=PitchElementData__ElementValue-]").forEach(e => e.className='PitchElementData__ElementValue'); }, 250);