0

この質問は、ウェブサイトの閲覧に関するものです。一部の広告をブロックします。

Mozilla Firefox を使用しており、「No Scripts」広告ブロック拡張機能をインストールしています。必要なすべての広告をブロックします。一部の Web サイトでは、ブラウザーの Firefox または Chrome にインストールされている拡張機能を検出し、Adblock スクリプト/拡張機能を無効にしてくださいという特定のカスタム ページにリダイレクトする JavaScript が Web ページに埋め込まれていることに気付きました。

http://uptobox.comからファイルをダウンロードすると、今日はカスタム HTML ページhttp://uptobox.com/pages/adblock.htmlにリダイレクトされます。

リダイレクトを行うスクリプトは、この Web サイトの Web ページ ソースにあります。

    <script type="text/javascript">
    //alert(document.getElementById("m10i6ekyhkf1").style.height);
    //alert(document.getElementById("m10i6ekyhkf1").clientHeight);
    // Missclick !
    setTimeout(function() {
            if (document.getElementById("m10i6ekyhkf1").clientHeight < 11 || document.getElementById("m10i6ekyhkf1").style.position == "absolue") {
                    document.writeln("Redirection...!");
                    window.location = "/pages/adblock.html";
                    document.getElementById("container-page").innerHTML = '<div class="informations middle-content"><span class="server_name">You are using adblock plus or something else which block advertising!</span><br /><br />Uptobox can only exist today thanks to advertising.<br />Indeed, <b>advertising is one of our biggest income to paid our bandwidth and servers</b>, because our service is mainly free !<br />This is why we ask you to allow ads on Uptobox to use our service !<br />If you haven\'t got an adblocker, you can try to disable your antivirus.<br />(If you have any other issue, please empty your cache and refresh your link)<br /><br />\';<div class="debrid_case"><br /><span class="server_name"><center>Disable adblock</center></span><div style="text-align: center; margin-top: 15px;"><img src="http://uptobox.com/image_default/disableadblock.png" style="border: 5px solid #CFCFCF;" /></div><div style="text-align: center; margin-top: 15px;">You only have to click on "Disable Adblock Plus" <br />or "Disable adblock plus on uptobox.com"</div></div></div>';
            }

            $('.page-top').html($('.page-top').html() + " ");
            $('.file-name').html($('.file-name').html() + " ");


            if ($('.page-top').text().length > 70) {
              var tmp_txt = $('.page-top').html().substr(0, 70);
              $('.page-top').html(tmp_txt);
              $('.page-top').append('...');
            }
    },3000);
  if (window.location.protocol != "http:")
window.location.href = "http:" + window.location.href.substring(window.location.protocol.length);

とにかく、このスクリプトを停止して、ブラウザのページにレンダリングすることでこの JavaScript を停止する、または firefox のモジュール/プラグインをリダイレクトする必要がありますか?

よろしくお願いします

4

1 に答える 1