Skip to content

Instantly share code, notes, and snippets.

@dzver
Created April 22, 2011 12:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dzver/936524 to your computer and use it in GitHub Desktop.
Save dzver/936524 to your computer and use it in GitHub Desktop.
hide nikoleta
var blacklist = ['Николета', 'Най Ло', 'Златка', 'Асдис', 'Анн Джи', 'Вачева', 'Вулева', 'Калканджиева', 'Бербатов', 'Божинов', 'Бербо', 'Бареков', 'Трифонов'];
$.each(blacklist, function(ix, value) {
$('a:contains(' + value + ')').parent().hide();
$('p:contains(' + value + ')').hide();
});
var re = /(arenabg|zamunda)/i;
if (document.location.href.search(re) >= 0) {
var blacklist = ['object', 'embed', 'iframe'];
$.each(blacklist, function(ix, value) {
$(value).hide();
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment