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

I agree re not using externally-hosted Javascript. In fact I seem to remember a year ago Google Code having connectivity issues and jQuery all over the place failing to load. I was glad on that day that I always host my own jQuery.

Re tracking, I ran into this embedded in some webfonts CSS a project was using (downloaded from one of those font websites):

    /* @import must be at top of file, otherwise CSS will not work */
    @import url("//elided.example.com/count/35d82f");

    @font-face {font-family: 'Foo'; font-weight: 300; src: url('/webfonts/foo.eot');.....}

That @import returns nothing. It is just part of their tracking/licensing. And it was really slow! And I love the lying comment they included.


Well, the @import itself only works if it precedes other statements.




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

Search: