User:Mario-WL/common.js

From the Portal Wiki
Revision as of 23:41, 9 February 2022 by Mario-WL (talk | contribs) (Created page with "// Imported from https://en.wikipedia.org/wiki/Wikipedia:FAQ/Main_Page as of April 1, 2008 if ( mw.config.get( 'wgIsMainPage' ) ) { $( function () { $( '#searchInput' )...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
// Imported from https://en.wikipedia.org/wiki/Wikipedia:FAQ/Main_Page as of April 1, 2008

if ( mw.config.get( 'wgIsMainPage' ) ) {
  $( function () {
    $( '#searchInput' ).focus();
  } );
}