This wow promotion algorithm? menu

User Tag List

Results 1 to 5 of 5
  1. #1
    deatholis's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    47
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    This wow promotion algorithm?

    It would be pretty cool to decrypt this and make it into a keygen
    title name is wrong its realy suposrt to be "This wow promotion key's, algorithm?"
    Code:
    <script language="javascript">
    <!--
    	
    	function confirmRedeem(){
    		if(confirm('Are you sure you want to redeem an item in region [' + document.petForm.regionName.value + '] realm [' + document.petForm.realmName.value + "]?" )){
    			return true;
    		}
    		else{
    			return false;
    		}
    	}
        // Check to see if the key is in the query string, if it is, replace the value with the new value, if not, put in the key/value pair
        
    	function queryStringAppend(theName,theValue){		
    				
    		var params = new Object();	
    		var queryString = document.location.search.substring(1,document.location.search.length);
    		
    		if(queryString != ''){
    			var pairs = queryString.split('&');
    	
    			for (var i=0; i < pairs.length; i++) {		
    				var pair = pairs[i].split('=');
    				var name = pair[0];
    				var value;
    									
    				if (pair.length == 2){
    					value = pair[1];
    				}
    				else{
    					value = name;
    				}
    				params[name] = value;
    			}
    		}
    		
    		// update the name/value pair if it is found in the current query string
    		var found = 0;
    		for (var name in params)
    		{	
    			if(name == theName){
    				found = 1;				
    				params[name] = theValue;	
    			}			
    		}
    		// if the name/value pair is not found in the current query string, add it	
    		if(found == 0){
    			params[theName] = theValue;			
    		}
    				
    		// rebuild query string
    		var newQueryString;
    		var first = 1;
    		for (var a in params)
    		{
    			if(first == 1){
    				newQueryString = a + "=" + params[a];
    				first = 0;
    			}else{
    				newQueryString = newQueryString + '&' +  a + "=" + params[a];
    			}			
    		}
    		var newUrl = document.location.protocol + '../index.htm' + document.location.host + document.location.pathname + '?' + newQueryString;		
    		document.location.href = newUrl;
    	}
    	
    	function inputLengthCheck(fieldNum) {
    
    
    		if( document.captureEvents ) {
    
    		    if( Event.KEYUP ) {
    
    		        document.captureEvents( Event.KEYUP );
    		    }
    		}
    
    		
    		document.onkeyup = alertkey;
    
    		function alertkey(e) {
    		    if( !e ) {
    
    		        if( window.event ) {
    
    		            e = window.event;
    		        } else {
    
    		            return;
    		        }
    		    }
    		    if( typeof( e.which ) == 'number' ) {
    
    		        e = e.which;
    		    } else if( typeof( e.keyCode ) == 'number'  ) {
    
    		        e = e.keyCode;
    		    } else if( typeof( e.charCode ) == 'number'  ) {
    
    		        e = e.charCode;
    		    } else {
    
    		        return;
    		    }
    
    
    
    			if (fieldNum == 1) {
    
    				var boxString = document.petForm.redemptionCode1.value;
    				
    				if ((e >= 65 && e <= 122) || (e >= 48 && e <= 57)) {
    
    					if (boxString.length == 4 && fieldNum < 5) {
    						document.petForm.redemptionCode2.focus();
    					}
    
    				}
    
    			}
    
    			if (fieldNum == 2) {
    
    				var boxString = document.petForm.redemptionCode2.value;
    
    
    				if ((e >= 65 && e <= 122) || (e >= 48 && e <= 57)) {
    
    					if (boxString.length == 6 && fieldNum < 5) {
    						document.petForm.redemptionCode3.focus();
    					}
    
    				}
    
    			}
    
    			if (fieldNum == 3) {
    
    				var boxString = document.petForm.redemptionCode3.value;
    
    
    				if ((e >= 65 && e <= 122) || (e >= 48 && e <= 57)) {
    
    					if (boxString.length == 5 && fieldNum < 5) {
    						document.petForm.redemptionCode4.focus();
    					}
    
    				}
    
    			}
    
    			if (fieldNum == 4) {
    
    				var boxString = document.petForm.redemptionCode4.value;
    
    
    				if ((e >= 65 && e <= 122) || (e >= 48 && e <= 57)) {
    
    					if (boxString.length == 6 && fieldNum < 5) {
    						document.petForm.redemptionCode5.focus();
    					}
    
    				}
    
    			}
    
    			if (fieldNum == 5) {
    				var boxString = document.petForm.redemptionCode5.value;
    			}
    		}
    	}
    -->
    </script>
    Last edited by deatholis; 08-22-2008 at 10:21 PM. Reason: Wrong title

    This wow promotion algorithm?
  2. #2
    Aes's Avatar Former Staff CoreCoins Purchaser
    Reputation
    705
    Join Date
    Dec 2007
    Posts
    1,793
    Thanks G/R
    7/8
    Trade Feedback
    60 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just looks like useless info from a websites source code to me.
    ( ͡°( ͡° ͜ʖ( ͡° ͜ʖ ͡°)ʖ ͡°) ͡°)

  3. #3
    Clain's Avatar Banned
    Reputation
    179
    Join Date
    Jan 2008
    Posts
    1,396
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That isn't the algorithm.

  4. #4
    deatholis's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    47
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so it just there to trick us?
    thanks guys xD
    Last edited by deatholis; 08-22-2008 at 10:38 PM.

  5. #5
    merfed's Avatar キタ━━━(゜∀゜)━━━!!!!!


    Reputation
    452
    Join Date
    Jul 2006
    Posts
    1,537
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    stop the internet. I want to get off.

Similar Threads

  1. [Buying] Is this WoW-website legit?
    By formidabel in forum World of Warcraft Buy Sell Trade
    Replies: 2
    Last Post: 02-21-2014, 08:03 AM
  2. Does This WoW Photo Proof Look Fake?
    By jellyneo23 in forum Art & Graphic Design
    Replies: 11
    Last Post: 11-27-2013, 01:36 AM
  3. How much does this WoW account cost (private server)
    By chromic in forum World of Warcraft General
    Replies: 4
    Last Post: 09-09-2013, 06:58 PM
  4. need help setting up this wow site
    By Proxes in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 01-13-2009, 01:47 AM
All times are GMT -5. The time now is 02:51 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search