Created
June 8, 2018 00:02
-
-
Save erspark2002/4083521052305d020f16cdaa9db92de9 to your computer and use it in GitHub Desktop.
Federation University Quiz Review
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
<html> | |
<body> | |
<a href="javascript:(function(e,s){e.src=s;e.onload=function(){jQuery.noConflict();console.log('jQuery injected'); jQuery('.qn_buttons').hide(); jQuery('.answer :checked').each(function(){jQuery(this).prop('checked',''); }); jQuery('.feedback').each(function(){jQuery(this).css('position','absolute'); }); function showAnswer(){jQuery('.answer .correct img,.answer .incorrect img, .feedback').show(); jQuery('.answer .correct, .answer .incorrect').each(function(){jQuery(this).css('background-color', 'yellow'); }); }; function hideAnswer(){jQuery('.answer .correct img,.answer .incorrect img, .feedback').hide(); jQuery('.answer .correct, .answer .incorrect').each(function(){jQuery(this).css('background-color', 'inherit'); }); }; jQuery('.answer').on('mouseover', function(){showAnswer(); }); jQuery('.answer').on('mouseout', function(){hideAnswer(); }); hideAnswer(); };document.head.appendChild(e);})(document.createElement('script'),'//code.jquery.com/jquery-latest.min.js')">Quiz Review</a> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment