Created
May 22, 2017 19:30
-
-
Save intel352/580d3f1acc8189eb92c0ab5dcb1a5ac9 to your computer and use it in GitHub Desktop.
Filter wizardofodds online casino list by 5-star, wizard seal, US friendly.
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
// For use on https://wizardofodds.com/online-gambling/all-casinos/ | |
$('div#all_casinos_area table.data td').filter( | |
function(index){ | |
if ( (index%5) === 1) { | |
var el = $(this).find('span.filled-stars'); | |
var width = el.width(); | |
var parentWidth = el.offsetParent().width(); | |
var percentWidth = 100*width/parentWidth; | |
if (percentWidth <= 90) { | |
// remove low ranked | |
//console.log(percentWidth); | |
return true; | |
} | |
} | |
if ( (index%5) === 2) { | |
var el = $(this); | |
if (el.text() === 'NO') { | |
// remove non-wizard-seal | |
return true; | |
} | |
} | |
if ( (index%5) === 3) { | |
var el = $(this); | |
if (el.text() === 'NO') { | |
// remove non-US | |
return true; | |
} | |
} | |
return false; | |
} | |
).parent().remove(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I’ve been into CS:GO case opening sites for a while now, and I know how important it is to get bonus codes that actually work. A lot of sites either don’t update frequently or list expired ones. That’s why I started using https://csgorollpromocodes.com/ — they keep the promo codes fresh and verified. I recently grabbed a code from there and got a legit bonus on CSGORoll without any issues. The layout is simple, and you don’t have to scroll through junk to find what you need. Honestly, if you're tired of clicking expired codes, this site is a solid time-saver.