http://dir.yahoo.com/Computers_and_Internet/Programming_and_Development/the diggler menu will have options for:
http://dir.yahoo.com/Computers_and_Internet/ http://dir.yahoo.com/Clicking on these will take your browser immediately to the new location.1 Another way to get a sense of what this extension does it by looking at a screenshot.
Now, what if you're looking at http://dir.yahoo.com or http://us.f604.mail.yahoo.com/ym/login?.rand=38fssok and you want to go to http://www.yahoo.com? Diggler's menu doesn't offer this as an option. But, diggler is customizable in a way that geeks will appreciate. The rest of you can tune out now. Using regular expressions, you can do pattern substitution to add this usage.2
Adding a "www" option to Diggler1I use Yahoo as an example because its directory's URLs are nicely hierarchical -- Yahoo also happens to provide clear links to go to each of these higher levels. Not every site is so friendly.
Open the options for Diggler, add a new user defined tool. For the regular expression, enter:^http://([a-zA-Z0-9-]+\.)+([a-zA-Z0-9-]+\.[a-zA-Z]+)(/.*)*$for the action, enterhttp://www.$2/
2This won't work as expected with domains that have three significant chunks, e.g. with news.bbc.co.uk, you won't get www.bbc.co.uk, you'll get www.co.uk. Adding an additional tool to handle such URLs is left as an exercise for the reader