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

A javascript: URL can work offline. Try this: javascript:document.write("hello world");

Note that if you cut and paste into Chrome it may delete the "javascript:" part and you will have to add that back.



Can a QR code convert to JavaScript like that? i.e. instead of opening a webpage it just executes some JavaScript.




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

Search: