Home > Back-end >  Is it possible to run js file on flash drive automatically when it's plugged in?
Is it possible to run js file on flash drive automatically when it's plugged in?

Time:03-31

I am trying to make a flash drive that automatically runs a simple window.open() when plugged in. Is this possible?

Note: The operating system I am using is ChromeOS. If it's not possible to do on ChromeOS, can you do it on Windows?

CodePudding user response:

No.

The ability to run files automatically from a flash drive was removed in Windows 7, for security reasons.

  • Related