Flash Website Builder- Trendy Site Builder is a Flash Site Building tool that helps users build stunning websites. Check Out Custom Custom Logo Design by LogoBee. Website Design and Free Logo Templates available.
 CodingForums.com javascript revealing answers script help

Before you post, read our: Rules & Posting Guidelines

Enjoy an ad free experience by logging in. Not a member yet? Register.
 08-12-2010, 06:08 PM PM User | #1 Terbinafine New to the CF scene   Join Date: Aug 2010 Posts: 5 Thanks: 0 Thanked 0 Times in 0 Posts javascript revealing answers script help Hi I'm Terbinafine I do online school, and it utilizies a popular, virtual education system known as "OdysseyWare". I found a javascript 'cheat' per se, online, which is supposed to reveal the answers to your questions. Here's an example of the source code for a multiple choice question: Code: ```
Note to teacher:
Note from teacher:

Any particular element can always be identified by its _____.

number of electrons
number of protons
number of neutrons
atomic mass
``` This is the first script for revealing answers: Code: ```eval( function(p,a,c,k,e,r){ e = function(c){ return ( c35 ? String.fromCharCode(c+29) : c.toString(36) ) }; if(!''.replace(/^/,String)){ //Always true? while(c--){ r[e(c)]=k[c]||e(c); } k = [ function(e){ return r[e] } ]; e = function(){ return '\\w+' }; c=1 }; while(c--){ if(k[c]){ p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]); } } return p; } ( //Args p, a, c, k, e and r for the function '3 6=q G();j i(a){3 b=7.g;3 c=a+"=";3 d=b.8("; "+c);4(d==-1){d=b.8(c);4(d!=0)o K}l d+=2;3 e=7.g.8(";",d);4(e==-1)e=b.9;o x(b.w(d+c.9,e))}j f(){3 D=q u;3 a=D.t();3 b=i("h");3 c=a-b;6.s(0,0,c);4(6.9>5){6.O()}4(cI H C B E F A z a y J. ("+6.v(\', \')+")"}l{7.g="h="+a;r("f()",p)}}r("f()",p);', 51, 51, '|||var|if||diffHistory|document|indexOf|length||||||securityCheck|cookie|timestamp|getCookie|function|br|else|small|center|return|3500|new|setTimeout|splice|getTime|Date|join|substring|unescape|single|in|used|designed|is||to|be|Array|application|This|window|null|innerHTML|body|3000|pop'.split('|'), //This will be an array 0, {} //This is an object ) ) //Produces this code? var diffHistory = new Array(); function getCookie(a){ var b = document.cookie; var c = a+"="; var d = b.indexOf("; "+c); if(d==-1){ d=b.indexOf(c); if(d!=0)return null }else d+=2; var e=document.cookie.indexOf(";",d); if(e==-1)e=b.length; return unescape(b.substring(d+c.length,e)) } function securityCheck(){ var D=new Date; var a=D.getTime(); var b=getCookie("timestamp"); var c=a-b;diffHistory.splice(0,0,c); if(diffHistory.length>5){ diffHistory.pop() } if(c<3000){ document.body.innerHTML="\nThis application is designed to be used in a single window.\n\n(" + diffHistory.join(', ') + ")\n" }else{ document.cookie="timestamp="+a; setTimeout("securityCheck()",3500) } } setTimeout("securityCheck()",3500); //To mod it just overload securityCheck() with another function``` that's one script that reveals the answer and this is another script that's similar: Code: `//jQuery.noConflict();var activeAnswer = null;var param1_last = null;var param2_last = null;function studentAnswer(param1, param2, el){//console.log("param1: " + param1);//console.log("param2: " + param2);if (activeAnswer != null) {//console.log('unShow: ' + activeAnswer);ShowAssignment.QuestionSubHeader.get(document.getElementById(activeAnswer)).unShowKey(param1_last, param2_last, 'true');}if(activeAnswer == el.id){activeAnswer = null;return false;}activeAnswer = el.id;param1_last = param1;param2_last = param2;ShowAssignment.QuestionSubHeader.get(document.getElementById(activeAnswer)).showKey(param1, param2, 'true');//console.log("Show: " + activeAnswer);}` This is the website portal page where we login "wcsd.owotw.com". How would I utilize one of these scripts so I could use it. I'd imagine it has to be part of the webpage somehow but I have not a clue. PS - I know cheating is bad but you don't understand my situation. I've covered all this work they're assigning me on here last year and the questions are not worded correctly and are misleading and confusing. Regular school is better, this is just awful, its just the same units over and over. Last edited by Terbinafine; 08-12-2010 at 06:13 PM..
 08-12-2010, 06:19 PM PM User | #2 Philip M Supreme Master coder!     Join Date: Jun 2002 Location: London, England Posts: 17,475 Thanks: 200 Thanked 2,470 Times in 2,448 Posts No way will anyone here assist you with dishonesty. You cannot go through life expecting to cheat your way to a successful outcome. Your situation is no different to any other student in your class.
08-12-2010, 06:26 PM   PM User | #3
Terbinafine
New to the CF scene

Join Date: Aug 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
 Originally Posted by Philip M No way will anyone here assist you with dishonesty. You cannot go through life expecting to cheat your way to a successful outcome. Your situation is no different to any other student in your class.

quite the opposite. I go to an alternative night school for one mistake I made in public school. I'm the only one who cares about my education, everyone else there just plays computer games and act up and the teachers don't seem to care. You don't know one's situation until you actually experience it.

 08-12-2010, 06:37 PM PM User | #4 Philip M Supreme Master coder!     Join Date: Jun 2002 Location: London, England Posts: 17,475 Thanks: 200 Thanked 2,470 Times in 2,448 Posts I meant that "the questions are not worded correctly and are misleading and confusing" applies just as much to the other students.
08-12-2010, 06:41 PM   PM User | #5
Terbinafine
New to the CF scene

Join Date: Aug 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
 Originally Posted by Philip M I meant that "the questions are not worded correctly and are misleading and confusing" applies just as much to the other students.
Well it most likely would if they took the time to login for once.

08-12-2010, 06:46 PM   PM User | #6
Philip M
Supreme Master coder!

Join Date: Jun 2002
Location: London, England
Posts: 17,475
Thanks: 200
Thanked 2,470 Times in 2,448 Posts
Quote:
 Originally Posted by Terbinafine Well it most likely would if they took the time to login for once.
So, why should you care if they throw away their life's chances?

08-12-2010, 06:52 PM   PM User | #7
Terbinafine
New to the CF scene

Join Date: Aug 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
 Originally Posted by Philip M So, why should you care if they throw away their life's chances?
It annoys me that I'm the only one that at least tries. I'm just that type of person, but you wouldn't be able to point me at another website that could possibly help me out?

 08-12-2010, 07:29 PM PM User | #8 Philip M Supreme Master coder!     Join Date: Jun 2002 Location: London, England Posts: 17,475 Thanks: 200 Thanked 2,470 Times in 2,448 Posts Have a look at http://www.bop.gov/
08-12-2010, 07:33 PM   PM User | #9
Terbinafine
New to the CF scene

Join Date: Aug 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
 Originally Posted by Philip M Have a look at http://www.bop.gov/
Extremely hilarious, it seems as if every forum has a user that just loves to get his post count up.

+ kudos for being a prick.

 08-12-2010, 07:44 PM PM User | #10 Fou-Lu God Emperor     Join Date: Sep 2002 Location: Saskatoon, Saskatchewan Posts: 16,595 Thanks: 4 Thanked 2,597 Times in 2,566 Posts Please keep it civil gentleman. Terbinafine please refer to our rules: http://www.codingforums.com/rules.htm §1.4 which qualifies as attempting to circumvent the security in use by the system. We cannot help you with such requests as these. __________________ PHP Code: ``` header('HTTP/1.1 420 Enhance Your Calm');  ```

 Bookmarks

 Thread Tools Rate This Thread Rate This Thread: 5 : Excellent 4 : Good 3 : Average 2 : Bad 1 : Terrible

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home :: Client side development     JavaScript programming         DOM and JSON scripting         Ajax and Design         JavaScript frameworks         Post a JavaScript     HTML & CSS     XML     Flash & ActionScript         Adobe Flex     Graphics and Multimedia discussions     General web building         Site reviews         Building for mobile devices :: Server side development     Apache configuration     Perl/ CGI     PHP         Post a PHP snippet     MySQL         Other Databases     Ruby & Ruby On Rails     ASP     ASP.NET     Java and JSP     Other server side languages/ issues         ColdFusion         Python :: Computing & Sciences     Computer Programming     Computer/PC discussions     Geek News and Humour Web Projects and Services Marketplace     Web Projects         Small projects (quick fixes and changes)         Medium projects (new script, new features, etc)         Large Projects (new web application, complex features etc)         Unknown sized projects (request quote)         Vacant job positions         Looking for work/ for hire         Project collaboration/ partnership         Paid work offers and requests (Now CLOSED)     Career, job, and business ideas or advice     Domains, Sites, and Designs for sale         Domains for sale         Websites for sale         Design templates and graphics for sale :: Other forums     Member Offers     Forum feedback and announcements

All times are GMT +1. The time now is 07:12 AM.