Skip to content

Instantly share code, notes, and snippets.

@ryanburnett
Created December 18, 2013 22:04
Show Gist options
  • Save ryanburnett/8030649 to your computer and use it in GitHub Desktop.
Save ryanburnett/8030649 to your computer and use it in GitHub Desktop.
conditionizr
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>conditionizr</title>
<script src="scripts/conditionizr.js"></script>
<script>
conditionizr.add('chrome', [], function () {
return !!window.chrome && /google/i.test(navigator.vendor);
});
</script>
</head>
<body>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment