MediaWiki:Common.js: Difference between revisions

From Sephardic Diaspora Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
$(document).ready(function () {
  var donateDiv = $(`
    <div class="global-donate">
      <a href="https://www.buymeacoffee.com/sephardicdiasporawiki" target="_blank">
        <img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png"
            alt="Buy Me a Coffee"
            style="height: 60px !important; width: 217px !important;">
      </a>
    </div>
  `);
  $('.mw-parser-output').append(donateDiv);
});

Latest revision as of 00:49, 15 August 2025

/* Any JavaScript here will be loaded for all users on every page load. */



$(document).ready(function () {
  var donateDiv = $(`
    <div class="global-donate">
      <a href="https://www.buymeacoffee.com/sephardicdiasporawiki" target="_blank">
        <img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" 
             alt="Buy Me a Coffee" 
             style="height: 60px !important; width: 217px !important;">
      </a>
    </div>
  `);
  $('.mw-parser-output').append(donateDiv);
});