Created
November 18, 2009 13:00
-
-
Save jwdeane/237819 to your computer and use it in GitHub Desktop.
Remove #fb from tweets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Assuming use of http://code.google.com/p/twitterjs/ for publishing to your website, and | |
// http://apps.facebook.com/selectivetwitter/ for publishing to Facebook | |
function fbRemove() { | |
$('#tweet li').each(function() { | |
var el = $(this); | |
el.html(el.html().replace(/\s*#.*fb<\/a>/ig, '')); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment