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

Thanks for the tip!

I'm not a web developer by trade, so this is good advice and something I never looked into. Thanks for the heads up, I'll have to block Javascript and see if I can get it working. I might be able to remove the prettify stuff entirely.



The funny thing there is that prettifyCode.js looks to be attempting to set the scene for a client-side highlighter, but no such highlighter is then used. And you’ve already got server-side highlighting happening.


Yeah, this is very likely an artefact of switching my blog from Django to Jekyll years ago, and then adopting rouge years after that. I definitely would like to use less JS on my website, and like you said, I already have server-side highlighting.




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

Search: