maildev@lists.thunderbird.net

Thunderbird email developers

View all threads

Re: [Maildev] library FormAutofillUtils.jsm

A
Aceman
Thu, Jan 25, 2018 9:01 AM

Have you tried Components.utils.import("resource://formautofill/FormAutofillUtils.jsm");  ?

Does the file exist inside Thunderbird's omni.ja file?
It may be we do not ship it yet because it is a browser extension (mozilla/browser/extensions/formautofill/FormAutofillContent.jsm) and we do not use it in Thunderbird for anything.


Od: CardBook cardbook.thunderbird@gmail.com
Komu: maildev@lists.thunderbird.net
Dátum: 25.01.2018 09:47
Predmet: [Maildev] library FormAutofillUtils.jsm

Hi all

I'd like to integrate some kind of address and phone validation into
CardBook and it seems to me that Mozilla already has incorporated a lot
of things, especially the work done by libaddressinput
(https://github.com/googlei18n/libaddressinput). A package seems to do
the job : FormAutofillUtils.jsm, but sadly it seems not available in
Thunderbird.

Any ideas on my issue ?

Philippe

Have you tried Components.utils.import("resource://formautofill/FormAutofillUtils.jsm"); ? Does the file exist inside Thunderbird's omni.ja file? It may be we do not ship it yet because it is a browser extension (mozilla/browser/extensions/formautofill/FormAutofillContent.jsm) and we do not use it in Thunderbird for anything. ______________________________________________________________ > Od: CardBook <cardbook.thunderbird@gmail.com> > Komu: maildev@lists.thunderbird.net > Dátum: 25.01.2018 09:47 > Predmet: [Maildev] library FormAutofillUtils.jsm > >Hi all > >I'd like to integrate some kind of address and phone validation into >CardBook and it seems to me that Mozilla already has incorporated a lot >of things, especially the work done by libaddressinput >(https://github.com/googlei18n/libaddressinput). A package seems to do >the job : FormAutofillUtils.jsm, but sadly it seems not available in >Thunderbird. > >Any ideas on my issue ? > >Philippe
C
CardBook
Thu, Jan 25, 2018 9:25 AM

thanks Aceman

yes the import does not work.... is it a big work to ship it ? too much
place ?... maybe it's a whole project to integrate all this standardized
data (like CLDR : http://cldr.unicode.org/)... Lightning timezones might
also come from this....

Philippe

On 1/25/18 10:01 AM, Aceman wrote:

Have you tried Components.utils.import("resource://formautofill/FormAutofillUtils.jsm");  ?

Does the file exist inside Thunderbird's omni.ja file?
It may be we do not ship it yet because it is a browser extension (mozilla/browser/extensions/formautofill/FormAutofillContent.jsm) and we do not use it in Thunderbird for anything.


Od: CardBook cardbook.thunderbird@gmail.com
Komu: maildev@lists.thunderbird.net
Dátum: 25.01.2018 09:47
Predmet: [Maildev] library FormAutofillUtils.jsm

Hi all

I'd like to integrate some kind of address and phone validation into
CardBook and it seems to me that Mozilla already has incorporated a lot
of things, especially the work done by libaddressinput
(https://github.com/googlei18n/libaddressinput). A package seems to do
the job : FormAutofillUtils.jsm, but sadly it seems not available in
Thunderbird.

Any ideas on my issue ?

Philippe

thanks Aceman yes the import does not work.... is it a big work to ship it ? too much place ?... maybe it's a whole project to integrate all this standardized data (like CLDR : http://cldr.unicode.org/)... Lightning timezones might also come from this.... Philippe On 1/25/18 10:01 AM, Aceman wrote: > Have you tried Components.utils.import("resource://formautofill/FormAutofillUtils.jsm"); ? > > Does the file exist inside Thunderbird's omni.ja file? > It may be we do not ship it yet because it is a browser extension (mozilla/browser/extensions/formautofill/FormAutofillContent.jsm) and we do not use it in Thunderbird for anything. > > ______________________________________________________________ >> Od: CardBook <cardbook.thunderbird@gmail.com> >> Komu: maildev@lists.thunderbird.net >> Dátum: 25.01.2018 09:47 >> Predmet: [Maildev] library FormAutofillUtils.jsm >> >> Hi all >> >> I'd like to integrate some kind of address and phone validation into >> CardBook and it seems to me that Mozilla already has incorporated a lot >> of things, especially the work done by libaddressinput >> (https://github.com/googlei18n/libaddressinput). A package seems to do >> the job : FormAutofillUtils.jsm, but sadly it seems not available in >> Thunderbird. >> >> Any ideas on my issue ? >> >> Philippe
C
CardBook
Mon, Apr 30, 2018 2:28 PM

Hi folks

is it possible to ship the library FormAutofillUtils.jsm in Thunderbird
60 ?...

Philippe

On 1/25/18 10:01 AM, Aceman wrote:

Have you tried Components.utils.import("resource://formautofill/FormAutofillUtils.jsm");  ?

Does the file exist inside Thunderbird's omni.ja file?
It may be we do not ship it yet because it is a browser extension (mozilla/browser/extensions/formautofill/FormAutofillContent.jsm) and we do not use it in Thunderbird for anything.


Od: CardBook cardbook.thunderbird@gmail.com
Komu: maildev@lists.thunderbird.net
Dátum: 25.01.2018 09:47
Predmet: [Maildev] library FormAutofillUtils.jsm

Hi all

I'd like to integrate some kind of address and phone validation into
CardBook and it seems to me that Mozilla already has incorporated a lot
of things, especially the work done by libaddressinput
(https://github.com/googlei18n/libaddressinput). A package seems to do
the job : FormAutofillUtils.jsm, but sadly it seems not available in
Thunderbird.

Any ideas on my issue ?

Philippe

Hi folks is it possible to ship the library FormAutofillUtils.jsm in Thunderbird 60 ?... Philippe On 1/25/18 10:01 AM, Aceman wrote: > Have you tried Components.utils.import("resource://formautofill/FormAutofillUtils.jsm"); ? > > Does the file exist inside Thunderbird's omni.ja file? > It may be we do not ship it yet because it is a browser extension (mozilla/browser/extensions/formautofill/FormAutofillContent.jsm) and we do not use it in Thunderbird for anything. > > ______________________________________________________________ >> Od: CardBook <cardbook.thunderbird@gmail.com> >> Komu: maildev@lists.thunderbird.net >> Dátum: 25.01.2018 09:47 >> Predmet: [Maildev] library FormAutofillUtils.jsm >> >> Hi all >> >> I'd like to integrate some kind of address and phone validation into >> CardBook and it seems to me that Mozilla already has incorporated a lot >> of things, especially the work done by libaddressinput >> (https://github.com/googlei18n/libaddressinput). A package seems to do >> the job : FormAutofillUtils.jsm, but sadly it seems not available in >> Thunderbird. >> >> Any ideas on my issue ? >> >> Philippe