Hacker News new | comments | show | ask | jobs | submit login

Or `jQuery("a[href^='/']")` and you don't need extra attributes at all.

Great suggestion, thanks! I just updated the blog post with. I'll be happy to link to your site/twitter at the end of the post if you give me that information :)

Do you really never use relative URLs?

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