JavaScript cannot access the wider computer system but anything which happens to the Web page can trigger it to run.