Introduction: Getting Around the Dreaded Code 404 (page Not Found)

Hate seeing 404 pages all the time or you click a Google search result only to find the page has been deleted? If so this is the instructable for you!

Step 1: Get the Bookmarklet

Make a new bookmark and were the url should go enter this code:

javascript:document.location.href='http://www.google.com/search?q=cache:'+document.location.href.replace(/http:\/\//,)

there have been reports of it not working in Firefox thanks to colin353 for making a FF version:

javascript:document.location.href='http://www.google.com/search?q=cache:'+document.location.href.replace("http://","");

name it 404 killer

Step 2: Done!

next time you get a 404 page just click the bookmarklet and the page will instantly be viewable.

Comments

author
munchman (author)2009-06-30

This is really cool, I've actually been looking for something like this for a while. I hope you don't mind, linked to it on my blog.

author
colin353 (author)2009-06-09

nice hack, doesn't work in firefox

fixed it for you:

javascript:document.location.href='http://www.google.com/search?q=cache:'+document.location.href.replace("http://","");

author
liammk (author)colin3532009-06-09

added this anyway

author
liammk (author)colin3532009-06-09

it works in ff for me

About This Instructable

6,548views

9favorites

License:

More by liammk:Getting around the dreaded code 404 (page not found)learn the basics of php (works)how to hand script a website
Add instructable to: