Beelineのアクション「広告用Wi-Fi」を備えたHitrim

画像 アクションのトピックに基づいて、このサービスをテストすると同時に、どのように機能するかを確認することにしました。 私はJavaScriptが苦手であるとすぐに言わなければなりませんが、 wi-free.ru / playページのスクリプト内の変数の名前は希望を与えてくれました。 すぐにタイマーをtrickすためのかなり不器用な解決策がありました。
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 .

実際には、ここにソリューション自体があります(Opera 10.54で動作しますが、何らかの理由で動作しません):
ブラウザのアドレスバーにjavascript:asd_tick()と入力し、そのアドレスに移動します。 これにより、カウンターが2倍になります。 特にイライラする場合は、スクリプトをさらに数回実行できますが、やりすぎるとすべてが壊れます。 通常、バグは3回実行されると機能します。カウンターはマイナスになりますが、Beelineホームページへのリダイレクトが発生し、インターネットを安全に使用できます。

PS:倫理的な理由から、このトピックは私の個人的なブログで公開されています。後からhabrasocietyに従ってトピックを転送できます。


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


All Articles