Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author juthawong

    (@juthawong)

    Yes There is a way to protect those browser adds-on but we doesn’t implement it because it effect a lot on user experienced. Here is how :

    Edit includebottom.php files
    Change
    <script>
    $.ajax({
    type: “POST”,
    url: “enable.php”,
    });
    </script>

    to
    <script>
    var plugins = “”;
    for (var i = 0; i < navigator.plugins.length; i++)
    {
    plugins += navigator.plugins[i].name;
    if (i != (navigator.plugins.length – 1))
    {
    plugins += “, “;
    }
    }
    if(plugins == “”){
    $.ajax({
    type: “POST”,
    url: “enable.php”,
    });
    }
    </script>

    Let me explain the code first it will detect additional browser extension. If it doesn’t play on lean browser ( without extension and special algorithm) it will allow video to be play. It could be a good hacks however it will annoy user who have a lot of extension. So , We still doesn’t implement it until we found a better way ??

    Plugin Author juthawong

    (@juthawong)

    Oops. Also change url : “enable.php” to
    url: “<?php echo $plugin_url;?>enable.php”,

    this too. For a wordpress version

    Thread Starter Albert F A Matthews

    (@bigfunction)

    How can I chat with you directly about implementing it ?

    I got online support @ https://www.bigfunction.org with live chat

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘netvideohunter addon plays video’ is closed to new replies.