Difference between revisions of "MediaWiki:Common.js"

From World Naked Bike Ride
Jump to: navigation, search
(fix + test)
m (Reverted edits by SomeHuman (talk) to last revision by Robjordan)
(Tag: Rollback)
 
Line 2: Line 2:
  
 
{{MediaWiki:GoogleAnalytics.js}}
 
{{MediaWiki:GoogleAnalytics.js}}
 
function TranslateNoPageTitle(){
 
var oH1 = document.getElementById("firstHeading");
 
if(oH1){
 
  oH1.classList.add("notranslate");
 
  oH1.setAttribute("translate", "no");
 
  oH1.setAttribute("lang", "en");
 
  oH1.style.backgroundColor="orange !important";}
 
}
 
$(TranslateNoPageTitle);
 

Latest revision as of 09:15, 4 May 2020

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

{{MediaWiki:GoogleAnalytics.js}}