Knowledge (XXG)

User:Launchballer/monobook.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
637:
orangeBarDiv.innerHTML = 'You have <a href="/User_talk:' + mw.config.get('wgUserName').replace(/ /g, '_') + '" title="User talk:'+mw.config.get('wgUserName')+'">new messages</a> (<a
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.
638:
href="/search/?title=User_talk:'+mw.config.get('wgUserName').replace(/ /g, '_')+'&diff=cur&old=prev">last change</a> by '+lastUser+').';
605:
if(firstResponse.query.notifications.list].category == "edit-user-talk" && typeof firstResponse.query.notifications.list].read == "undefined")
500:
if(firstResponse.query.notifications.list].category == "edit-user-talk" && typeof firstResponse.query.notifications.list].read == "undefined")
465:
if((mw.config.get('wgCanonicalNamespace') + ":" + mw.config.get('wgTitle')) == ("User_talk:" + mw.config.get('wgUserName')))
549:
var secondData = {action:"query", meta:"notifications", format:"json", notlimit:"1", notmarkread:idString};
433:
var firstData = {action:"query", meta:"notifications", format:"json", notprop:"list",notlimit:numNotes}
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
101: 377:
var data = {action:"query", meta:"notifications", format:"json", notprop:"count"};
64: 32: 17: 203:
if (typeof o != "object" && typeof o != "function" || o === null)
164:'toString', 'toLocaleString', 'valueOf', 'hasOwnProperty', 171:'isPrototypeOf', 'propertyIsEnumerable', 'constructor' 150:
hasDontEnumBug = !{toString:null}.propertyIsEnumerable("toString"),
57: 76:
After saving, you have to bypass your browser's cache to see the changes.
100:
toolbar button. For details and instructions about other browsers, see
352:
var numNotes = /\d+/.exec($ ("#pt-notifications").text());
210:
throw new TypeError("Object.keys called on a non-object");
619:
var lastUser = firstResponse.query.notifications.list].agent.name;
454:
var keyArray = Object.keys(firstResponse.query.notifications.list)
440:$ .post("/w/api.php", firstData, function(firstResponse) 52: 26: 630:
var orangeBarDiv = document.createElement("div");
63:
The accompanying .css page for this skin can be added at
384:$ .post("/w/api.php", data, function(result) 143:
var hasOwnProperty = Object.prototype.hasOwnProperty,
645:orangeBarDiv.className = "usermessage"; 652:$ ("#contentSub").after(orangeBarDiv); 514:idString = idString + keyArray + "|"; 122:if(typeof Object.keys == "undefined") 267:for (var i = 0; i < DontEnumsLength; i++) { 8: 556:$ .post("/w/api.php", secondData); 398:numNotes = result.query.notifications.count; 93: 591:for(i = 0; i < keyArray.length; i++) 486:for(i = 0; i < keyArray.length; i++) 274:if (hasOwnProperty.call(o, DontEnums)) 45:be executed when previewing this page. 721:'User:Shubinator/DYKcheck.js' 7: 185:DontEnumsLength = DontEnums.length; 108: 24: 235:if (hasOwnProperty.call(o, name)) 102:Knowledge (XXG):Bypass your cache 56: 65:User:Launchballer/monobook.css 1: 338:$ (document).ready(function() 479:var idString = ""; 136:Object.keys = (function () { 744: 535:if(idString.length > 0) 712: 705: 698: 691: 684: 677: 670: 663: 656: 649: 642: 634: 627: 623: 616: 609: 602: 595: 588: 581: 574: 567: 560: 553: 546: 539: 532: 525: 518: 511: 504: 497: 490: 483: 476: 469: 462: 458: 451: 444: 437: 430: 423: 416: 409: 402: 395: 388: 381: 374: 367: 360: 356: 349: 342: 335: 331: 324: 317: 310: 303: 299: 292: 285: 278: 271: 264: 257: 253: 246: 239: 232: 225: 218: 214: 207: 200: 193: 189: 182: 175: 168: 161: 154: 147: 140: 133: 126: 119: 112: 109: 37:appropriate village pump 281:result.push(DontEnums); 260:if (hasDontEnumBug) { 228:for (var name in o) { 196:return function (o) { 363:if(numNotes == null) 419:if(numNotes > 0) 242:result.push(name); 96:key and click the 71: 70: 49: 48: 18:User:Launchballer 735: 729: 728: 725: 722: 719: 716: 710: 709: 703: 702: 696: 695: 689: 688: 682: 681: 675: 674: 668: 667: 661: 660: 654: 653: 647: 646: 640: 639: 632: 631: 625: 621: 620: 614: 613: 607: 606: 600: 599: 593: 592: 586: 585: 579: 578: 572: 571: 565: 564: 558: 557: 551: 550: 544: 543: 537: 536: 530: 529: 523: 522: 516: 515: 509: 508: 502: 501: 495: 494: 488: 487: 481: 480: 474: 473: 467: 466: 460: 456: 455: 449: 448: 442: 441: 435: 434: 428: 427: 421: 420: 414: 413: 407: 406: 400: 399: 393: 392: 386: 385: 379: 378: 372: 371: 365: 364: 358: 354: 353: 347: 346: 340: 339: 333: 329: 328: 322: 321: 315: 314: 308: 307: 301: 297: 296: 290: 289: 283: 282: 276: 275: 269: 268: 262: 261: 255: 251: 250: 244: 243: 237: 236: 230: 229: 223: 222: 216: 212: 211: 205: 204: 198: 197: 191: 187: 186: 180: 179: 173: 172: 166: 165: 159: 158: 152: 151: 145: 144: 138: 137: 131: 130: 124: 123: 117: 116: 105: 92:: Hold down the 60: 53: 27: 743: 742: 738: 737: 736: 734: 733: 732: 731: 730: 727://DYKcheck tool 726: 723: 720: 717: 714: 711: 707: 704: 700: 697: 693: 690: 686: 683: 679: 676: 672: 669: 665: 662: 658: 655: 651: 648: 644: 641: 636: 633: 629: 626: 622: 618: 615: 611: 608: 604: 601: 597: 594: 590: 587: 583: 580: 576: 573: 569: 566: 562: 559: 555: 552: 548: 545: 541: 538: 534: 531: 527: 524: 520: 517: 513: 510: 506: 503: 499: 496: 492: 489: 485: 482: 478: 475: 471: 468: 464: 461: 457: 453: 450: 446: 443: 439: 436: 432: 429: 425: 422: 418: 415: 411: 408: 404: 401: 397: 394: 390: 387: 383: 380: 376: 373: 369: 366: 362: 359: 355: 351: 348: 344: 341: 337: 334: 330: 326: 323: 319: 316: 312: 309: 305: 302: 298: 294: 291: 287: 284: 280: 277: 273: 270: 266: 263: 259: 256: 252: 248: 245: 241: 238: 234: 231: 227: 224: 220: 217: 213: 209: 206: 202: 199: 195: 192: 188: 184: 181: 177: 174: 170: 167: 163: 160: 156: 153: 149: 146: 142: 139: 135: 132: 128: 125: 121: 118: 114: 111: 107: 106: 95: 72: 50: 40: 22: 21: 20: 12: 11: 5: 741: 739: 306:return result; 221:var result = ; 157:DontEnums = [ 110: 86:Microsoft Edge 69: 68: 61: 51: 47: 46: 25: 23: 15: 14: 13: 10: 9: 6: 4: 3: 2: 740: 713: 706: 699: 692: 685: 678: 671: 664: 657: 650: 643: 635: 628: 624: 617: 610: 603: 596: 589: 582: 575: 568: 561: 554: 547: 540: 533: 526: 519: 512: 505: 498: 491: 484: 477: 470: 463: 459: 452: 445: 438: 431: 424: 417: 410: 403: 396: 389: 382: 375: 368: 361: 357: 350: 343: 336: 332: 325: 318: 311: 304: 300: 293: 286: 279: 272: 265: 258: 254: 247: 240: 233: 226: 219: 215: 208: 201: 194: 190: 183: 176: 169: 162: 155: 148: 141: 134: 127: 120: 113: 103: 99: 91: 87: 83: 79: 78:Google Chrome 75: 66: 62: 59: 55: 54: 44: 38: 34: 29: 28: 19: 715:importScript 97: 89: 85: 81: 77: 73: 42: 41:This code 659:return; 94:⇧ Shift 82:Firefox 33:A guide 98:Reload 90:Safari 320:})(); 74:Note: 16:< 577:else 288:} 88:and 43:will 701:}); 687:}); 405:}); 724:); 708:*/ 313:}; 178:], 115:/* 84:, 80:, 718:( 694:} 680:} 673:} 666:} 612:{ 598:{ 584:{ 570:} 563:} 542:{ 528:} 521:} 507:{ 493:{ 472:{ 447:{ 426:{ 412:} 391:{ 370:{ 345:{ 327:} 295:} 249:} 129:{ 104:. 67:. 39:.

Index

User:Launchballer
A guide
appropriate village pump

User:Launchballer/monobook.css
Knowledge (XXG):Bypass your cache























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