MediaWiki:Common.js: Difference between revisions
No edit summary Tag: Manual revert |
No edit summary Tag: Reverted |
||
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 bannerHtml = '<div class="custom-top-banner">From Hindpedia, the free encyclopedia</div>'; | |||
$('#content').before(bannerHtml); | |||
}); |
Revision as of 11:02, 11 August 2024
/* Any JavaScript here will be loaded for all users on every page load. */ $(document).ready(function() { var bannerHtml = '<div class="custom-top-banner">From Hindpedia, the free encyclopedia</div>'; $('#content').before(bannerHtml); });