Examples
Dynamic imports
in2iframeconsent can be loaded dynamically. For this we check if the container class exists and then load in2iframeconsent.
if (document.querySelectorAll('.iframeswitch-wrapper').length > 0) {
import('in2iframeconsent');
}