Created
November 20, 2013 17:07
-
-
Save dduleone/7566906 to your computer and use it in GitHub Desktop.
Resize Google Spreadsheet's Chat/Collaboration area. This is intended to be copy/pasted into a Chrome browser bookmark.
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
javascript:(function(){ | |
var x = prompt('Enter the desired width, in pixesl. (default: 250)', 250); | |
document.getElementsByClassName('docs-chat-pane-container')[0].style.width = x + 'px'; | |
document.getElementsByClassName('docs-chat-edit-container')[0].style.width = x + 'px'; | |
document.getElementsByClassName('docs-chat-edit-box')[0].style.width = (x - 32) + 'px'; | |
document.getElementById('docs-chat-messages').children[document.getElementById('docs-chat-messages').children.length-1].scrollIntoView(); | |
}()); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment