- Author: Damien O'Halloran, The George Washington University 2017
- Perhaps the smallest JavaScript library ever
- Minified version is 536 bytes
- Dynamically inserts the Current Unix Timestamp onto a webpage
<body>
<!--plays very nicely with jQuery-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="posix.js"></script>
<!--Every time the user mouses over the placeholder tag
the Unix Timestamp will dynamically appear-->
<h1 id='showUTS'></h1>
<!--placeholder text-->
<h1 id="utsTag" onmouseover="UTS$('#showUTS','#utsTag')">POSIX</h1>
</body>
<body>
<script src="posix.js"></script>
<!--Every time the user mouses over the placeholder tag
the Unix Timestamp will dynamically appear-->
<h1 id='showUTS'></h1>
<!--placeholder text-->
<h1 id="utsTag" onmouseover="UTS$('showUTS','utsTag')">POSIX</h1>
</body>
All contributions are welcome.
If you have any problem or suggestion please open an issue here.
MIT