Mailocator
menu

15. June 2020

Mailocator init/callback

How to call javascript function while Mailocator is running?

 

If Mailocator is successfully initialized, it will try to run the function with the reserved name mlctrCallback (), if one exists.

var mlctrCallback = function(){
    alert( 'Mailocator version: ' + mailocator.version );
};


The function can be stored anywhere in the main document or inserted directly into the Mailocator interface: Features & Settings > JavaScript:




HAS THIS ARTICLE HELPED YOU?

  

Mailnatives, s.r.o. with IČO 07891768 is registered at the Regional Court in Hradec Králové under the file number C 43368