Skip to content

Instantly share code, notes, and snippets.

@twilight-sparkle-irl
Created March 30, 2017 16:30
Show Gist options
  • Save twilight-sparkle-irl/ea45221d9e5e70846b1b0f31cb9cb25b to your computer and use it in GitHub Desktop.
Save twilight-sparkle-irl/ea45221d9e5e70846b1b0f31cb9cb25b to your computer and use it in GitHub Desktop.
Allows you to change TweetDeck decider options
// 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