ASDSO Dam Safety Toolbox

Template: WhatLinksHere: Difference between revisions

From ASDSO Dam Safety Toolbox
Jump to: navigation, search
No edit summary
No edit summary
Line 33: Line 33:
       const newHeader = document.createElement("h4");
       const newHeader = document.createElement("h4");
       newHeader.appendChild(document.createTextNode("What links here"));
       newHeader.appendChild(document.createTextNode("What links here"));
 
       const contentText = document.getElementById("mw-content-text");
       iframeWin.contentWindow.document.getElementById('mw-content-text').insertBefore(newHeader, container.firstChild);
      contentText.insertBefore(newHeader, contentText.firstChild);


       iframeWin.style.display="block";
       iframeWin.style.display="block";

Revision as of 15:28, 10 July 2023

Usage

What links here