table page 7 - Dave's Blog

Search
My timeline on Mastodon

Opera Speed Dial Code-less Hack for IE7

2007 Apr 17, 11:45Opera (the fifth most popular web browser) has a new feature named Speed Dial (video of it in action). Whenever you open a new tab you get your Speed Dial view which consists of nine thumbnails of user-settable pages. Its like a quick-favorites that appears every time you open a new tab. I think this is a neat idea and was considering how I might do that in IE7. The following is my hack-y and ugly but no coding required version of Speed Dial for IE7. I like my hack and I'm about to expound upon it in unnecessary detail so skip to the last paragraph if you're afraid of losing interest.

By default in IE7, whenever you open a new tab you navigate to 'about:Tabs'. As noted in wikipedia the result of navigation to 'about:Tabs' is determined by values in the registry. Specifically, values in the key in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AboutURLs". Usually this fact is exploited by malicious software to hijack "about:blank" and show you ads but we can hijack it too in order to display our Speed Dial-ish page.

Of course since this is a code-less hack we've got limited options on what to change 'about:Tabs' to display. It should have the following requirements.
  1. Something local so that our 'about:Tabs' doesn't disappear when we go offline and so that its relatively fast.
  2. The user should be able to modify its content.
  3. Show links that the user uses.
  4. Show thumbnails of those links
  5. Provide easy to use drag and drop interaction and generally look cool.
Now, I use del.icio.us which allows me to store all of my favorites online and which provides RSS feeds that list my saved links. New in IE7 is an RSS platform that will, among other things, cache RSS feeds locally. So, by pointing about:Tabs to my del.icio.us feed 'http://del.icio.us/rss/sequelguy/quickreference' I get (1) from IE7's RSS support, and (2) and (3) from del.icio.us. Of course requirements (4) and (5) are missing but hey, I said this was ugly.

In summary, if you change the registry value "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AboutURLs!Tabs" to point to an RSS feed of your favorites you can get a hack-y version of Opera's Speed Dial. I should note that although its referenced on pages such as wikipedia changing your 'about:Tabs' URI in the manner I describe is not documented and not supported by Microsoft. There could be all kinds of horrible repercussions from this change of which I'm not aware. Yeah, actually you know what? Forget I said any of this. Pretend I never wrote it...PermalinkCommentsbrowser technical hack

Delicious shortcut tag

2007 Apr 8, 3:05Shortcut Tag?
I just saw this on another user's delicious links: a link to ESV search that's tagged with, among other things, "shortcut:esv". When viewed on del.icio.us there's a text box that lets you search using that link. I hadn't seen this before, but it seems pretty cool and I'm surprised I hadn't seen it previously. A delicious post with such a tag ends up looking like the following: I tried searching for information on this and I've found other delicious users doing the same thing, but nothing about the tag itself. If you know any information especially official information from del.icio.us itself please post links in reply to this post. So without further preface here's what I've learned about the del.icio.us shortcut tag.

How-to
To get a search box in your del.icio.us links make a post that satisfies the following requirements:
  1. One of the tags must begin with the text 'shortcut:'. You can have more text following that in the tag if you like but it must at least start with 'shortcut:'.
  2. The 'url' you post must be a shortcut url rather than an actual URL. It must contain a '%s' with a lowercase 's'. When you enter text into the textbox on the del.icio.us page the text will replace the '%s' after being percent-encoded. For example 'http://www.google.com/search?hl=en&q=%s' is the shortcut url for Google and if you type 'foo bar' into the textbox the URI you will navigate to would be 'http://www.google.com/search?hl=en&q=foo%20bar'.


Complaints
This is neat but I do have a few complaints:
  1. The text from the textbox is percent-encoded before replacing the '%s'. Most sites use application/x-www-form-urlencoded which encodes spaces as '+' rather than '%20'.
  2. The shortcut url format seems to be taken from Mozilla's Firefox Custom Keywords. Its a shame it wasn't based on something more adaptable like the OpenSearch URL template syntax.
  3. A '%s' in the url means technically what you're submitting to del.icio.us isn't a URI as defined by the standard.
  4. Allowing text after 'shortcut:' means you can't look at all of a user's shortcut using this tag.


The next step is to create a tool to sync my IE7 search providers with my shortcuts saved to delicious...PermalinkCommentstechnical howto tagging tool tag delicious

1337 Haxxors (Acceptable TV)

2007 Apr 1, 3:12Fake television show about hackers. Lots of 1337 humor.PermalinkCommentscode hackers humor video

Inflatable Human Beach Ball - Gizmodo

2007 Mar 16, 4:30A giant inflatable floating ball that you sit inside of.PermalinkCommentscool toys water humor beach-ball

RFC 2045 Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies

2007 Mar 8, 1:01Definition of Quoted-Printable an encoding used in MIME.PermalinkCommentsmime encoding quoted-printable ietf rfc reference standard

101 Free Games 2007 - The Best Free Games on the Web! from 1UP.com

2007 Jan 22, 7:14List of free and notable games for Windows. Including such things as the Airport Security game and 'I'm O.K.' the game built for Jack Thompson.PermalinkCommentsgames free windows download videogames

Code Pages Supported by Windows

2005 Jul 20, 4:18Windows codepages with graphical tables and Unicode equivalentsPermalinkCommentslanguage unicode reference codepage charset encoding

The GNU Awk User's Guide - Table of Contents

2005 Apr 2, 1:26User manual fo GNU awk the string manipulation languagePermalinkCommentsawk GNU development reference

Joined LiveJournal

2003 Feb 12, 1:35After much insisting and assisting from Jessica, I have a Live Journal account. Hopefully in the near future I'll be able to make it look respectable and add in more friends. Thanks for the code and suggestions Jessica. This morning, I ran around collecting various forms from a plethora of offices in an attempt to figure out how to graduate. I had a modicum of success and I'm fairly happy, but all this thinking about the future has left me feeling tired and little time to study for Chemistry, or, as I refer to it, the class I hope I don't have to take next quarter. Speaking of which, I really should get back to that. Or maybe I'll just go to sleep.PermalinkComments

MAKE | Proscribed Printables

1969 Dec 31, 8:00Its 3d printer models for a AR-15 magazine and an apparently critical part of the AR-15 that can't be sold without a license. They need to get to the point where no one can imagine their life without a 3d printer before they start into this territory... Over on BoingBoing Just_Ok writes: "1st amendment + 2nd amendment = The right to print arms."PermalinkComments3d printer gun law diy
Older EntriesNewer Entries Creative Commons License Some rights reserved.