window.location.href = “mailto:” + strMailto;
will throw on the console:
window.controllers is deprecated. Do not use it for UA detection.
Also the msg is thrown, a compose window is opened with the mailto address given with ‘strMailto’.
I tried to find an alternative, but Dr.G doesn’t give one for that. Any idea how to replace the “window.location”?
This is on Thunderbird:
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0