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

If another site would really want to include the script, it could also strip the initial text. Is the purpose only to avoid people from including the script by mistake?



You can't make a XHR request to another domain. You only can include it via a <script> tag and that is going to fail.


Didn't know that. Thanks!




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

Search: