SHARE
TWEET

Cheat WeeQuizz

Zalati Aug 29th, 2018 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var script = document.createElement('enabledJquery');
  2. script.src = 'http://code.jquery.com/jquery-1.11.0.min.js';
  3. script.type = 'text/javascript';
  4. document.getElementsByTagName('head')[0].appendChild(script);
  5.  
  6. $('[class^="m_question_q"]').each(function(index, obj){
  7.         var cValue = (obj.getAttribute('onclick'));
  8.         if(cValue!==null){
  9.             cValue = cValue.replace('cAnswer(','');
  10.             cValue = cValue.replace(')','');
  11.             var xBlader = cValue.split(',');
  12.             if(xBlader[4]==xBlader[6]){
  13.                 obj.className+=" mqq_yes";
  14.             }else{
  15.                 obj.className+=" mqq_no";
  16.             }
  17.         }
  18. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top