313 points · by ladon86 · 15y ago · 106 comments
You might have typed the URL incorrectly, for instance. Or (less likely but certainly plausible) we might have coded the URL incorrectly. Or (far less plausible, but theoretically possible, depending on which ill-defined Grand Unifying Theory of physics one subscribes to), some random fluctuation in the space-time continuum might have produced a shatteringly brief but nonetheless real electromagnetic discombobulation which caused this error page to appear.
http://allthatsnew.files.wordpress.com/2009/04/reddit.png?w=...
for a 404 they swap out several images. see http://www.reddit.com/thisisa404
https://img.skitch.com/20110302-kdhkc99usamdhb6yaptrw2y81d.j...
http://i52.tinypic.com/2cf8kdh.jpg
I only noticed a friend with it on his account last week. The next time I singed into my account it came up, and it's been there ever since.
<title>Error 404 (Not Found)!!1</title>To be honest, I prefer the idea of a more intelligent 404 page. You'd think Google would have sufficient horsepower to make a good guess at what you might have been trying to find.
If you view source, for example, the image is base64 encoded, and they don't even bother closing their tags on the page, because that's more bytes and the browsers don't notice. This was very carefully engineered.
In case a computer doesn't have that as the default for some reason, they don't want their page to look any different, if it is possible for the computer to display it correctly, because if it doesn't, it affects their brand image.
Imagine if you did a google search and everything looked just a little bit off (and you weren't a developer so you didn't know why): you might think someone was hacking google and stealing your information or changing your results. Consistency builds trust, and this is important to them.
There's a script for that: http://googlewebmastercentral.blogspot.com/2008/08/make-your...
Example:
<script type="text/javascript">
var GOOG_FIXURL_LANG = 'en';
var GOOG_FIXURL_SITE = 'http://www.example.com
</script>
<script type="text/javascript"
src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js>
</script> href=//www.google.com/
Title is funny :)
I think they could drop margin:0; padding:0 from css, default values in browsers won't change much for this type of page anyway.Oh, and it validates indeed: http://validator.w3.org/check?uri=http://www.google.com/nota...
Fairplay to them though, they got a semantically and structurally deficient document to validate - it's like the IE6 of webpages ;0)
http://www.w3.org/TR/html5/tokenization.html#the-before-html...
(I'll give you a hint: It's MSIE 6 and 7.)
Source: http://en.wikipedia.org/wiki/Data_URI_scheme#Web_browser_sup...
Maybe someone at Google should take a look at these very helpful tips on what to include on a 404 page:
Like, a lot.
Not true. They know the sub-domain and the path. Either or both could be used to do something more intelligent.
<script type="text/javascript">
var GOOG_FIXURL_LANG = 'en';
var GOOG_FIXURL_SITE = 'http://www.google.com'
</script>
<script type="text/javascript"
src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js>
</script>...abandoned in the desert...
When you launch, as a matter of fact for the first 10 years, having a clever error page is not a "MUST-have".
Prioritize!
Btw, this comment is just as much for me as for the next guy.
Kudos to Goog.