1document.addEventListener('DOMContentLoaded', function() { 2 var iframes = document.querySelectorAll('.social-gdpr-youtube-video, .social-gdpr-vimeo-video, .social-gdpr-google-maps, .social-gdpr-osm-map'); 3 iframes.forEach(function(iframe) { 4 ['click', 'keydown'].forEach(function (e) { 5 iframe.addEventListener(e, function(event) { 6 // load on enter keydown, spacebar keydown and click 7 if (event.keyCode === 13 || event.keyCode === 32 || e === 'click') { 8 if (event.target.tagName.toLowerCase() !== 'a') { 9 var iframe = event.currentTarget; 10 iframe.parentNode.innerHTML = atob(iframe.children[0].getAttribute('data-iframe')); 11 event.preventDefault(); 12 } 13 } 14 }); 15 }); 16 }); 17});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.