I have been racking my brain trying to find a way to make this work. I have a very large js file that is encrypted and i am selling my software. I want to be able to make some alert boxes editable without to much of a hassle.
Is there a way to do the following.
Is there a way to do the following.
Code:
<script type="text/javascript">
//Top of js file
var comment = "'Testing the alert system\n\n Amount = ' + amount+"Amount 2 = " +amount2";
// deep within js file
function test(){
var amount = 50;
alert(comment);
}
</script>
Last edited: