ClsHack:Computer Security Blog    

[chrome-estensione]Rimuovi la pubblicità dai video di YouTube =)


Ed ecco una nuova estensione che rimuove la pubblicità di youtube nei video dal vostro google chrome :)


Il funzionamento, è semplicissimo, non fa altro che aggiungere un piccolo js alle pagine contentnti i video di youtube.
Il file js:
//author:clshack
//Site:www.clshack.com
var element = window.document.getElementById('movie_player');
var remove = element.cloneNode(true);
if (element){
remove.setAttribute('flashvars', remove.getAttribute('flashvars').replace(/[\&\?]?(ad_|infringe|invideo|watermark)([^=]*)?=[^\&]*/gi,'').replace(/(^[\&\?]*)|([\&\?]*$)/g,'')+'&invideo=false');
element.parentNode.replaceChild(remove,element);
}
//bye e bye ads

EDIT :

  1. [chrome-estensione]Rimuovi la pubblicità da HideMyAss
  2. [chrome-estensione]Rimuovi la pubblicità dalle ricerche google
  3. Scarica tutti video di Youtube su iPod, iPhone e Sony PSP
  4. [chrome-estensione]Togli gli * dalle password salvate =)
  5. Scarica i video da YouTube direttamente Online

This entry was posted on Friday, January 29th, 2010 at 3:23 pm and is filed under GNU/Linux, Software, Windows. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Tagged with:
  • seow hong koon

    i found that this extension still working but the extension does not appear in the search result of the extension pages… i go to the this extension pages and it says that the page i finding is not available . the items might be removed by user. so what happen to the extension in their extension page? did you remove it?

  • clshack

    Sorry for this…

    Use this:
    https://chrome.google.com/extensions/detail/gighmmpiobklfepjocnamgkkbiglidom?hl=en

    Or create an your exstension with code before cited :D