Created
March 30, 2017 16:30
-
-
Save twilight-sparkle-irl/ea45221d9e5e70846b1b0f31cb9cb25b to your computer and use it in GitHub Desktop.
Allows you to change TweetDeck decider options
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
// This can be run by both pasting it into the Javascript console | |
// and by using it as a userscript. | |
// == CONFIG == | |
// You can view more TD.deciders by running | |
// TD.decider.getAll() in the JS console. | |
window.decider_override = { | |
"hearts_and_likes2": true, // revert likes to favorites | |
"dm_rounded_avatars": false, // make avatars in dms nonround | |
"simplified_replies": false // remove "Replying to" replacing mentions | |
} | |
// == END CONFIG == | |
TD.decider.updateFromBackend = _.wrap(TD.decider.updateFromBackend, (function(func, dict) { | |
for (var a in window.decider_override) { dict[a] = window.decider_override[a]; } | |
return func(dict) | |
})) | |
TD.decider.updateForGuestId() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment