The best ideas come from finding something you do all the time, realize you do it, and then automate it.
With me, I discovered that I frequently go to the base domain of a website by going to the URL, highlighting and deleting the junk on the end of the domain name and then pressing enter. I HATE doing it. I also have to do it when websites don’t link to their home page.
So here’s an easy solution. A bookmarklet!
Drag the link below to your bookmarks bar (or in IE, right-click and add to favorites):
Here is the code:
var url = new String(location.href);var re = new RegExp(‘https?://([A-Za-z0-9.-]+)’);var res = url.match(re);location.href=res;