Skip to content

Instantly share code, notes, and snippets.

@tclancy
Created October 9, 2012 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tclancy/3861600 to your computer and use it in GitHub Desktop.
Save tclancy/3861600 to your computer and use it in GitHub Desktop.
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