Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
engineerhead
on Feb 24, 2012
|
parent
|
context
|
favorite
| on:
PHP: v8.js
one possible use can be executing some JS code even if JS is disabled in browser
Achshar
on Feb 24, 2012
[–]
yes but that would require server to know that which again requires some sort of ajax which cannot happen because js is disabled!
waitwhat
on Feb 24, 2012
|
parent
[–]
<noscript>
waitwhat
on Feb 25, 2012
|
root
|
parent
[–]
apparently I have to spell it out to the downvoter...
<script src="/client-side.js"></script> <noscript><img src="/server-side.js"></noscript>
...which fulfills the requirement of "executing some JS code even if JS is disabled in browser".
Achshar
on Feb 25, 2012
|
root
|
parent
[–]
yes, that seems correct, also just to make it clear, i can't even down vote yet :P so it wasn't me :)
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: