Page MenuHomePhabricator

onfocus() for the search field
Closed, ResolvedPublic

Description

Author: retopf

Description:
It would be a real enhancement if the cursor inside the search-field is already blinking when I visit Wikipedia. Then I could start emediately with typing my request, and would not have to click with my mouse first. This can very easily be achieved by adding a javascript-code inside the main page of Wikipedia like this:

<head>
...
<script type="text/javascript">
function cursorblink()

{
   document.searchform.go.focus();
   return;
}

</script>
</head>
<body onload="cursorblink()">
...
</body>

Where "searchform" is the NAME (not id) of the HTML-form responsible for search.

What do you think about that?

Best regards
Reto Pfenninger
ETH Zürich


Version: unspecified
Severity: enhancement
URL: http://de.wikipedia.org/wiki/Wikipedia:Hauptseite

Details

Reference
bz17065

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:27 PM
bzimport set Reference to bz17065.
bzimport added a subscriber: Unknown Object (MLST).

jopiswezggzmw wrote:

*** This bug has been marked as a duplicate of bug 1864 ***