Fandom

Ariana Grande Wiki

Comments0

The Ariana Modal

KCCreations September 19, 2015 User blog:KCCreations

For all of you who just want a little bit of Ariana in your toolbar. c:

function arianaGrandeModal() {
  $.showCustomModal( 'Ariana Grande-Butera', '<img src="http://vignette3.wikia.nocookie.net/arianagrande/images/9/9c/535919ac97dc5.jpg/revision/latest?cb=20140514151356" width="500">', { width:500 } );
}
 
$('.toolbar .tools').append($('<li class="overflow"><a href="javascript:arianaGrandeModal()">Ariana!</a></li>'));

To use:

  1. Copy the code shown above.
  2. Go to w:Special:MyPage/global.js (or Special:MyPage/wikia.js if you just want it on this wiki).
  3. Edit the page and paste the code into it.
  4. Save.
  5. Bypass your browser's cache.
  6. The link to the modal should be in your toolbar. Click it and viola! Ariana.

Notes

  1. The code won't work with the Mobile skin. Sorry, phone users. ;-;
  2. If you want a different picture or heading, just comment what you want below, and I'll respond with your personalized code. :3
  3. The code more than likely won't work immediately, even after refreshing. If it doesn't work for you, go to Special:Preferences, select the "Under the Hood" tab, scroll/swipe all the way down to "Advanced display options", and make sure you have "Enable personal JavaScript" checked. If you don't have it checked, check it, then save your preferences.

Screenshot of the working code in action:

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.