MediaWiki:Common.js: Difference between revisions

From TerGoPedia

(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: let templateLiteral = [` <link rel="apple-touch-icon" sizes="180x180" href="tergopedia/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="tergopedia/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="tergopedia/favicon-16x16.png"> <link rel="manifest" href="tergopedia/site.webmanifest"> <link rel="mask-icon" href="tergopedia/safari-pinned-tab.sv...")
 
No edit summary
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. */
let templateLiteral = [`
let templateMedik = [`
     <link rel="apple-touch-icon" sizes="180x180" href="tergopedia/apple-touch-icon.png">
     <link rel="apple-touch-icon" sizes="180x180" href="tergopedia/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="tergopedia/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="32x32" href="tergopedia/favicon-32x32.png">

Revision as of 16:51, 5 July 2022

/* Any JavaScript here will be loaded for all users on every page load. */
let templateMedik = [`
    <link rel="apple-touch-icon" sizes="180x180" href="tergopedia/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="tergopedia/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="tergopedia/favicon-16x16.png">
<link rel="manifest" href="tergopedia/site.webmanifest">
<link rel="mask-icon" href="tergopedia/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
`]

let head = document.querySelector("head");
head.innerHTML = templateLiteral;
Cookies help us deliver our services. By using our services, you agree to our use of cookies.