Difference between revisions of "MediaWiki:Common.js"

From Hablon
Jump to navigation Jump to search
 
(11 intermediate revisions 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. */
 
$(function () {
 
$(function () {
$('#mw-contact-us').html("<a href=\"javascript:alert('JavaScript')\" onclick=\"this.href=atob('bWFpbHRvOmh1Z3dpa2lwaCU0MGdtYWlsLmNvbT9jYz1qb2ppdC5mYiU0MGdtYWlsLmNvbQ=='); return true\">jojit.fb{{@}}gmail.com</a>');
+
$("#mw-contact-us").html("<a href=\"javascript:alert('JavaScript')\" onclick=\"this.href=atob('bWFpbHRvOmh1Z3dpa2lwaCU0MGdtYWlsLmNvbT9jYz1qb2ppdC5mYiU0MGdtYWlsLmNvbQ=='); return true\"><button class='mw-ui-button mw-ui-progressive'>Email us</button></a>");
 
}());
 
}());

Latest revision as of 13:06, 25 April 2021

/* Any JavaScript here will be loaded for all users on every page load. */
$(function () {
	$("#mw-contact-us").html("<a href=\"javascript:alert('JavaScript')\" onclick=\"this.href=atob('bWFpbHRvOmh1Z3dpa2lwaCU0MGdtYWlsLmNvbT9jYz1qb2ppdC5mYiU0MGdtYWlsLmNvbQ=='); return true\"><button class='mw-ui-button mw-ui-progressive'>Email us</button></a>");
}());