Skip to content

Instantly share code, notes, and snippets.

@tclancy
Created October 9, 2012 21:33
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Kill Text-Enhance Links on a Page (requires jQuery)
function killTextEnhance()
{
$("a[title]").each(function (i, element) {
if (element.title.toLowerCase().indexOf("text-enhance") > -1)
{
$(this).contents().unwrap();
}
});
}
$(document).ready(function () {setTimeout(killTextEnhance, 2000);});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment