Knowledge

User:Animum/liveclock.js

Source 📝

58: 30:
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by
31:
others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes.
68: 35:
to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the
147:* Yes, a few hundred milliseconds (the normal margin of error for these clocks) doesn't really make that much of a difference, 36: 32: 105: 133:* This version has a feature that makes it, at most, only a few milliseconds ahead of the actual time. 64: 8: 80:
After saving, you have to bypass your browser's cache to see the changes.
17: 104:
toolbar button. For details and instructions about other browsers, see
57: 694://Being under 10 milliseconds ahead is reasonably accurate. 24: 52: 26: 781://Trying to get the clock as accurate as possible 14: 45:be executed when previewing this page. 76: 23: 112: 1081: 56: 13: 1: 154:* but I'm just that anal. 7: 945:'&action=purge' 912:'/index.php?title=' 106:Knowledge:Bypass your cache 10: 1086: 1057: 1056: 1053: 1052: 1046: 1045: 1036: 1035: 1032: 1031: 998: 997: 964: 963: 819: 818: 803: 802: 799: 798: 792: 791: 785: 784: 739: 738: 726: 725: 698: 697: 670: 669: 570: 569: 380: 379: 355: 354: 330: 329: 305: 304: 271: 270: 249: 248: 242: 241: 232: 231: 210: 209: 185: 184: 169: 168: 165: 164: 158: 157: 151: 150: 144: 143: 137: 136: 130: 129: 123: 122: 116: 115: 113: 37:appropriate village pump 126:* Modified version of ] 63:Documentation for this 903:'wgScriptPath' 69:User:Animum/liveclock 936:'wgPageName' 852:'p-personal' 876:'wgServer' 289:getUTCMilliseconds 100:key and click the 957:'utcdate' 75: 74: 49: 48: 1077: 1071: 1070: 1067: 1064: 1061: 1055: 1051: 1050: 1044: 1043: 1040: 1034: 1030: 1029: 1026: 1023: 1020: 1017: 1014: 1011: 1008: 1005: 1002: 996: 995: 992: 991:'normal' 989: 986: 983: 980: 977: 974: 971: 968: 962: 961: 958: 955: 952: 949: 946: 943: 940: 937: 934: 931: 928: 925: 922: 919: 916: 913: 910: 907: 904: 901: 898: 895: 892: 889: 886: 883: 880: 877: 874: 871: 868: 865: 862: 859: 856: 853: 850: 847: 844: 841: 838: 835: 832: 829: 826: 823: 817: 816: 813: 810: 807: 801: 797: 796: 790: 789: 783: 782: 779: 776: 773: 770: 767: 764: 761: 758: 755: 752: 749: 746: 743: 737: 736: 733: 730: 724: 723: 720: 717: 714: 711: 708: 705: 702: 696: 695: 692: 689: 686: 683: 680: 677: 674: 668: 667: 664: 661: 658: 655: 652: 649: 646: 643: 640: 637: 634: 631: 628: 625: 622: 619: 616: 613: 610: 607: 604: 601: 598: 595: 592: 589: 586: 583: 580: 577: 574: 568: 567: 564: 563:' (UTC)' 561: 558: 555: 552: 549: 546: 543: 540: 537: 534: 531: 528: 525: 522: 519: 516: 513: 510: 507: 504: 501: 498: 495: 492: 489: 486: 483: 480: 477: 474: 471: 468: 465: 462: 459: 456: 453: 450: 447: 444: 441: 438: 435: 432: 429: 426: 423: 420: 417: 414: 411: 408: 405: 402: 399: 396: 393: 390: 387: 384: 378: 377: 374: 371: 368: 365: 362: 359: 353: 352: 349: 346: 343: 340: 337: 334: 328: 327: 324: 321: 318: 315: 312: 309: 303: 302: 299: 296: 293: 290: 287: 284: 281: 278: 275: 269: 268: 265: 262: 259: 256: 253: 247: 246: 240: 239: 236: 230: 229: 226: 223: 220: 217: 214: 208: 207: 204: 201: 198: 195: 192: 189: 183: 182: 179: 176: 173: 167: 163: 162: 156: 155: 149: 148: 142: 141: 135: 134: 128: 127: 121: 120: 109: 96:: Hold down the 67:can be added at 60: 53: 27: 1085: 1084: 1080: 1079: 1078: 1076: 1075: 1074: 1073: 1072: 1068: 1065: 1062: 1059: 1048: 1041: 1038: 1027: 1024: 1021: 1018: 1015: 1012: 1009: 1006: 1003: 1000: 993: 990: 987: 984: 981: 978: 975: 972: 969: 966: 959: 956: 953: 950: 947: 944: 941: 938: 935: 932: 929: 926: 923: 920: 917: 914: 911: 908: 905: 902: 899: 896: 893: 890: 887: 884: 881: 878: 875: 872: 869: 866: 863: 860: 857: 854: 851: 848: 845: 842: 839: 836: 833: 830: 827: 824: 821: 814: 811: 808: 805: 794: 787: 780: 777: 774: 771: 768: 765: 762: 759: 756: 753: 750: 747: 744: 741: 734: 731: 728: 721: 718: 715: 712: 709: 706: 703: 700: 693: 690: 687: 684: 681: 678: 675: 672: 665: 662: 659: 656: 653: 650: 647: 644: 641: 638: 635: 632: 629: 626: 623: 620: 617: 614: 611: 608: 605: 602: 599: 596: 593: 590: 587: 584: 581: 578: 575: 572: 565: 562: 559: 556: 553: 550: 547: 544: 541: 538: 535: 532: 529: 526: 523: 520: 517: 514: 511: 508: 505: 502: 499: 496: 493: 490: 487: 484: 481: 478: 475: 472: 469: 466: 463: 460: 457: 454: 451: 448: 445: 442: 439: 436: 433: 430: 427: 424: 421: 418: 415: 412: 409: 406: 403: 400: 397: 394: 391: 388: 385: 382: 375: 372: 369: 366: 363: 360: 357: 350: 347: 344: 341: 338: 335: 332: 325: 322: 319: 316: 313: 310: 307: 300: 297: 294: 291: 288: 285: 282: 279: 276: 273: 266: 263: 260: 257: 254: 251: 244: 237: 234: 227: 224: 221: 218: 215: 212: 205: 202: 199: 196: 193: 190: 187: 180: 177: 174: 171: 160: 153: 146: 139: 132: 125: 118: 111: 110: 99: 50: 40: 22: 21: 20: 12: 11: 5: 1083: 1025:'none' 846:addPortletLink 639:createTextNode 554:getUTCFullYear 114: 97: 90:Microsoft Edge 73: 72: 61: 51: 47: 46: 25: 15: 9: 6: 4: 3: 2: 1082: 1058: 1054: 1047: 1037: 1033: 1019:textTransform 999: 965: 820: 804: 800: 793: 786: 740: 727: 699: 671: 571: 381: 373:getUTCSeconds 356: 348:getUTCMinutes 331: 306: 272: 250: 243: 233: 211: 186: 170: 166: 159: 152: 145: 138: 131: 124: 117: 107: 103: 95: 91: 87: 83: 82:Google Chrome 79: 70: 66: 62: 59: 55: 54: 44: 38: 34: 29: 28: 19: 627:replaceChild 512:', ' 101: 93: 89: 85: 81: 77: 42: 542:' ' 533:' ' 491:'0' 470:':' 449:'0' 428:':' 407:'0' 323:getUTCHours 65:user script 18:User:Animum 985:fontWeight 951:'' 769:stabilizer 748:setTimeout 707:setTimeout 679:stabilizer 663:firstChild 657:firstChild 621:firstChild 609:firstChild 603:firstChild 594:&& 591:firstChild 582:&& 524:getUTCDate 277:stabilizer 41:This code 1066:liveClock 1001:liveClock 967:liveClock 822:liveClock 809:liveClock 197:liveClock 1039:showTime 806:function 754:showTime 713:showTime 651:dateNode 633:document 615:dateNode 597:dateNode 585:dateNode 579:dateNode 222:dateNode 191:dateNode 175:showTime 172:function 98:⇧ Shift 86:Firefox 33:A guide 924:config 891:config 864:config 742:window 701:window 235:return 102:Reload 94:Safari 1013:style 979:style 78:Note: 16:< 1007:node 973:node 840:util 828:node 760:1000 732:else 719:1000 682:< 645:time 482:< 440:< 398:< 386:time 264:Date 203:node 92:and 43:will 1042:(); 930:get 897:get 870:get 778:)); 548:now 518:now 383:var 376:(); 367:now 358:var 351:(); 342:now 333:var 326:(); 317:now 308:var 283:now 274:var 267:(); 261:new 255:now 252:var 188:var 119:/* 1069:); 1060:$ 960:); 918:mw 885:mw 858:mw 834:mw 812:() 775:10 722:); 673:if 666:); 648:), 573:if 557:() 527:() 503:ss 497:ss 485:10 479:ss 461:mm 455:mm 443:10 437:mm 419:hh 413:hh 401:10 395:hh 361:ss 336:mm 311:hh 298:10 292:() 213:if 178:() 161:*/ 88:, 84:, 1063:( 1049:} 1028:; 1022:= 1016:. 1010:. 1004:. 994:; 988:= 982:. 976:. 970:. 954:, 948:, 942:+ 939:) 933:( 927:. 921:. 915:+ 909:+ 906:) 900:( 894:. 888:. 882:+ 879:) 873:( 867:. 861:. 855:, 849:( 843:. 837:. 831:= 825:. 815:{ 795:} 788:} 772:* 766:( 763:- 757:, 751:( 745:. 735:{ 729:} 716:, 710:( 704:. 691:{ 688:) 685:1 676:( 660:. 654:. 642:( 636:. 630:( 624:. 618:. 612:) 606:. 600:. 588:. 576:( 566:; 560:+ 551:. 545:+ 539:+ 536:+ 530:+ 521:. 515:+ 509:+ 506:) 500:: 494:+ 488:? 476:( 473:+ 467:+ 464:) 458:: 452:+ 446:? 434:( 431:+ 425:+ 422:) 416:: 410:+ 404:? 392:( 389:= 370:. 364:= 345:. 339:= 320:. 314:= 301:; 295:/ 286:. 280:= 258:= 245:} 238:; 228:{ 225:) 219:! 216:( 206:; 200:. 194:= 181:{ 140:* 108:. 71:. 39:.

Index

User:Animum
A guide
appropriate village pump

user script
User:Animum/liveclock
Knowledge:Bypass your cache






















Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.