Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wonder how well his site works in less-than-modern browsers - doing "curl http://codestruggle.blogspot.com/2011/12/google-verbatim-sea..., for instance, returns no actual readable content. (I wonder how well it would work with Instapaper?)


This is due to the latest iteration of Blogger. Newer and/or updated templates apparently (I haven't looked into the details) require Javascript.

Ironically, I first encountered this on an official Google (i.e. Google news/PR -- I forget which one) blog hosted on Blogger. At that time, the Blogger updates were just launching, and no one had included a "click for a non-dynamic version of this page" notification/alternative. So, you clicked on the link to the blog entry, and you got a white, "empty" view portal.

I viewed source and used that to hack around to the final destination address of the blog entry (which displayed fine, despite the supposed Javascript dependency). I even bitched about it on here -- the blog link, whatever it was, was posted on HN. Who knows, maybe someone from Google saw that and got a clue. (Yeah, a bit of sarcasm, there -- meant to be humorous; I'm not necessarily the sharpest tool in the shed, myself.)


Works on links (you have to click through to non-js version); but links is a modern web browser.

I'm guessing he/his host is using mod-security and blocking curl; or something similar.


Nope, I grabbed the source and made sure all links pointed to http:// etc etc, and it loaded the page fine.

The dependence on javascript to load your resources seems dumb in this instance. Whatever happened to being able to degrade gracefully? With noscript, his page would be completely blank.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: