MediaWiki:Common.js: Difference between revisions

From Cives
Jump to navigationJump to search
No edit summary
(Blanked the page)
Tag: Blanking
 
(8 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. */
$('#t-print').remove();


var userloginForm = document.getElementById("userloginForm");
if(userloginForm != null){
var paragraph = document.createElement("p");
paragraph.textContent = "By logging in, you agree to the ";
/*
var termsLink = document.createElement("a");
termsLink.textContent = "Terms of use and privacy policy";
termsLink.href = "https://cives.uni-lj.si/index.php?title=Terms_of_use";
paragraph.appendChild(termsLink);
userloginForm.appendChild(paragraph);*/
}
console.log("Hello world!");

Latest revision as of 12:19, 5 April 2024