Tweetdeck starry, not hearty

Sets Tweetdeck back to using stars for favorites.

2015-11-03 기준 버전입니다. 최신 버전을 확인하세요.

작성자
Frank Rohrer
평점
0 0 0
버전
1
생성일
2015-11-03
갱신일
2015-11-03
크기
841바이트
라이선스
해당 없음
적용 사이트

Tweetdeck accomplishes the new (and loathed) heart-shaped Favorite icon via a CSS rule that acts on the 'hearty' class; which they then (via script) apply to the body element; however, the old star-based favorite rule still exists in the CSS.
This script sets a MutationObserver to watch for that change, and then alters the class of the body element so that it is no longer 'hearty', but 'starry' (which has no special meaning in the Tweetdeck CSS).

Please note that Tweetdeck may abandon the class-based heart rule by altering the CSS to always use the 2015 sprite sheet, at which point this script will no longer help.