Last active
December 17, 2015 15:19
-
-
Save ajitam/5631310 to your computer and use it in GitHub Desktop.
Torrentleech - movies downloded times... (Minimalist - Chrome extension)
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
var times, | |
opacity; | |
$("#torrenttable tbody tr").each(function() { | |
times = $(this).find('td').eq(5).text(); | |
//console.log(parseInt(times.replace("times", ""),10)); | |
opacity = (parseInt(times.replace("times", ""),10))*0.000225; | |
$(this).css('background-color', 'rgba(255,0,0,'+opacity+')'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment