tony-o / t.co-bypass

104 stars 21 forks source link

More readable checking of real url attributes #12

Closed bisho closed 10 years ago

bisho commented 10 years ago

IMHO this version to check the data-expanded-url, data-full-url and title attributes is more readable than the original very long line.

bisho commented 10 years ago

BTW, in my experiments looking just for class name twitter-timeline-link is enough, and you avoid traversing too many elements. See https://github.com/bisho/t.co-bypass/blob/master/greasemonkey.user.js

timdorr commented 10 years ago

.twitter-timeline-link only exists on twitter.com, not on TweetDeck.

bisho commented 10 years ago

The patch was not related with twitter-timeline-link (I commented that as suggestion), but a refactor to improve the checks for data-expanded-url, data-full-url and title attributes.