Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.js: Difference between revisions

MediaWiki interface page
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: let script = document.createElement('script'); script.src = "https://cse.google.com/cse.js?cx=717c1fd6e48dc4907"; document.head.appendChild(script)")
 
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 script = document.createElement('script');
let script = document.createElement('script');
script.src =
script.src = "https://cse.google.com/cse.js?cx=717c1fd6e48dc4907";
"https://cse.google.com/cse.js?cx=717c1fd6e48dc4907";
document.head.appendChild(script);
document.head.appendChild(script)

Revision as of 19:42, 28 May 2024

/* Any JavaScript here will be loaded for all users on every page load. */
let script = document.createElement('script');
script.src = "https://cse.google.com/cse.js?cx=717c1fd6e48dc4907";
document.head.appendChild(script);