Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
adrianb
on Nov 26, 2010
|
parent
|
context
|
favorite
| on:
Throw 1; < don't be evil
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?
mcosta
on Nov 26, 2010
[–]
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.
adrianb
on Nov 26, 2010
|
parent
[–]
Didn't know that. Thanks!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: