📜 ⬆️ ⬇️

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

image 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.
I was interested in the function asd_tick ()
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 .
  1. 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 .
  2. 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 .
  3. 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 .
  4. 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 .
  5. 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 .
  6. 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 .
  7. 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 .
  8. 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 .
  9. 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 .
  10. 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 .
  11. 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 .
  12. 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 .
  13. 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 .

Actually, this is the solution itself (it works in Opera 10.54, in chrome - for some reason it doesn't):
Enter the text javascript: asd_tick () in the address bar of the browser and go to the address. This will speed the counter in half. 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 you run it three times - the counter goes to minus, but then it redirects to Beeline's home page and you can safely use the Internet.

PS: for ethical reasons, the topic is still published in a personal blog, I can then transfer it according to the opinion of the habrasoobshchestva.

')

Source: https://habr.com/ru/post/93989/


All Articles