Any Script / Extension available for removing this ?

Discussion in 'Scripting' started by UVAIS, Apr 20, 2013.

  1. UVAIS

    UVAIS MDL Expert

    Mar 17, 2011
    1,333
    1,886
    60
    hey guys any idea on how to remove this from all links..i used some site n they added adf.ly/blah before every url..like this "http://adf.ly/*****/http://uploaded.net/file/XXXXXX" ...any script or trick which can remove "http://adf.ly/*****" ?


    ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    17,492
    15,278
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. UVAIS

    UVAIS MDL Expert

    Mar 17, 2011
    1,333
    1,886
    60

    Yeah...its good for Mozilla & it can Skip adf.ly/blah...but i want to remove "adf.ly/XXXX" Completely..i got success in blocking some .gif/images using Adblock..but unable to remove that url ..I m using Chrome :( :jumpon:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    17,492
    15,278
    340
    You can use that script in Chrome with the help of Tampermonkey.

    But I can't get what you are saying... :(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. UVAIS

    UVAIS MDL Expert

    Mar 17, 2011
    1,333
    1,886
    60
    #5 UVAIS, Apr 20, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
    hmmm like this site shows download link "http://uploaded.net/file/XXXXXX" But when i Click on that link It Redirect to

    "http://adf.ly/*****/http://uploaded.net/file/XXXXXX"


    so i want to remove that url "http://adf.ly/*****/" .,I have removed(Blocked) some Images/Logo etc using ADBlock & now these images not showing :/ maybe some web dev can help me o_O:worthy:

    After looking inside site's Source I found this


    Code:
    <script type="text/javascript">
    onmousemove = function adfly() {
    adfly_id = '12121212'; //replace with your ID
    for (var i = 0; i < document.links.length; i++) {
    var hrefer = document.links.href;
    if(hrefer.match("adf.ly") || hrefer.match("thatsitesname.com")|| hrefer.match("eurovps.com")) {
    document.links.href = document.links.href;
    }else{document.links.href = 'http://adf.ly/' + adfly_id + '/' + document.links.href;}
    }
    }
    </script>



    i think if we can remove or modify this while loading page,it can solve prob :(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. TGWMDL

    TGWMDL MDL Novice

    Aug 24, 2013
    1
    0
    0
    Sorry to bring an old thread, but I have the same problem here, and I was wondering if you found a script or any other way to disable this inline script?