Knowledge (XXG)

User:Enterprisey/search-links.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: 478://window.addEventListener( "blur", function (e) { e.stopPropagation(); e.stopImmediatePropagation(); return false; }, true ); 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
105: 68: 32: 64: 17: 712:".suggestion-link { z-index: 1; float: right; position:relative; left: 0.2em; }" 517:// final one called when everything's updated is impression-results. That's 510:// mediawiki.track to fire a bunch of searchSuggest tracking events, and the 489:// Wire up the handler for searching. Note that this is HACKY and depends on 57: 531:// jquery.suggestions hooks, but I couldn't figure out how to do that. 496:// implementation details. As of October 2019, the mediawiki.searchSuggest 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
503:// module depends on the jquery.suggestions module. The former uses 52: 26: 524:// the one we look for here. Ideally we would use the actual 722:".suggestions-result-current a { color: white; }" 8: 97: 67:seems to have a documentation page at 45:be executed when previewing this page. 7: 587:"mediawiki.searchSuggest" 112: 24: 106:Knowledge (XXG):Bypass your cache 174:".suggestions-results" 56: 636:"impression-results" 1: 471:// Useful for troubleshooting 69:User:Enterprisey/search-links 353:"suggestion-link" 763: 556:"mediawiki.util" 743: 733: 726: 719: 709: 687: 683: 673: 663: 656: 646: 615: 572: 535: 528: 521: 514: 507: 500: 493: 486: 482: 475: 468: 464: 457: 447: 404: 385: 360: 341: 322: 270: 239: 229: 207: 194: 181: 165: 149: 130: 123: 116: 113: 37:appropriate village pump 119:// vim: ts=4 sw=4 et ai 334:"<a>" 746:// </nowiki> 397:"(edit)" 306:"action" 100:key and click the 649:insertSearchLinks 297:titleOfSuggestion 245:titleOfSuggestion 155:insertSearchLinks 126:// <nowiki> 75: 74: 49: 48: 754: 748: 747: 741: 740: 737: 731: 730: 724: 723: 717: 716: 713: 707: 706: 703: 700: 697: 694: 691: 685: 681: 680: 677: 671: 670: 667: 661: 660: 654: 653: 650: 644: 643: 640: 637: 634: 631: 628: 625: 622: 619: 613: 612: 609: 606: 603: 600: 597: 594: 591: 588: 585: 582: 579: 576: 570: 569: 566: 563: 560: 557: 554: 551: 548: 545: 542: 539: 533: 532: 526: 525: 519: 518: 512: 511: 505: 504: 498: 497: 491: 490: 484: 480: 479: 473: 472: 466: 462: 461: 455: 454: 451: 445: 444: 441: 438: 435: 432: 429: 426: 423: 420: 417: 414: 411: 408: 402: 401: 398: 395: 392: 389: 383: 382: 379: 376: 373: 372:"href" 370: 367: 364: 358: 357: 354: 351: 348: 345: 339: 338: 335: 332: 329: 326: 320: 319: 316: 313: 312:"edit" 310: 307: 304: 301: 298: 295: 292: 289: 286: 283: 280: 277: 274: 268: 267: 264: 261: 258: 255: 252: 249: 246: 243: 237: 236: 233: 227: 226: 223: 220: 217: 214: 211: 205: 204: 201: 198: 192: 191: 188: 185: 179: 178: 175: 172: 169: 163: 162: 159: 156: 153: 147: 146: 143: 140: 137: 134: 128: 127: 121: 120: 109: 96:: Hold down the 60: 53: 27: 18:User:Enterprisey 762: 761: 757: 756: 755: 753: 752: 751: 750: 749: 745: 742: 738: 735: 732: 728: 725: 721: 718: 714: 711: 708: 704: 701: 698: 695: 692: 689: 686: 682: 678: 675: 672: 668: 665: 662: 658: 655: 651: 648: 645: 641: 638: 635: 632: 629: 626: 623: 620: 617: 614: 610: 607: 604: 601: 598: 595: 592: 589: 586: 583: 580: 577: 574: 571: 567: 564: 561: 558: 555: 552: 549: 546: 543: 540: 537: 534: 530: 527: 523: 520: 516: 513: 509: 506: 502: 499: 495: 492: 488: 485: 481: 477: 474: 470: 467: 463: 459: 456: 452: 449: 446: 442: 439: 436: 433: 430: 427: 424: 421: 418: 415: 412: 409: 406: 403: 399: 396: 393: 390: 387: 384: 380: 377: 374: 371: 368: 365: 362: 359: 355: 352: 349: 346: 343: 340: 336: 333: 330: 327: 324: 321: 317: 314: 311: 308: 305: 302: 299: 296: 293: 290: 287: 284: 281: 278: 275: 272: 269: 265: 262: 259: 256: 253: 250: 247: 244: 241: 238: 234: 231: 228: 224: 221: 218: 215: 212: 209: 206: 202: 199: 196: 193: 189: 186: 183: 180: 176: 173: 170: 167: 164: 160: 157: 154: 151: 148: 144: 141: 138: 135: 132: 129: 125: 122: 118: 115: 111: 110: 99: 76: 50: 40: 22: 21: 20: 12: 11: 5: 760: 758: 581:trackSubscribe 114: 90:Microsoft Edge 73: 72: 61: 51: 47: 46: 25: 23: 15: 14: 13: 10: 9: 6: 4: 3: 2: 759: 744: 734: 727: 720: 710: 688: 684: 674: 664: 657: 647: 616: 573: 536: 529: 522: 515: 508: 501: 494: 487: 483: 476: 469: 465: 458: 448: 405: 386: 361: 342: 323: 271: 240: 230: 208: 195: 182: 166: 150: 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: 702:addStyleTag 65:user script 41:This code 593:function 562:function 347:addClass 219:function 200:children 187:children 152:function 139:function 425:console 378:editUrl 273:editUrl 98:⇧ Shift 86:Firefox 33:A guide 696:loader 630:action 544:loader 325:return 291:getUrl 213:append 102:Reload 94:Safari 624:value 605:value 599:topic 550:using 431:error 410:catch 78:Note: 63:This 16:< 391:text 366:attr 285:util 263:text 257:this 92:and 43:will 652:(); 633:=== 266:(), 242:var 232:try 739:); 729:); 690:mw 679:); 669:); 618:if 575:mw 565:() 538:mw 440:); 328:$ 318:); 279:mw 260:). 251:$ 222:() 203:() 190:() 168:$ 158:() 142:() 133:$ 88:, 84:, 736:} 715:+ 705:( 699:. 693:. 676:} 666:} 659:} 642:{ 639:) 627:. 621:( 611:{ 608:) 602:, 596:( 590:, 584:( 578:. 568:{ 559:, 553:( 547:. 541:. 460:} 453:) 450:} 443:} 437:e 434:( 428:. 422:{ 419:) 416:e 413:( 407:} 400:) 394:( 388:. 381:) 375:, 369:( 363:. 356:) 350:( 344:. 337:) 331:( 315:} 309:: 303:{ 300:, 294:( 288:. 282:. 276:= 254:( 248:= 235:{ 225:{ 216:( 210:. 197:. 184:. 177:) 171:( 161:{ 145:{ 136:( 108:. 71:. 39:.

Index

User:Enterprisey
A guide
appropriate village pump

user script
User:Enterprisey/search-links
Knowledge (XXG):Bypass your cache






















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