Hitrim with the action "Wi-Fi for advertising" from Beeline
Based 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
- 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.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.