Showing whether zjrJS.Debug.crack() actually works.
Used zjrJS Version:
Stable Minified version 20141202t2322 of zjrJS.
Preconditions
Javascript must be allowed to run on this page.
Successful When...
As of zjrJS.20120322t1418.js or newer:
In the form, pressing the Crack button posts javascript object details of that button itself, to the Output box. This same information is also logged to the browser's console, or alerted if a console is unavailable and Debug Mode = On.
When using an older version:
In the form, pressing the Crack button pops up javascript object details of that button itself, if Debug Mode = On.
Javascript must be allowed to run on this page.
Successful When...
As of zjrJS.20120322t1418.js or newer:
In the form, pressing the Crack button posts javascript object details of that button itself, to the Output box. This same information is also logged to the browser's console, or alerted if a console is unavailable and Debug Mode = On.
When using an older version:
In the form, pressing the Crack button pops up javascript object details of that button itself, if Debug Mode = On.
Test Code:
var test=({
run: function () {"use strict";
if ( !test.require( "zjrJS.Debug.crack",
"function" ) ) {
return false;
}
var s = '', main = window.document.forms.one.elements;
main.extrapolation.innerHTML = '';
if ( main.debugmode[1].checked ) {
zjrJS.Debug.mode = 1;
} else {
zjrJS.Debug.mode = 0;
}
try {
s = zjrJS.Debug.crack( main.cmdCrack );
} catch ( err ) {
s = err.message;
}
main.extrapolation.innerHTML = s || '';
main = null;
return false;
}
});