Thunderbird:Autoconfiguration:ConfigFileFormat: Difference between revisions

→‎XML: <webMail> fixes
(→‎XML: Add spec for webmail URLs)
(→‎XML: <webMail> fixes)
Line 142: Line 142:


     <!-- This allows to access the webmail service of the provider.
     <!-- This allows to access the webmail service of the provider.
         The URLs are loaded into a standard webbrowser for the user. -->
         The URLs are loaded into a standard webbrowser for the user.
        Specifying this is optional. -->
     <webMail>
     <webMail>
       <!-- Webpage where the user has to log in manually by entering username
       <!-- Webpage where the user has to log in manually by entering username
Line 155: Line 156:
           ensure that the browser verifies the SSL certificate.
           ensure that the browser verifies the SSL certificate.
           When adding the URL, remember to escape the ampersand between
           When adding the URL, remember to escape the ampersand between
           params to &amp; -->
           params to &amp; for XML -->
       <loginAutomaticURL url="https://mail.example.com/loginScript?email=%EMAILADDRESS%&amp;password=%PASSWORD%" />
       <loginAutomaticURL url="https://mail.example.com/loginScript?email=%EMAILADDRESS%&amp;password=%PASSWORD%" />
       <!-- Same as loginAutomaticDOM, but the website makes checks that
       <!-- Same as loginAutomaticDOM, but the website makes checks that
Line 161: Line 162:
           in the browser, get the page's DOM, fill out name and password
           in the browser, get the page's DOM, fill out name and password
           fields for the user, and trigger the login button.
           fields for the user, and trigger the login button.
          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 *ID attributes give the DOM ID,
          The *Name attributes give the DOM name attribute,
           while *Selector attributes give CSS selectors.
           while *Selector attributes give CSS selectors.
           Before using them, don't treat this file content as trusted,
           Don't treat the content of this file as trusted, but before using them,
           but verify the format, esp. if you use powerful functions like jQuery. -->
           but verify the format (e.g. only characters and digits for IDs),
          esp. if you use powerful functions like jQuery. -->
       <loginAutomaticDOM
       <loginAutomaticDOM
           url="https://mail.example.com/login/"
           url="https://mail.example.com/login/"
Confirmed users
591

edits