Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- var da = new Date();
- var tm0 = da.getHours();
- var tm = da.getMinutes();
- var tm1 = da.getSeconds();
- var ran = Math.floor((Math.random()*10)+1);
- var ran2 = Math.floor((Math.random()*10)+1);
- document.write(tm0+":"+tm+":"+tm1);
- if(tm0 >17){
- document.write("Dobur vecher")
- }
- if (tm0 > 21) {
- document.write("Kusno e - lqgai da spish!");
- }
- if (tm0 > 23) {
- document.write("E ne ti cepish napravo!");
- };
- if(ran == ran2) {
- window.alert("fdfdf");
- }
- document.write(ran);
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement