The extension uses variables that are defined only after Dom is fully loaded. How to make my script loaded only after the appearance of these variables?

    1 answer 1

    Try

    $(window).load(function() { /* код будет запущен тогда, когда страница будет полностью загружена */ });