Skip to content

Instantly share code, notes, and snippets.

@jarindr
Last active April 20, 2017 22:06
Show Gist options
  • Save jarindr/6d31ee50e9ca8aa367c6a3386d9a42e1 to your computer and use it in GitHub Desktop.
Save jarindr/6d31ee50e9ca8aa367c6a3386d9a42e1 to your computer and use it in GitHub Desktop.
ถ้าจะจีบ 7 คำถาม cheat code แปะตอนข้อแรก
['.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'
});
}
});
});
@vtno
Copy link

vtno commented Apr 20, 2017

Should we make it auto click though?

@jarindr
Copy link
Author

jarindr commented Apr 20, 2017

@vtno would be too cheat, this is for education only <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment