Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// check browser support
if (!document.querySelectorAll || ![].forEach) {
return false;
// search teasers
var teasers = document.querySelectorAll('.teaser-leader-m');
[], function(d) {
// search link within teaser
var link = d.querySelector('.teaser__link__text');
// add click handler
d.addEventListener('click', function() {
var win =, '_blank');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.