DonMagee/Tactical-URL-Expander — pull request #3 by IBBoard (2012-02-17 20:58:00+00:00)
Title: Tweaks for use on Twitter

The following are some tweaks I made to make it work more to my liking, especially on Twitter where the t.co links didn't seem to be getting replaced.

* Clean up code and refactor an isExpandable method for re-use
* Shortcut expanding t.co links on Twitter where the expanded URL is in an attribute
* Make the "replace text" check ignore differences for having/not having the protocol
* Make the "replace text" check replace if the text matches the replaced URL (handles shortcutted t.co on Twitter)
* Make global variables local where possible