Knowledge (XXG)

User:BrandonXLF/ToTopButton

Source 📝

245: 209:, be sure to indicate that you're talking about this script in the title. I would really like any suggestion to make the script run better. 415: 490: 365: 290: 238: 192:
mw.loader.load('https://en.wikipedia.org/search/?title=User:BrandonXLF/ToTopButton.js&action=raw&ctype=text/javascript');
420: 400: 300: 295: 355: 119: 46: 500: 440: 430: 360: 350: 305: 231: 110: 41: 514: 475: 435: 533: 460: 445: 405: 385: 310: 345: 335: 325: 315: 123: 114: 390: 380: 375: 455: 410: 340: 330: 320: 275: 495: 470: 465: 450: 425: 395: 280: 158: 180:
mw.loader.load('/search/?title=User:BrandonXLF/ToTopButton.js&action=raw&ctype=text/javascript'); // ]
185: 285: 264: 34: 370: 162: 480: 218: 206: 148:
adds a fixed button to the bottom right of the screen. Replaces the one on mobile Knowledge (XXG).
74:
adds a fixed button to the bottom right of the screen. Replaces the one on mobile Knowledge (XXG).
254: 223: 84: 17: 137: 527: 131: 227: 184:
To install on other wikis (for instance, globally in your
27: 176:
Alternatively, use the following instead of the above:
196:
After installing reload the page and clear your cache
172:
importScript('User:BrandonXLF/ToTopButton.js'); // ]
67:
Create a fixed button to go to the top of the page.
130: 106: 98: 90: 80: 63: 239: 8: 54: 246: 232: 224: 188:on the Meta-Wiki), use the following code: 53: 7: 24: 191: 179: 171: 1: 265:User:BrandonXLF's script list 25: 550: 157:Add the following to your 509: 271: 262: 59: 534:Knowledge (XXG) scripts 138:wikipedia-user-scripts 28:edit base template 219:User:BrandonXLF/ToTop 205:Comments are welcome 416:RedirectNotification 35:BrandonXLF's scripts 491:UpdateNotifications 366:IncrementParameters 291:CitationStyleMarker 56: 521: 520: 421:ReferenceExpander 143: 142: 30: 541: 515:All user scripts 401:ParameterSpacing 301:CompareRevisions 296:CollapseSections 248: 241: 234: 225: 76: 75: 57: 26: 549: 548: 544: 543: 542: 540: 539: 538: 524: 523: 522: 517: 505: 356:HighlightAdmins 267: 258: 257:'s user scripts 255:User:BrandonXLF 252: 215: 207:on my talk page 203: 193: 181: 173: 154: 120:ToTopButton.css 118: 85:User:BrandonXLF 70: 69: 68: 52: 51: 31: 22: 21: 20: 18:User:BrandonXLF 12: 11: 5: 547: 545: 537: 536: 526: 525: 519: 518: 510: 507: 506: 504: 503: 501:WPBannerNavbar 498: 493: 488: 483: 478: 473: 468: 463: 458: 453: 448: 443: 441:ShowUserGender 438: 433: 431:ShowRevisionID 428: 423: 418: 413: 408: 403: 398: 393: 388: 383: 378: 373: 368: 363: 361:HotDefaultSort 358: 353: 351:GreenRedirects 348: 343: 338: 333: 328: 323: 318: 313: 308: 306:ContribsByPage 303: 298: 293: 288: 283: 278: 272: 269: 268: 263: 260: 259: 253: 251: 250: 243: 236: 228: 222: 221: 214: 211: 202: 199: 198: 197: 190: 189: 178: 177: 170: 169: 153: 150: 141: 140: 135: 128: 127: 111:ToTopButton.js 108: 104: 103: 102:April 21, 2019 100: 99:First released 96: 95: 92: 88: 87: 82: 78: 77: 65: 61: 60: 50: 49: 44: 38: 32: 23: 15: 14: 13: 10: 9: 6: 4: 3: 2: 546: 535: 532: 531: 529: 516: 513: 508: 502: 499: 497: 494: 492: 489: 487: 484: 482: 479: 477: 476:ToggleSidebar 474: 472: 469: 467: 464: 462: 459: 457: 454: 452: 449: 447: 444: 442: 439: 437: 436:ShowTemplates 434: 432: 429: 427: 424: 422: 419: 417: 414: 412: 409: 407: 404: 402: 399: 397: 394: 392: 389: 387: 384: 382: 379: 377: 374: 372: 369: 367: 364: 362: 359: 357: 354: 352: 349: 347: 344: 342: 339: 337: 334: 332: 329: 327: 324: 322: 319: 317: 314: 312: 309: 307: 304: 302: 299: 297: 294: 292: 289: 287: 284: 282: 279: 277: 274: 273: 270: 266: 261: 256: 249: 244: 242: 237: 235: 230: 229: 226: 220: 217: 216: 212: 210: 208: 201:Comments/Bugs 200: 195: 194: 187: 183: 182: 175: 174: 167: 165: 160: 156: 155: 151: 149: 147: 146:To Top Button 139: 136: 133: 129: 125: 121: 116: 112: 109: 105: 101: 97: 93: 89: 86: 83: 79: 73: 72:To Top Button 66: 62: 58: 55:To Top Button 48: 45: 43: 40: 39: 36: 29: 19: 511: 485: 461:TestWikitext 446:SubpageMover 406:PortletLinks 386:MoreDiffInfo 311:CSSImageCrop 204: 163: 152:Installation 145: 144: 71: 486:ToTopButton 346:GlobalPrefs 336:FloatingTOC 326:FindSources 316:EasySummary 64:Description 391:NoRedirect 381:MobileView 376:ListSorter 134:repository 512:See also: 456:SVGEditor 411:QuickEdit 341:FloatSide 331:FloatHead 321:FFUHelper 276:AddCopied 186:global.js 159:common.js 81:Author(s) 528:Category 496:WatchDoc 471:TodoList 466:ToBottom 451:Subpages 426:Restorer 396:NullEdit 281:AJAXUndo 213:See also 161:or your 286:Autoref 94:Working 371:Invert 132:GitHub 122: ( 113: ( 107:Source 91:Status 481:ToTop 33:< 16:< 164:skin 166:.js 124:git 115:git 47:CSS 530:: 42:JS 37:| 247:e 240:t 233:v 168:: 126:) 117:)

Index

User:BrandonXLF
edit base template
BrandonXLF's scripts
JS
CSS
User:BrandonXLF
ToTopButton.js
git
ToTopButton.css
git
GitHub
wikipedia-user-scripts
common.js
skin.js
global.js
on my talk page
User:BrandonXLF/ToTop
v
t
e
User:BrandonXLF
User:BrandonXLF's script list
AddCopied
AJAXUndo
Autoref
CitationStyleMarker
CollapseSections
CompareRevisions
ContribsByPage
CSSImageCrop

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