Hacker News new | ask | show | jobs
by dheera 2107 days ago
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.

1 comments

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