Last active
April 20, 2017 22:06
-
-
Save jarindr/6d31ee50e9ca8aa367c6a3386d9a42e1 to your computer and use it in GitHub Desktop.
ถ้าจะจีบ 7 คำถาม cheat code แปะตอนข้อแรก
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
['.m_question_qimg', '.m_question_q'].forEach(function (x) { | |
return $(x).each(function (i, e) { | |
var arr = $(e).attr('onclick').replace(')', '').split(','); | |
if (arr.slice(0, -1).indexOf(arr[6]) !== -1) { | |
$(e).css({ | |
transform: 'rotate(-720000deg)', | |
background: '#b3f9d2', | |
transition: '1000s' | |
}); | |
} else { | |
$(e).css({ | |
opacity: '0.1' | |
}); | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@vtno would be too cheat, this is for education only <3