Kevin Dente's Blog

The Blip in the Noise
My first GreaseMonkey script - MSDN Product Feedback
It's a bit of a pain to use Microsoft's Product Feedback Center to report bugs using Firefox. The various text areas for describing the problem are very narrow when rendered in Firefox, which makes it unpleasant to enter long descriptions. If you compare the HTML source on Firefox vs IE, you'll see that on IE the text areas are rendered with width of 100%, but on Firefox the width is not specified. This has been a problem for ages, but I guess it hasn't percolated up the priority list for the MS folks.

Enter GreaseMonkey. Register the following GreaseMonkey script:

var allTextareas, thisTextarea;
allTextareas = document.getElementsByTagName('textarea');
for (var i = 0; i < allTextareas.length; i++)
{
thisTextarea = allTextareas[i];
thisTextarea.style.width = "100%";
}

against the PF url:
http://lab.msdn.microsoft.com/ProductFeedback/EditFeedback.aspx*

and bingo, you get nice wide text areas.

Published Wednesday, June 01, 2005 11:13 AM by kevindente

Comments

# re: My first GreaseMonkey script - MSDN Product Feedback@ Wednesday, June 01, 2005 5:53 PM

Nice improvement. Did you post it to the Greasemonkey wiki?

You might be interested in a couple scripts I wrote:

Resize the textareas on any site, using keyboard shortcuts: http://blog.monstuff.com/archives/000246.html

MSDN language filter: http://blog.monstuff.com/archives/000240.html

Cheers,
Julien

Julien Couvreur