Skip to content

Instantly share code, notes, and snippets.

View omnikron's full-sized avatar
🐋
💨

Oli Barnett omnikron

🐋
💨
  • DE-NRW
  • 15:38 (UTC +02:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am omnikron on github.
  • I am omnikron (https://keybase.io/omnikron) on keybase.
  • I have a public key ASDM1GJwWGtVg5MEVdJ8aYaQWJNpy3Xew0u9EEZ37V6V4Qo

To claim this, I am signing this object:

@omnikron
omnikron / defer-test.html
Created July 31, 2019 08:13
dynamic defer
<html>
<head>
<script>
//var sdkURL = "blah";
//if (window.location.href.indexOf("testUI=enabled") >= 0) {
// sdkURL += "&loadTesting";
//}
var scriptTag = document.createElement('script');
scriptTag.type = 'text/javascript'
var code = "window.alert('initial dynamic')"