Hitrim with the action "Wi-Fi for advertising" from Beeline

    imageBased on the topic of the action, I decided to test this service, and at the same time see how it is arranged. I must say right away that I am not strong in the javascript, but the names of the variables in the scripts on the wi-free.ru/play page gave me hope. Immediately there was a rather clumsy solution to trick the timer.
    The asd_tick () function aroused my interest
    1. function asd_tick() {
    2. ams=1;
    3. var j = document.getElementById('ams').innerHTML;
    4. if (tick>0) j=j-1;
    5. document.getElementById('ams').innerHTML = j;
    6. if (j>0) {
    7.  document.getElementById('alink').style.display='block';
    8.  alink_text();
    9.  setTimeout('asd_tick()',1000);
    10. } else {
    11.  document.location = "../redir";
    12. }
    13. }
    * This source code was highlighted with Source Code Highlighter.

    Actually, here is the solution itself (it works in Opera 10.54, in chrome - for some reason not)
    : Enter javascript: asd_tick () in the address bar of the browser and go to the address. This will double the counter. Particularly impatient, you can run the script a couple more times, but you can overdo it and everything will break. Normally, the bug works when it is run three times - the counter goes to minus, but then a redirect to the Beeline homepage occurs and you can safely use the Internet.

    PS: for ethical reasons, the topic is being published on my personal blog, I can later transfer it according to the habrasociety.

    Also popular now: