Jump to content

User:Seeaver/monobook.js: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Seeaver (talk | contribs)
Created page with 'if ( document.getElementsByTagName("body")[0].classList.contains("page-Main_Page") && document.getElementsByTagName("body")[0].classList.contains("action-view") ) ( document.getElementById("content").innerHTML= "<iframe src=\"https://www.youtube.com/embed/1R9U5TebUco?controls=0&autoplay=1\" style=\"height:80vh;width:100%\"></iframe>" // Intro music );'
 
Seeaver (talk | contribs)
embed/HZ6PyMWHrsE
Line 5: Line 5:
) (
) (
document.getElementById("content").innerHTML=
document.getElementById("content").innerHTML=
"<iframe src=\"https://www.youtube.com/embed/1R9U5TebUco?controls=0&autoplay=1\" style=\"height:80vh;width:100%\"></iframe>" // Intro music
"<iframe src=\"https://www.youtube.com/embed/HZ6PyMWHrsE?controls=0&autoplay=1\" style=\"height:80vh;width:100%\"></iframe>" // Intro music
);
);

Revision as of 02:35, 1 March 2022

if (
    document.getElementsByTagName("body")[0].classList.contains("page-Main_Page")
		&&  
	document.getElementsByTagName("body")[0].classList.contains("action-view") 
)  ( 
	document.getElementById("content").innerHTML=
	"<iframe src=\"https://www.youtube.com/embed/HZ6PyMWHrsE?controls=0&autoplay=1\" style=\"height:80vh;width:100%\"></iframe>"  // Intro music 
);