Changes

Jump to: navigation, search

Thunderbird:Autoconfiguration:ConfigFileFormat

638 bytes added, 17:33, 17 February 2014
XML: Put usernameField in its own element
The login button might not be an HTML button, just a div, so
to trigger it, send a click event to it.
The *ID attributes give the DOM ID,
The *Name attributes give the DOM name attribute,
while *Selector attributes give CSS selectors.
Don't treat the IDs given in this XML file as trusted,
but before using them, verify the format
(e.g. only characters and digits for IDs).
If you use powerful functions like jQuery, and the XML returns
you code in the username ID, and you feed it unchecked to jQuery,
it may be executed.
HTTPS is required for the URL. -->
<loginAutomaticDOM url="https://mail.example.com/login/"> <!-- What to fill into the usernameField. usernameForm=" Format is the same as for <username> within <incomingServer>, including placeholders. See below for valid placeholders. --> <username>%EMAILADDRESS%</username> <!-- Allows to find the textfield on the page, to fill it out. The id attribute give the DOM ID, The name attribute give the DOM name attribute. One or both of id and name attributes must exist. Try the ID first (e.g. using getElementById()), if existing. Otherwise, try finding the element by name. Don't treat the IDs given in this XML file as trusted, but before using them, verify the format (e.g. only characters and digits for IDs). If you use powerful functions like jQuery, and the XML returns you code in the username ID, and you feed it unchecked to jQuery, it may be executed. --> <usernameField id="email_field" usernameFieldIDname="email"/> passwordFieldID <passwordField name="password"/> <!-- The submit button to trigger the server submit loginButtonID after filling in the fields. id and name attributes: See <usernameField> --> <loginButton id="submitsubmit_button" name="login"/> </loginAutomaticDOM>
</webMail>
Confirm
591
edits

Navigation menu