Created
August 22, 2022 14:45
-
-
Save sertalpbilal/8d6527f7d5f21ce37e85115bea5b1886 to your computer and use it in GitHub Desktop.
Get Rank in FPLReview Elite 1000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getMyRank = () => {let me = parseFloat(jQuery("#my_dataviz9 .bubbles[r=6]")[0].getAttribute("cy")); let others = jQuery("#my_dataviz9 .bubbles[r=2]").toArray().map(i => parseFloat(i.getAttribute('cy'))); return others.filter(i => i < me).length + 1}; getMyRank() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment