koldfront

window.history.pushState()

🕚︎ - 2012-03-17

In HTML5 there is new, unprecedented access to alter the URL shown in the address-bar of the browser.

I guess it can be used for something good, and that I am just a grumpy old man.

But let's try an example. Click a URL:

And then check out the address-bar. Sweet, huh?

Man, that can be used to shoot yourself in the foot. Like, say, implementing page-loads within Javascript, because, y'now, browsers are really bad at loading pages... Viz pjax.

Don't. Break. The. Web.

Add comment

How to in excruciating detail…

To avoid spam many websites make you fill out a CAPTCHA, or log in via an account at a corporation such as Twitter, Facebook, Google or even Microsoft GitHub.

I have chosen to use a more old school method of spam prevention.

To post a comment here, you need to:

  • Configure a newsreader¹ to connect to the server koldfront.dk on port 1119 using nntps (nntp over TLS).
  • Open the newsgroup called lantern.koldfront and post a follow up to the article.
¹ Such as Thunderbird, Pan, slrn, tin or Gnus (part of Emacs).

Or, you can fill in this form:

+=