jspenguin2017 / uBlockProtector

An anti-adblock defuser for Nano Adblocker and uBlock Origin
GNU General Public License v3.0
740 stars 83 forks source link

dovathd.com #165

Closed ghajini closed 7 years ago

ghajini commented 7 years ago

Can you remove timer on this website http://dovathd.com/wwe-nxt-04262017/ And also if possible directly show video as video is seen only by sharing to fb,twitter etc...... Site limits user with timer of 600sec ,that is boring as this time as this is not 30 sec/1 min time.....

img_20170427_181035

jspenguin2017 commented 7 years ago

OK, I'll have a look.

jspenguin2017 commented 7 years ago

Fixed.

uBlock-user commented 7 years ago

Still reproducible, not fixed apparently.

jspenguin2017 commented 7 years ago

It works for me... image

uBlock-user commented 7 years ago

Not on my end as it appears.

jspenguin2017 commented 7 years ago

@uBlock-user Works in Chrome. What's the version of your Script? Can you dump the DOM? image

uBlock-user commented 7 years ago

It's updated to the latest - v6.189

Can you dump the DOM?

```html WWE NXT 04/26/2017 - Do Vat HD

WWE NXT 04/26/2017

Watch WWE NXT – 4/26/2017 – 26th April 2017 – HDTV – Watch Online / Download 720p HD at DoVatHD.com

Watch WWE NXT 4/26/2017 – 26th April 2017 (26/4/2017) Full Show Online

Comments

comments

DoVatHD.com - Watch Free Full Online WWE RAW Smackdown TNA UFC ROH Lucha Underground Wrestling Video Download HD
Sitemap ```
jspenguin2017 commented 7 years ago

@uBlock-user Can you run this in the console and see what it does? document.getElementByClassName("onp-sl-content")[0].style.display = "block";

uBlock-user commented 7 years ago
VM220:1 Uncaught TypeError: document.getElementByClassName is not a function
    at <anonymous>:1:10
(anonymous) @   VM220:1

That's the result when I hit enter.

jspenguin2017 commented 7 years ago

Ops, I spelled it wrong document.getElementsByClassName("onp-sl-content")[0].style.display = "block";

ghajini commented 7 years ago

its working,thank you

uBlock-user commented 7 years ago

Now it outputs the results instead of an error -

jspenguin2017 commented 7 years ago

OK, does the player show?

uBlock-user commented 7 years ago

Yes, now it does. however I shouldn't have to do that to bring up the player.

jspenguin2017 commented 7 years ago

@uBlock-user Looks like Chromium is doing some funny things with jQuery. Which extensions do you have?

uBlock-user commented 7 years ago

uBO, uMatrix and ViolentMonkey

Chromium is doing some funny things with jQuery.

As in ?

jspenguin2017 commented 7 years ago

Can you try disable uMatrix and use Tampermonkey?

This is the solution, it works for both me and @ghajini :

if (a.domCmp(["dovathd.com"])) {
    a.ready(function () {
        a.$(".onp-sl-social-buttons-enabled").remove();
        a.$(".onp-sl-content").show();
    });
}
uBlock-user commented 7 years ago

Already disabled uMatrix, didn't make any difference, so the issue could be VM or Chromium 60 itself.

Something else is also in the console

Unexpected error occurred during the ajax request:
VM494:714 <!DOCTYPE HTML>
<html lang="en-US">
<head>
  <meta charset="UTF-8" />
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
  <meta name="robots" content="noindex, nofollow" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <title>Just a moment...</title>
  <style type="text/css">
    html, body {width: 100%; height: 100%; margin: 0; padding: 0;}
    body {background-color: #ffffff; font-family: Helvetica, Arial, sans-serif; font-size: 100%;}
    h1 {font-size: 1.5em; color: #404040; text-align: center;}
    p {font-size: 1em; color: #404040; text-align: center; margin: 10px 0 0 0;}
    #spinner {margin: 0 auto 30px auto; display: block;}
    .attribution {margin-top: 20px;}
    @-webkit-keyframes bubbles { 33%: { -webkit-transform: translateY(10px); transform: translateY(10px); } 66% { -webkit-transform: translateY(-10px); transform: translateY(-10px); } 100% { -webkit-transform: translateY(0); transform: translateY(0); } }
    @keyframes bubbles { 33%: { -webkit-transform: translateY(10px); transform: translateY(10px); } 66% { -webkit-transform: translateY(-10px); transform: translateY(-10px); } 100% { -webkit-transform: translateY(0); transform: translateY(0); } }
    .bubbles { background-color: #404040; width:15px; height: 15px; margin:2px; border-radius:100%; -webkit-animation:bubbles 0.6s 0.07s infinite ease-in-out; animation:bubbles 0.6s 0.07s infinite ease-in-out; -webkit-animation-fill-mode:both; animation-fill-mode:both; display:inline-block; }
  </style>

    <script type="text/javascript">
  //<![CDATA[
  (function(){
    var a = function() {try{return !!window.addEventListener} catch(e) {return !1} },
    b = function(b, c) {a() ? document.addEventListener("DOMContentLoaded", b, c) : document.attachEvent("onreadystatechange", b)};
    b(function(){
      var a = document.getElementById('cf-content');a.style.display = 'block';
      setTimeout(function(){
        var s,t,o,p,b,r,e,a,k,i,n,g,f, fqROALg={"h":+((!+[]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]))};
        t = document.createElement('div');
        t.innerHTML="<a href='/'>x</a>";
        t = t.firstChild.href;r = t.match(/https?:\/\//)[0];
        t = t.substr(r.length); t = t.substr(0,t.length-1);
        a = document.getElementById('jschl-answer');
        f = document.getElementById('challenge-form');
        ;fqROALg.h*=+((!+[]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]));fqROALg.h-=+((+!![]+[])+(+!![]));fqROALg.h*=+((!+[]+!![]+[])+(!+[]+!![]+!![]+!![]));fqROALg.h*=!+[]+!![]+!![];fqROALg.h*=+((!+[]+!![]+!![]+[])+(+!![]));fqROALg.h+=+((!+[]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]));fqROALg.h*=+((+!![]+[])+(!+[]+!![]+!![]));fqROALg.h+=+((!+[]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]));fqROALg.h*=+((!+[]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]));a.value = parseInt(fqROALg.h, 10) + t.length; '; 121'
        f.submit();
      }, 4000);
    }, false);
  })();
  //]]>
</script>

</head>
<body>
  <table width="100%" height="100%" cellpadding="20">
    <tr>
      <td align="center" valign="middle">
          <div class="cf-browser-verification cf-im-under-attack">
  <noscript><h1 data-translate="turn_on_js" style="color:#bd2426;">Please turn JavaScript on and reload the page.</h1></noscript>
  <div id="cf-content" style="display:none">
    <a href="http://www.steampreservation.com/forum/register.php?fdate=48"></a>
    <div>
      <div class="bubbles"></div>
      <div class="bubbles"></div>
      <div class="bubbles"></div>
    </div>
    <h1><span data-translate="checking_browser">Checking your browser before accessing</span> dovathd.com.</h1>

    <p data-translate="process_is_automatic">This process is automatic. Your browser will redirect to your requested content shortly.</p>
    <p data-translate="allow_5_secs">Please allow up to 5 seconds&hellip;</p>
  </div>

  <form id="challenge-form" action="/cdn-cgi/l/chk_jschl" method="get">
    <input type="hidden" name="jschl_vc" value="665066c1c9b0f57cbbba9829c9d815ac"/>
    <input type="hidden" name="pass" value="1493306805.378-2mQAvfw8ws"/>
    <input type="hidden" id="jschl-answer" name="jschl_answer"/>
  </form>
</div>

          <div class="attribution">
            <a href="https://www.cloudflare.com/5xx-error-landing?utm_source=iuam" target="_blank" style="font-size: 12px;">DDoS protection by Cloudflare</a>
            <br>
            Ray ID: 3562cd3491f635ba
          </div>
      </td>

    </tr>
  </table>
</body>
</html>
jspenguin2017 commented 7 years ago

@uBlock-user That is CloudFlare's stuff. It usually don't have much interaction with the page. I think the problem lies within Violent Monkey.

Since this is working on all of our supported setups, I'll close this issue now.

uBlock-user commented 7 years ago

Turns out, VM isn't at fault, happens with TM too, so it's Chromium 60. I have attached the log.

https://pastebin.com/raw/PUUCu439

Let me know what you find.

jspenguin2017 commented 7 years ago

I think it failed silently... jQuery rarely throw error when element manipulation fails. Is there anything in their bug tracker?

uBlock-user commented 7 years ago

Something is screwing up jQuery, that's what I gather from the log.

Tracker - https://bugs.chromium.org/p/chromium/issues/list?can=2&q=jQuery&colspec=ID+Pri+M+Stars+ReleaseBlock+Component+Status+Owner+Summary+OS+Modified&x=m&y=releaseblock&cells=ids

jspenguin2017 commented 7 years ago

Your log shows jQuery is doing the dispatching and some requests are blocked by uBO, that's it. Nothing interesting in their bug tracker, hum...

uBlock-user commented 7 years ago

@jspenguin2017 Please disregard my issue. It was a first-party filter fuck up on my end. Filter in question - /wp-content/plugins/sociallocker- which is found in Adguard Annoyances Filter. Whitelisting the blocked script and css and it's back to expected behavior with your solution.