Skip to content

Instantly share code, notes, and snippets.

@OpenGG
Created May 28, 2012 14:14
Show Gist options
  • Save OpenGG/2819395 to your computer and use it in GitHub Desktop.
Save OpenGG/2819395 to your computer and use it in GitHub Desktop.
Hide Putao Girl
Array.prototype.forEach||(Array.prototype.forEach=function(c,d){var e,a;if(null==this)throw new TypeError("this is null or not defined");var b=Object(this),g=b.length>>>0;if("[object Function]"!={}.toString.call(c))throw new TypeError(c+" is not a function");d&&(e=d);for(a=0;a<g;){var f;a in b&&(f=b[a],c.call(e,f,a,b));++a}});
Array.prototype.forEach.call(document.querySelectorAll('#shboxShowDiv p'),function(i){
if(i.innerHTML.indexOf('<b>\u8461\u8404\u5A18</b>')!==-1){
i.parentNode.removeChild(i);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment