MediaWiki:Gadget-soegeFocus.js
Bemærk: Efter at have gemt er du måske nødt til at tømme din browsers cache for at kunne se ændringerne.
- Firefox / Safari: Hold Shift nede og klik på Reload, eller tryk enten Ctrl-F5 eller Ctrl-R (⌘-R på en Mac).
- Google Chrome: Tryk Ctrl-Shift-R (⌘-Shift-R på en Mac).
- Internet Explorer: Hold Ctrl nede og klik på Refresh, eller tryk på Ctrl-F5.
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files
// <pre><nowiki>
// _________________________________________________________________________________________
// | |
// | === WARNING: GLOBAL GADGET FILE === |
// | Changes to this page affect many users. |
// | Please discuss changes on the talk page or on [[Wikipedia_talk:Gadget]] before editing. |
// |_________________________________________________________________________________________|
//
// Imported from [[Wikipedia:FAQ/Main Page]] as of April 1, 2008
if (wgPageName == "Forside") {
$(function() {
document.getElementById("searchInput").focus();
});
}