Knowledge (XXG)

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

Index

User:Hilst
A guide
appropriate village pump

user script
User:Hilst/Scripts/scriptManager
Knowledge (XXG):Bypass your cache






















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