Based on the topic of the action, I decided to test this service, and at the same time to see how it works. I’ll say right away that I’m not strong in Java script, but the names of the variables in the scripts on the wi-free.ru/play page gave me hope. Immediately found quite a clumsy solution that allows you to fool the timer. function asd_tick() { ams=1; var j = document .getElementById( 'ams' ).innerHTML; if (tick>0) j=j-1; document .getElementById( 'ams' ).innerHTML = j; if (j>0) { document .getElementById( 'alink' ).style.display= 'block' ; alink_text(); setTimeout( 'asd_tick()' ,1000); } else { document .location = "../redir" ; } } * This source code was highlighted with Source Code Highlighter .
function asd_tick() { ams=1; var j = document .getElementById( 'ams' ).innerHTML; if (tick>0) j=j-1; document .getElementById( 'ams' ).innerHTML = j; if (j>0) { document .getElementById( 'alink' ).style.display= 'block' ; alink_text(); setTimeout( 'asd_tick()' ,1000); } else { document .location = "../redir" ; } } * This source code was highlighted with Source Code Highlighter .function asd_tick() { ams=1; var j = document .getElementById( 'ams' ).innerHTML; if (tick>0) j=j-1; document .getElementById( 'ams' ).innerHTML = j; if (j>0) { document .getElementById( 'alink' ).style.display= 'block' ; alink_text(); setTimeout( 'asd_tick()' ,1000); } else { document .location = "../redir" ; } } * This source code was highlighted with Source Code Highlighter .function asd_tick() { ams=1; var j = document .getElementById( 'ams' ).innerHTML; if (tick>0) j=j-1; document .getElementById( 'ams' ).innerHTML = j; if (j>0) { document .getElementById( 'alink' ).style.display= 'block' ; alink_text(); setTimeout( 'asd_tick()' ,1000); } else { document .location = "../redir" ; } } * This source code was highlighted with Source Code Highlighter .function asd_tick() { ams=1; var j = document .getElementById( 'ams' ).innerHTML; if (tick>0) j=j-1; document .getElementById( 'ams' ).innerHTML = j; if (j>0) { document .getElementById( 'alink' ).style.display= 'block' ; alink_text(); setTimeout( 'asd_tick()' ,1000); } else { document .location = "../redir" ; } } * This source code was highlighted with Source Code Highlighter .function asd_tick() { ams=1; var j = document .getElementById( 'ams' ).innerHTML; if (tick>0) j=j-1; document .getElementById( 'ams' ).innerHTML = j; if (j>0) { document .getElementById( 'alink' ).style.display= 'block' ; alink_text(); setTimeout( 'asd_tick()' ,1000); } else { document .location = "../redir" ; } } * This source code was highlighted with Source Code Highlighter .function asd_tick() { ams=1; var j = document .getElementById( 'ams' ).innerHTML; if (tick>0) j=j-1; document .getElementById( 'ams' ).innerHTML = j; if (j>0) { document .getElementById( 'alink' ).style.display= 'block' ; alink_text(); setTimeout( 'asd_tick()' ,1000); } else { document .location = "../redir" ; } } * This source code was highlighted with Source Code Highlighter .function asd_tick() { ams=1; var j = document .getElementById( 'ams' ).innerHTML; if (tick>0) j=j-1; document .getElementById( 'ams' ).innerHTML = j; if (j>0) { document .getElementById( 'alink' ).style.display= 'block' ; alink_text(); setTimeout( 'asd_tick()' ,1000); } else { document .location = "../redir" ; } } * This source code was highlighted with Source Code Highlighter .function asd_tick() { ams=1; var j = document .getElementById( 'ams' ).innerHTML; if (tick>0) j=j-1; document .getElementById( 'ams' ).innerHTML = j; if (j>0) { document .getElementById( 'alink' ).style.display= 'block' ; alink_text(); setTimeout( 'asd_tick()' ,1000); } else { document .location = "../redir" ; } } * This source code was highlighted with Source Code Highlighter .function asd_tick() { ams=1; var j = document .getElementById( 'ams' ).innerHTML; if (tick>0) j=j-1; document .getElementById( 'ams' ).innerHTML = j; if (j>0) { document .getElementById( 'alink' ).style.display= 'block' ; alink_text(); setTimeout( 'asd_tick()' ,1000); } else { document .location = "../redir" ; } } * This source code was highlighted with Source Code Highlighter .function asd_tick() { ams=1; var j = document .getElementById( 'ams' ).innerHTML; if (tick>0) j=j-1; document .getElementById( 'ams' ).innerHTML = j; if (j>0) { document .getElementById( 'alink' ).style.display= 'block' ; alink_text(); setTimeout( 'asd_tick()' ,1000); } else { document .location = "../redir" ; } } * This source code was highlighted with Source Code Highlighter .function asd_tick() { ams=1; var j = document .getElementById( 'ams' ).innerHTML; if (tick>0) j=j-1; document .getElementById( 'ams' ).innerHTML = j; if (j>0) { document .getElementById( 'alink' ).style.display= 'block' ; alink_text(); setTimeout( 'asd_tick()' ,1000); } else { document .location = "../redir" ; } } * This source code was highlighted with Source Code Highlighter .function asd_tick() { ams=1; var j = document .getElementById( 'ams' ).innerHTML; if (tick>0) j=j-1; document .getElementById( 'ams' ).innerHTML = j; if (j>0) { document .getElementById( 'alink' ).style.display= 'block' ; alink_text(); setTimeout( 'asd_tick()' ,1000); } else { document .location = "../redir" ; } } * This source code was highlighted with Source Code Highlighter .function asd_tick() { ams=1; var j = document .getElementById( 'ams' ).innerHTML; if (tick>0) j=j-1; document .getElementById( 'ams' ).innerHTML = j; if (j>0) { document .getElementById( 'alink' ).style.display= 'block' ; alink_text(); setTimeout( 'asd_tick()' ,1000); } else { document .location = "../redir" ; } } * This source code was highlighted with Source Code Highlighter .function asd_tick() { ams=1; var j = document .getElementById( 'ams' ).innerHTML; if (tick>0) j=j-1; document .getElementById( 'ams' ).innerHTML = j; if (j>0) { document .getElementById( 'alink' ).style.display= 'block' ; alink_text(); setTimeout( 'asd_tick()' ,1000); } else { document .location = "../redir" ; } } * This source code was highlighted with Source Code Highlighter .
Source: https://habr.com/ru/post/93989/
All Articles