Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shawnhooper/17ebd8ea2d43b98e0620c8e6db3d2e6d to your computer and use it in GitHub Desktop.
Save shawnhooper/17ebd8ea2d43b98e0620c8e6db3d2e6d to your computer and use it in GitHub Desktop.
A bookmarklet to resize Tweetdeck's compose column after the May 2019 upgrade
javascript:(function()%7Bvar%20elems%20%3D%20document.querySelectorAll(%22.drawer.wide%22)%3B%5B%5D.forEach.call(elems%2C%20function(el)%20%7B%20el.classList.remove(%22wide%22)%3B%20%7D)%3Belems%20%3D%20document.querySelectorAll(%22body%20%3E%20div.application.js-app.is-condensed.hide-detail-view-inline%20%3E%20div.js-app-content.app-content.is-open%22)%3B%5B%5D.forEach.call(elems%2C%20function(el)%20%7B%20el.style.transform%20%3D%20%22translateX(270px)%22%3B%20el.style.marginRight%20%3D%20%22270px%22%3B%20%7D)%7D)()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment