1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[ask] UC Browser Ads Block Script ?

Discussion in 'Cloaking and Content Generators' started by lyndagalvan, Jan 27, 2017.

  1. lyndagalvan

    lyndagalvan Registered Member

    Joined:
    Jan 17, 2017
    Messages:
    53
    Likes Received:
    1
    Gender:
    Female
    Location:
    California
    Hai all member, can you help me for UCBrowser ads block script or code to bypass

    UC Browser has been known that the ads block mode enabled by default, so the Adsense ads on my website do not show up unless the user to disable it. With this condition, the ads on my site did not appear.

    Do you know any special scripts to inside my site that can bypass my AdSense ads to appear

    thanks
     
  2. vwake

    vwake Newbie

    Joined:
    Jun 10, 2017
    Messages:
    1
    Likes Received:
    0
    Gender:
    Male
    script that can bypass my AdSense ads to appear in Uc Browser Sound Great -

    BTW i have Sricpt , which u can use To Force ur User To Leave the UC Browser
    And visit Ur site on any other browser like chrome or morzilla.

    put the script after the <Head> tag or before the <body>

    // script start frm here

    <p id="stop"></p>
    <script>

    var cari = navigator.userAgent;
    var dapet = cari.search("UCBrowser");
    if(dapet>1) {

    var strs=document.URL;
    var urlnya= strs.replace("http://", "");
    var strings='<meta name="viewport" content="width=device-width, initial-scale=1.0"><h3 align="center" style="color: #ffffff;"> For Download Links open This Page in Chrome Or Morzilla <br/><br/>Click the COPY URL button below to copy the url, and open it another Browser ( Chrome, morzilla or Opera)<br/><br/><input type="text" class="teks" value="'+ document.URL +'" size="50"><br/> <button class="js-copy-btn">Copy Url</button><br/></h3>';


    document.getElementById("stop").innerHTML = strings;

    var copyTextareaBtn = document.querySelector('.js-copy-btn');

    copyTextareaBtn.addEventListener('click', function(event) {
    var copyTextarea = document.querySelector('.teks');
    //copyTextarea.select();
    copyTextarea.selectionStart=0;
    copyTextarea.selectionEnd=copyTextarea.value.length;

    try {
    var successful = document.execCommand('copy');
    var msg = successful ? 'successful' : 'unsuccessful';
    console.log('Copying text command was ' + msg);
    } catch (err) {
    console.log('Oops, unable to copy');
    }
    });

    exit();
    }

    function exit( status ) {


    var i;

    if (typeof status === 'string') {
    alert(status);
    }

    window.addEventListener('error', function (e) {e.preventDefault();e.stopPropagation();}, false);

    var handlers = [
    'cut',
    'beforeunload', 'blur', 'change', 'contextmenu', 'focus', 'keydown', 'keypress', 'keyup', 'mousedown', 'mousemove', 'mouseout', 'mouseover', 'mouseup', 'resize', 'scroll',
    'DOMNodeInserted', 'DOMNodeRemoved', 'DOMNodeRemovedFromDocument', 'DOMNodeInsertedIntoDocument', 'DOMAttrModified', 'DOMCharacterDataModified', 'DOMElementNameChanged', 'DOMAttributeNameChanged', 'DOMActivate', 'DOMFocusIn', 'DOMFocusOut', 'online', 'offline', 'textInput',
    'abort', 'close', 'dragdrop', 'load', 'paint', 'reset', 'submit', 'unload'
    ];

    function stopPropagation (e) {
    e.stopPropagation();
    // e.preventDefault(); // Stop for the form controls, etc., too?
    }
    for (i=0; i < handlers.length; i++) {
    window.addEventListener(handlers, function (e) {stopPropagation(e);}, true);
    }

    if (window.stop) {
    window.stop();
    }

    throw '';
    }

    </script>
     
  3. Syrus Enriquez

    Syrus Enriquez Jr. VIP Jr. VIP

    Joined:
    Jan 9, 2017
    Messages:
    199
    Likes Received:
    20
    Gender:
    Male
    There are a lot of forum regarding your problem here in the BHW. If I have a time tomorrow, I'll be searching that one for you so that I can help you with your problem. But while you're waiting, you can try the script above given by our fellow bhw member