Ticket #238 (accepted defect)
Firefox won't quit normally w/ Ubiquity enabled, nom noms memory
Description (last modified by atul.toolness.com) (diff)
The automate-form-input command allows you to go to an arbitrary website, click on a form, and type "automate-form-input <name-of-command>", whereupon a new command with that name is created.
It doesn't matter whether the form is a GET-method form, a POST-method form, a form with an onsubmit or a form with a button with an onclick. It works. If, for example, you go to vimeo.com and type "automate-form-input vimeo-search", the following:
//This command was automatically generated by the automate-form-input command.
CmdUtils?.CreateAutomationCommand?({
name: "vimeo-search",
author: "automate-form-input",
url: "http://vimeo.com/",
icon: "http://vimeo.com/favicon.ico",
inject: true,
code: "(document.getElementById("searchterms")).value = query.text;
" +
" var form = (document.search); (form.onsubmit ? (form.onsubmit() ? form.submit(): 1) : form.submit());"
});
gets added to your local collection of commands.
In addition the Automation infrastructure should be useful for creating other commands.
