MSDN Low Bandwidth Bookmarklet - Jon Galloway

MSDN Low Bandwidth Bookmarklet

There’s a semi-hidden feature in the MSDN Library website: Low Bandwidth view. We’ll talk about how to use it, why I like it, and some tips for switching it on and off. We’ll end up with an MSDN Low Band bookmarklet I whipped up to make it even easier.

The Low Bandwidth view has been available for a few months, but you wouldn’t know about it unless someone told you, since the only way to turn it on is to monkey with the URL. Try it - browse to:

http://msdn.microsoft.com/en-us/library/system.object.aspx

MSDN-HighBand

Now we’ll add the magic word: “(loband)” right before the “.aspx” at the end:

http://msdn.microsoft.com/en-us/library/system.object(loband).aspx

MSDN-LoBand

Magic!!!

Why LoBand is High Value

Simpler Layout

The obvious difference is that it replaces the navigation treeview on the left with a simple link. There are other subtle differences – simpler layout, fewer superfluous images. Higher signal to noise in my book.

Smaller Page Weight

The High Bandwidth version of this page weighs in at 100KB of HTML, but 400KB total by the time all the images, javascript, and CSS are loaded. Compare that with 66KB HTML / 70 KB total for the low bandwidth version. In this case (which is pretty representative) the low bandwidth version slimmed the page weight by 82.5%.

Faster Page Load

I’m not just talking about the smaller HTML here. The navigation tree on the left contains tons of nested unordered lists (ul>li>ul>li etc.). It’s actually a big improvement over the former HTML for that treeview, which (if I remember correctly) included a bunch of horrible nested tables with inline styles and javacript attributes. The new treeview uses a Telerik control, and outputs relatively clean HTML. Still, that treeview takes a while to load up – on my relatively quick development machine (with a very fast internet connection), the low band page loads twice as quickly – most of the time is spend in rendering the page. I’m not talking about milliseconds of difference here, I’m talking about 1 second load / draw time for low band vs. 4 second load / draw time for high band.

Who Cares?

Well, if you’re a Microsoft developer, you spend a lot of time on MSDN. There’s the time saver factor, sure, but more important is that fast load times removes the barrier to exploring the site.

Getting To The LoBand

The simplest way is to just add that (loband) bit before the .aspx file extension. If you’re on a page which already has one of those funky filters in the URL (like this: http://msdn.microsoft.com/en-us/library/cc189009(VS.95).aspx) you can just add a comma and put it in afterwards: http://msdn.microsoft.com/en-us/library/cc189009(VS.95,loband).aspx

When you switch to low bandwidth view by tweaking the URL, you  get a a “persist low bandwidth view” link at the top, which is nice. Clicking that link sets a cookie, so all MSDN you visit will be in low bandwidth view. That sounds great, but I find there are times where the low bandwidth is too low. Some pages (especially articles) are hard to read, and when learning a new object model the navigation tree is helpful. In that case, there’s a link at the top (where the “persist low bandwidth view” link used to be, before we clicked it) which unsets the cookie and returns us to the normal, high bandwidth view.

That all works, and I’ve used it since I heard about the low bandwidth view a few months ago. Still, it gets old – especially editing the URL the loband bit every time I’ve removed it.

Enter The Bookmarklet

Bookmarklets are great – they’re short Javascript functions that you bookmark, so you can run the Javascript on any page by opening the bookmark. They’re kind of like tiny Firefox addons. You can read more about bookmarklets, of course, on Wikipedia.

Well, after messing with that MSDN URL enough times, I figured it was time for a bookmarklet. So here it is: MSDN Low Band

It’s just a simple toggle – when you’re in the normal view, clicking the bookmarklet will switch you to Low Bandwidth view. Clicking it again will return you back to the normal view again. In Firefox / Opera / Safari, you can just drag that peachy colored button to your Links toolbar. In Internet Explorer, you’ll need to right click the link and select “Add To Favorites”, making sure to save to the Links favorite folder. I’ve tested it in IE, Firefox, and Safari.

The Delicious.com Bookmarklet installation help page has some nice screenshots and more information on installing Bookmarklets. If you’re interested in writing your own bookmarklets, I recommend you use a web based Bookmarklet helper page to simplify the grunt work, like this one.

So How Does It Work?

It’s really simple. At first I messed with the URL, but then I figured out that it was simpler to just modify the cookie and reload the page. Here’s the code, formatted so it’s easier to read:

javascript:
if(document.cookie.indexOf('LoBandEnabled=yes')<0){
  document.cookie='LoBandEnabled=yes;path=/;domain=.microsoft.com;%20expires=Wed,%2001-Aug-2040%2008:00:00%20GMT';
}
else{
  document.cookie='LoBandEnabled=no;path=/;domain=.microsoft.com;%20expires=Wed,%2001-Aug-2040%2008:00:00%20GMT';
}
window.location.reload();
Published Saturday, August 30, 2008 2:31 AM by Jon Galloway

Comments

# MSDN Low Bandwidth Bookmarklet

You've been kicked (a good thing) - Trackback from DotNetKicks.com

Saturday, August 30, 2008 7:17 AM by DotNetKicks.com

# MSDN Low Bandwidth View

MSDN Low Bandwidth View

Saturday, August 30, 2008 2:00 PM by Rich Text

# MSDN Low Bandwidth view

I picked up the blog entry by Jon Galloway - and it really is worth sharing. For us souls living in bandwidth

Monday, September 01, 2008 6:48 AM by Ahmed Salijee

# WiredPrairie - A &quot;low bandwidth&quot; mode for MSDN?

Pingback from  WiredPrairie -   A &quot;low bandwidth&quot; mode for MSDN?

Friday, September 12, 2008 11:56 PM by WiredPrairie - A "low bandwidth" mode for MSDN?

# 5 Ways to Get More Out of Your MSDN and TechNet Library Experience

The online libraries on MSDN and TechNet are among the most used sites on our network. Here's some great

Thursday, October 02, 2008 3:16 PM by John Martin's Blog

# Gyors online MSDN

Az msdn online olvasgatása mindig is egy felettébb frusztráló élmény. Sokat akar nyújtani, ezért 400

Sunday, November 09, 2008 1:12 PM by Hírcsatorna

# One of the best tips for browsing msdn…

I like MSDN I really do but when you want to increase the font size the thing just breaks and looks awful

Thursday, January 15, 2009 8:26 PM by Granville Barnett

# One of the best tips for browsing msdn…

I like MSDN I really do but when you want to increase the font size the thing just breaks and looks awful

Thursday, January 15, 2009 8:41 PM by Community Blogs

# MSDN Low Bandwidth View

MSDN Low Bandwidth View

Saturday, February 07, 2009 10:40 PM by Rich Text

# MSDN Tips and Tricks: Loband and T to toggle TOC

Tired of MSDN pages taking too long to load? You can now take advantage of a new feature in the MSDN

Wednesday, March 04, 2009 6:27 PM by Windows Driver Kit (WDK) Documentation Blog

# Tune Up Your PC &raquo; Post Topic &raquo; MSDN Tips and Tricks: Loband and T to toggle TOC

Pingback from  Tune Up Your PC  &raquo; Post Topic   &raquo; MSDN Tips and Tricks: Loband and T to toggle TOC

# Launching low bandwidth (loband) Beta for long haul!

The Library Experience (LEX) team is proud to announce the release of low bandwidth (loband) Beta! Please

Thursday, March 26, 2009 3:28 AM by Inside MSDN and TechNet

# infoblog &raquo; Launching low bandwidth (loband) Beta for long haul!

Pingback from  infoblog &raquo; Launching low bandwidth (loband) Beta for long haul!

# MSDN Low Bandwidth Bookmarklet - Jon Galloway

Thank you for submitting this cool story - Trackback from DotNetShoutout

Thursday, April 02, 2009 8:33 AM by DotNetShoutout

# MSDN Library Low Bandwidth Option

While chatting with Tim Ewald last week at Devweek we got onto the topic of “ways to improve the MSDN

Thursday, April 02, 2009 11:04 AM by IUpdateable from Eric Nelson

# MSDN Low Bandwidth View - I can&#8217;t remember where I read it&#8230;.

Pingback from  MSDN Low Bandwidth View - I can&#8217;t remember where I read it&#8230;.

# Codenauts &raquo; Lo Band MSDN

Pingback from  Codenauts &raquo; Lo Band MSDN

Wednesday, April 15, 2009 8:48 PM by Codenauts » Lo Band MSDN

# Overwhelming Software World &laquo; matt greer&#8217;s blog

Pingback from  Overwhelming Software World &laquo;  matt greer&#8217;s blog

Friday, April 17, 2009 3:29 AM by Overwhelming Software World « matt greer’s blog

# [VSTS2010] MSDN para Team System 2010 en marcha (como el huevo y la gallina, que es primero la ayuda o el contenido?)

Buenas, hace unos días Francisco comentaba las nuevas capacidades que se han incorporado desde hace un

Sunday, April 19, 2009 2:17 PM by El Bruno

# [VSTS2010] MSDN para Team System 2010 en marcha (como el huevo y la gallina, que es primero la ayuda o el contenido?)

Buenas, hace unos d&iacute;as Francisco comentaba las nuevas capacidades que se han incorporado desde

Sunday, April 19, 2009 2:32 PM by El Bruno

# Microsoft MSDN Goes Loband | EcoSilly

Pingback from  Microsoft MSDN Goes Loband | EcoSilly

Tuesday, April 21, 2009 10:14 AM by Microsoft MSDN Goes Loband | EcoSilly

# Microsoft MSDN Goes Loband | Only Hybrids

Pingback from  Microsoft MSDN Goes Loband | Only Hybrids

Tuesday, April 21, 2009 10:20 AM by Microsoft MSDN Goes Loband | Only Hybrids

# linkfeedr &raquo; Blog Archive &raquo; Microsoft MSDN Goes Loband - RSS Indexer (beta)

Pingback from  linkfeedr &raquo; Blog Archive &raquo; Microsoft MSDN Goes Loband - RSS Indexer (beta)

# Microsoft MSDN Goes Loband : Green Resouces

Pingback from  Microsoft MSDN Goes Loband : Green Resouces

Tuesday, April 21, 2009 4:21 PM by Microsoft MSDN Goes Loband : Green Resouces

# Eco News Today &raquo; Microsoft MSDN Goes Loband

Pingback from  Eco News Today &raquo; Microsoft MSDN Goes Loband

Tuesday, April 21, 2009 5:54 PM by Eco News Today » Microsoft MSDN Goes Loband

# Launching low bandwidth (loband) V1 and new IDE view!

The Library Experience (LEX) team is proud to announce the release of low bandwidth (loband) Version

Wednesday, April 22, 2009 2:33 AM by Inside MSDN and TechNet

# No bandwidth MSDN: Reflector

The low bandwidth version of MSDN has gotten a lot of attention recently. Allow me to suggest an alternative

Friday, April 24, 2009 11:11 PM by James Newton-King

# Microsoft MSDN Goes Loband | Eco Friendly Mag

Pingback from  Microsoft MSDN Goes Loband | Eco Friendly Mag

Friday, May 08, 2009 10:23 AM by Microsoft MSDN Goes Loband | Eco Friendly Mag

# Langsom PC? G??r din computer hurtigere uden besv??r

Pingback from  Langsom PC? G??r din computer hurtigere uden besv??r

Tuesday, August 25, 2009 1:18 AM by Langsom PC? G??r din computer hurtigere uden besv??r

# Low bandwidth version of MSDN Online - Musings by Generator

Pingback from  Low bandwidth version of MSDN Online - Musings by Generator

Saturday, December 19, 2009 1:49 PM by Low bandwidth version of MSDN Online - Musings by Generator

# Drax Ltd Ii Amphetamine Mp3, Ltd Part Established Years Trading - 442.akemet.com

Pingback from  Drax Ltd Ii Amphetamine Mp3, Ltd Part Established Years Trading - 442.akemet.com

# 1990 - 2009 @ 560sec Sale Used Mercedes Benz Series Automatic Transmission, 560sec Automotive Used Mercedes Benz - 296.defutbolazo.com

Pingback from  1990 - 2009 @ 560sec Sale Used Mercedes Benz Series Automatic Transmission, 560sec Automotive Used Mercedes Benz - 296.defutbolazo.com

# Is the &#8220;loband&#8221; version of MSDN preferable? ??? HTMLCoderHelper.com

Pingback from  Is the &#8220;loband&#8221; version of MSDN preferable? ??? HTMLCoderHelper.com