Skip to content

Instantly share code, notes, and snippets.

@twilight-sparkle-irl
Last active January 13, 2017 15:11
Show Gist options
  • Save twilight-sparkle-irl/f01521eaa12e59a68e4d2d939c440f01 to your computer and use it in GitHub Desktop.
Save twilight-sparkle-irl/f01521eaa12e59a68e4d2d939c440f01 to your computer and use it in GitHub Desktop.
Change TD.decider decisions.
// ==UserScript==
// @name Fix Tweetdeck
// @namespace NO_BOOT_DEVICE/decideformyself
// @description Allows you to edit decider decisions.
// @include https://tweetdeck.twitter.com/*
// @include http://tweetdeck.twitter.com/*
// @version 1
// @grant none
// ==/UserScript==
// All of this requires a reload to get it fully working.
// console.table(TD.decider.getAll()) to prettyprint a list of deciders
TD.decider.updateFromBackend = _.wrap(TD.decider.updateFromBackend, (function(func, dict) {
dict.hearts_and_likes2 = false // delete this line to get hearts and likes instead of favorites
dict.dm_rounded_avatars = false // delete this line to enable rounded avatars in dms
return func(dict)
}))
TD.decider.updateForLoginAccount()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment