Skip to content

Instantly share code, notes, and snippets.

@beunwa
Last active December 23, 2015 06:19
Show Gist options
  • Save beunwa/6593353 to your computer and use it in GitHub Desktop.
Save beunwa/6593353 to your computer and use it in GitHub Desktop.
bookmarklet pour supprimer automatiquement les pubs twitter à chaque fois qu'elles apparraissent (sur la version web)
$('.stream-container').bind("DOMNodeInserted",function(){$('.js-promoted-badge').closest('.js-stream-item').each(function(index) { $(this).hide() });});
javascript:(function(){$('.stream-container').bind("DOMNodeInserted",function(){$('.js-promoted-badge').closest('.js-stream-item').each(function(index) { $(this).hide() });}); })();
@philippeguillem
Copy link

Est ce que quelqu un pourrait m expliquer Comment utiliser ces lignes de code permettant de supprimer la pub sur Twitter. Merci par avance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment