Skip to content

Instantly share code, notes, and snippets.

@Aran-Fey
Last active October 2, 2018 13:11
Show Gist options
  • Select an option

  • Save Aran-Fey/69846c14f3475ef171ea801b51487d3d to your computer and use it in GitHub Desktop.

Select an option

Save Aran-Fey/69846c14f3475ef171ea801b51487d3d to your computer and use it in GitHub Desktop.
Changes the default size of the answer box (and the question box) on StackOverflow
// ==UserScript==
// @name StackExchange bigger text boxes
// @description Changes the default size of the answer box (and the question box) on StackExchange
// @version 1.3
// @author Paul Pinterits
// @include *://*.stackexchange.com/questions/*
// @include *://meta.serverfault.com/questions/*
// @include *://meta.stackoverflow.com/questions/*
// @include *://meta.superuser.com/questions/*
// @include *://serverfault.com/questions/*
// @include *://stackoverflow.com/questions/*
// @include *://superuser.com/questions/*
// @include *://*.stackexchange.com/posts/*/edit
// @include *://meta.serverfault.com/posts/*/edit
// @include *://meta.stackoverflow.com/posts/*/edit
// @include *://meta.superuser.com/posts/*/edit
// @include *://serverfault.com/posts/*/edit
// @include *://stackoverflow.com/posts/*/edit
// @include *://superuser.com/posts/*/edit
// @exclude *://*/questions/tagged/*
// @grant none
// @updateURL https://gist.github.com/Aran-Fey/69846c14f3475ef171ea801b51487d3d/raw/SO_textarea_resizer.user.js
// @downloadURL https://gist.github.com/Aran-Fey/69846c14f3475ef171ea801b51487d3d/raw/SO_textarea_resizer.user.js
// ==/UserScript==
'use strict';
const style = document.createElement('style');
style.innerHTML = `
textarea.wmd-input,
textarea#wmd-input {
height: 30rem;
}
`;
document.body.appendChild(style);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment