zviryatko

Untitled

Dec 2nd, 2021
690
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. window.alert(Math.floor(Array.from(jQuery('.wallet_history_table tbody .wht_total').map( (i,el)=> el.children.length > 0 ? jQuery(el).find('div').first() : jQuery(el) ).map( (i, el) => jQuery(el).text().trim() ).map( (i, val) => val.substr(0, 1) == '$' ? parseFloat(val.substr(1, val.length - 5)) * 26 : parseFloat(val.substr(0, val.length - 1).replace(' ', '').replace(',', '.')) )).reduce( (prev, next) => prev + next )) + ' ₴')
RAW Paste Data