Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.get(url3, function(data3){
- var tuningVariables = $(data3).find('.tuningoptions script').text().trim().replace(/var /g,"").split(';');
- var tuningValues = {};
- $.each(tuningVariables,function(i){
- var temp = tuningVariables[i].replace(/"/g,"").split(' = ');
- tuningValues[temp[0]] = temp[1];
- });
- console.log(tuningValues);
- });
Add Comment
Please, Sign In to add comment