Skip to content

Instantly share code, notes, and snippets.

Created November 21, 2016 21:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/36a453e8d68498561b247dac4a0fe14e to your computer and use it in GitHub Desktop.
Save anonymous/36a453e8d68498561b247dac4a0fe14e to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>NFS EXAMPLES</title>
<script>
function authorize() {
import * as safejs from '../../src';
const app =
{
name: "SUCCESS!!!!!!!",
id: "id",
version: "0.0.0.0.0.0.0.0.1",
vendor: "SUCCESSFULMAN!!!",
permissions: ["SAFE_DRIVE_ACCESS"]
};
safejs.auth.authorise(app);
};
</script>
</head>
<body bgcolor="black"><center>
<button onClick="authorize()">Click to Authenticate!!</button><br>
</body></center>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment