Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2006

    Question javascript countdown timers:bypass?

    I want to make a javascript countdown timer so a user has to wait 60 seconds until a button appears. Are these timers easy to bypass? Because apparently you can bypass rapidshare's javascript countdown timers by adding things into the url like javascript:var%20counta etc etc.

  2. #2
    1. obfuscate your javascript timer vars
    2. minimise and encode with base62 - it will stop many "haxors"
    3. use ajax - when countdown reach 0 send request to server with some special one-time-key in params to receive button code
    4. use flash instead;]

  3. #3
    Join Date
    May 2009
    I find this to be a better approach. Let them click the button right away...then on the other side:

    PHP Code:

    <div id="content">
    <img src="pleaseWait.jpg">


    // build a string with your real content (js-escaped)

    document.getElementById('content').innerHTML = '<?=$myContent?>';
    PHP doesn't send the content until the sleep command is executed, so no chance of a JS-bypass


Similar Threads

  1. Java Timers
    By That Guy in forum Programming Discussion
    Replies: 0
    Last Post: 02-28-2007, 06:49 AM
  2. How Do You Part Timers Do It?
    By Pumaman in forum Running a Web Hosting Business
    Replies: 18
    Last Post: 12-02-2006, 06:50 PM
  3. For all the 'old-timers' who visit WHT...
    By P-nut in forum Web Hosting Lounge
    Replies: 8
    Last Post: 02-23-2006, 12:53 AM
  4. Replies: 3
    Last Post: 04-12-2004, 05:40 PM
  5. I must have old-timers, I can't remember.. can you?
    By Tallon in forum Web Hosting Lounge
    Replies: 2
    Last Post: 05-09-2003, 02:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts