Jump to content

QR Code Failsafe


DarkxPunk

Recommended Posts

Hey there, So the title may be deceiving, but I think this can be achieved using JavaScript. My goal is to have a QR code that runs a javascript. What will happen? Well my idea is that since not everyone scanning a QR code may have internet access at said time, it would be a great to have a failsafe. The failsafe would be, if there is a internet connection then go to url x, if not load a event card. In my head it seems simple, but I can't figure out how to achieve this. First off I know you can put as a url in the QR code to be "javascript:SomeJavaScript" but what is the power of that? Can I have it try to bounce off a server and if receive false to load the event card? Please any help is appreciated,Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...