benz240 All American 4476 Posts user info edit post |
for example, to keep pages from having the horizontal scroll bar, example:
http://www.thewolfweb.com/message_topic.aspx?topic=483106&page=1#10489792
and before you say get a bigger monitor/better graphics card, i'm running SXGA+...that should be enough for anybody 6/23/2007 2:23:41 PM |
joe17669 All American 22728 Posts user info edit post |
Opera has this built in functionality, it's called "Fit to Width"
I've always wondered myself if there was a way to do it in Firefox. I'm glad I'm not the only one.] 6/23/2007 2:53:08 PM |
Aficionado Suspended 22518 Posts user info edit post |
well some of us browse on 12.1" screens 6/23/2007 7:28:29 PM |
Wolfrules All American 1880 Posts user info edit post |
Greasemonkey and this script:
// ==UserScript== // @name TWWMaxImageWidth // @namespace http://needsahome.com // @description Limits Maximum Image Width to 860px // @include http://*brentroad.com* // @include http://*thewolfweb.com* // ==/UserScript==
(function() { window.addEventListener("load", function(e) { var imgList = document.getElementsByTagName("img"); for (i=0; i < imgList.length; i++) { var maxWidth = (0.8)*window.innerWidth; var width = imgList[i].width; var height = imgList[i].height;
if (width > maxWidth)// || height > maxHeight) { imgList[i].width = maxWidth; //imgList[i].height = Math.min(imgList[i].width * height / width, maxHeight); imgList[i].height = imgList[i].width * height / width; //imgList[i].width = imgList[i].height * width / height; window.status = ("GreaseMonkey - MaxImageSize Re-sized " + imgList[i].src + " to be " + imgList[i].width + " x " + imgList[i].height); } } return; }, false); })();
6/23/2007 9:05:19 PM |
miska All American 22242 Posts user info edit post |
^nice!
I was just looking for something like that 6/23/2007 9:37:55 PM |
benz240 All American 4476 Posts user info edit post |
awesome, thanks 6/23/2007 11:53:05 PM |