Поле поиска Wolfram Alpha имеет свойство autocomplete="off"
, и, следовательно, это учитывается браузерами, и поле ввода не заполняется. Я не мог найти сценарии greasemonkey, чтобы изменить это поведение
Однако есть альтернатива . Имейте в виду - это позволяет автоматически завершить все .
1. Locate Firefox’s installation folder. Normally that’s C:\Program Files\Mozilla Firefox
2. Navigate to the components folder.
3. Open nsLoginManager.js in an editor. As Notepad won’t do really, do this instead [if you've a proper editor, just go to step 4]:
3a) Select Start | Run
3b) Enter cmd <enter or Ok>
3c) type cd C:\Program Files\Mozilla Firefox\components <enter>
3d) type edit nsLoginManager.js <enter>
3e) Go to step 4.
4. Find this:
/*
* _isAutoCompleteDisabled
*
* Returns true if the page requests autocomplete be disabled for the
* specified form input.
*/
_isAutocompleteDisabled : function (element) {
if (element && element.hasAttribute("autocomplete") &&
element.getAttribute("autocomplete").toLowerCase() == "off")
return true;
return false;
},
5. Change it to this:
/*
* _isAutoCompleteDisabled
*
* Returns true if the page requests autocomplete be disabled for the
* specified form input.
*/
_isAutocompleteDisabled : function (element) {
return false;
},
6. Save the file [if you're following the 3x) steps above, select File | Exit, and when asked if you want to save the edited file, answer Yes. To close the command prompt, enter exit <enter>].
Note that you might first have to change the file’s security permissions to do this [you DO if the save fails]. E.g., in Vista I had to A) right-click on the file [e.g., in Explorer] B) select Properties | Security. B) select Edit. C) select your username, D) change the persmissions to include Write access.
And you’re done – either start, or close/re-start Firefox!