(function() { var config = {"instanceId":"nme-shorthand-1","embedUrl":"https:\/\/nme-networks.shorthandstories.com\/its-supergirl-summer\/embed.js","hideHeader":true,"hideFooter":true}; var attempts = 0; var maxAttempts = 40; function hideSelector(selector) { document.querySelectorAll(selector).forEach(function(node) { node.style.display = 'none'; }); } function run() { if (window.__nmeShorthandRuns && window.__nmeShorthandRuns[config.instanceId]) { return; } var target = document.querySelector('#tdb-autoload-article'); if (!target) { attempts += 1; if (attempts < maxAttempts) { window.setTimeout(run, 250); } return; } if (document.querySelector('script[data-nme-shorthand-instance="' + config.instanceId + '"]')) { window.__nmeShorthandRuns = window.__nmeShorthandRuns || {}; window.__nmeShorthandRuns[config.instanceId] = true; return; } var script = document.createElement('script'); script.src = config.embedUrl; script.async = true; script.setAttribute('data-nme-shorthand-instance', config.instanceId); target.parentNode.insertBefore(script, target); target.style.display = 'none'; if (config.hideHeader) { hideSelector('.td-header-template-wrap, .tdb-header-template-wrap'); } if (config.hideFooter) { hideSelector('.td-footer-template-wrap, .tdb-footer-template-wrap'); } if ( window.matchMedia && window.matchMedia('(max-width: 767px)').matches ) { var mobileBillboard = document.querySelector('.row-mobile-billboard'); if (mobileBillboard && mobileBillboard.parentElement) { mobileBillboard.parentElement.style.display = 'none'; } } window.__nmeShorthandRuns = window.__nmeShorthandRuns || {}; window.__nmeShorthandRuns[config.instanceId] = true; } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', run, { once: true }); } else { run(); } })();

The post It’s Supergirl’s summer – what you need to know about the new film appeared first on NME.