Created
October 23, 2014 04:02
-
-
Save indexzero/8cd3179756f67b0c2524 to your computer and use it in GitHub Desktop.
Show titles you've rated with only a specific rating in Netflix
This file contains hidden or 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
| function showRating (target) { | |
| $('#ratingHistorySection .retable li').each(function (el) { | |
| var child = $(this).find('.rating .starbar'); | |
| var rating = $(child).attr('data-your-rating'); | |
| if (rating != target) { | |
| $(this).hide(); | |
| } | |
| }); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment