Daedelus & Tokimonsta Head to Head The LA duo currently on tour will be playing a secret warehouse party in East London next week
DaedelusTokimonstaEast London warehouse party,
Dazed media sites
- previous
- play
- pause
- next
window.onload = function ()
if (window.jQuery)
var $navbarSecondaryOffsetRight;
var $navbarSecondaryShowHideCheckbox = $('#navbar-secondary-show-hide');
var $navbarSecondaryShowHideLabel = $('.navbar-secondary-show-hide');
var $navbarSecondaryOverlay = $('.navbar-secondary-overlay');
var $navbarSecondary = $('.navbar-secondary');
var windowScrollPos;
var $body = $('body');
function closebutton()
$navbarSecondaryOffsetRight = ($(window).width() - ($('.navbar-secondary').offset().left + $('.navbar-secondary').outerWidth()));
windowScrollPos = $(window).scrollTop();
if ($navbarSecondaryOverlay.is(':empty'))
$navbarSecondaryOverlay.append('');
if ($navbarSecondaryOffsetRight < 0)
$body.on('mousewheel.stopScroll touchmove.stopScroll DOMMouseScroll.stopScroll', lockScroll);
$(window).on('scroll.stopScroll', lockScroll);
//disable to prevent elements triggering changes
if ($('body[data-scroll-at-top="yes"]').length)
$(document).off('scroll.scrollAtTop');
else
$navbarSecondaryOverlay.empty();
$body.off('mousewheel.stopScroll touchmove.stopScroll DOMMouseScroll.stopScroll');
$(window).off('scroll.stopScroll');
//enable to allow elements trigger changes
if ($('body[data-scroll-at-top="yes"]').length)
$(document).on('scroll.scrollAtTop', _.throttle(scrollAtTop, 100));
function scrollAtTop()
DL.Utilities.getBodyElement().attr('data-scroll-at-top', DL.Utilities.WindowScrollTop() == 0 ? 'yes' : 'no');
if (!DL.Utilities.isMobile())
// lock window scrolling
function lockScroll(e)
e.preventDefault();
e.stopPropagation();
$(window).scrollTop(windowScrollPos);
$('.navbar-secondary-show-hide').on('click', function ()
if ($navbarSecondary.css('visibility') === 'visible')
DL.analytics.trackEvent('Global Navigation: type clicked', 'button ' + ($('#navbar-secondary-toggle use').attr('xlink:href')) + ' clicked', window.location.pathname);
);
$('.navbar-secondary-show-hide, .close-navbar-right').on('click.navbarSecondaryIconMenu', function (e)
closebutton();
);
$navbarSecondaryOverlay.on('click', function (e)
$body.off('mousewheel.stopScroll touchmove.stopScroll DOMMouseScroll.stopScroll');
$(window).off('scroll.stopScroll');
$navbarSecondaryShowHideCheckbox.prop('checked', false);
$navbarSecondaryOverlay.empty();
//enable to allow elements trigger changes
if ($('body[data-scroll-at-top="yes"]').length)
$(document).on('scroll.scrollAtTop', _.throttle(scrollAtTop, 100));
);
else
//disabled for now, if more logos are added in the future this will need to be removed
$navbarSecondary.on('touchmove scroll', function (e)
e.preventDefault();
e.stopPropagation();
return false;
);
//show trigger button if loaded
$navbarSecondaryShowHideLabel.addClass('navbar-secondary-show');

Daedelus & Tokimonsta Head to Head
MusicIncoming
The LA duo currently on tour will be playing a secret warehouse party in East London next week
16February 2011
Daedelus & Tokimonsta Head to Head3



Impressively, Daedelus and Tokimonsta have released on almost 20 different record labels between them. That’s quite a lot seeing that they both continue to hammer out startlingly fresh funk from the cosmic realms of beaty, meaty, Los Angeles and supposedly no-one buys records anymore. Ninja Tune, Ramp Recordings, All City, Plug Research, Flying Lotus’s Brainfeeder and Daedelus’s own Magical Properties are just a handful of the independents slanging their quality sonic wares. Daedelus’s latest opus “Bespoke”, is out in April with Tokimonsta’s remix of his “Tailor-Made” (out now), an awesome mash of skittery, almost DnB drums and sublimely, floaty chorals. The LA duo land in London for a secret East London warehouse party, alongside Lazer Sword and Starkey, on Wednesday 23rd February.
Dazed Digital: Toki, how did you approach your remix for Daedelus?
Tokimonsta: I Wanted to bring a different dimension to the song and flip it. It's quite fun to see how much you can change a song while still incorporating some of the original ideas.
DD: And Daedelus, what do you think about Toki’s remix?
Daedelus: Toki has proven herself to be quite the chameleon. Mellow on one production, banging the next, all moods convincingly. The willing to go without that steady genre has both Los Angeles and I loving her for it. The “Tailor-Made” remix is a perfect example, it is all sunshine streaming thru drawn venetian blinds to me. Full of noir character!
DD: What’s next with Magical Properties?
Daedelus: Truth be told, no distributor is asking for yet another label to try and sell them product. Suits aren't exactly clamoring for yet another outlet outside the mainstream musics. Yet, it seems people have a hunger for new sounds, and certainly so many talented artists are left without a bridge to cross them over out of the morass of blog-ness. So Magical Properties is its own little desert island to try for taking music that deserves ears and ears that ask for something more. Next up is an EP by an awesome lesser know LDFD who by a CDR demo in hand at an event in Dallas caught my attention, and I believe needed to be heard.
DD: And how about Brainfeeder?
Tokimonsta: I really love how diverse everyone is, we have a sense of artistic openness and respect for each other. My EP is coming out mid May, so I'm pretty excited.
Daedelus: Brainfeeder is on something cosmic, straight-up. Very de-focused, talented people making art, not caring about genre or what's next, is quite amazing. It is also very LA in it's scope, '50 Central Avenue jazz scene as much as it's gangster rap (Samiyam I'm thinking of you). It is more holistic for what this city represents.
DD: With Fashion Weeks coming up, and both of your diverse interests in fashion, what creative inspirations do you pull from it?
Tokimonsta: I've always loved the idea of texture in fashion, the use of different fabrics, cuts and patterns. It's very tactile and visual. I think I enjoy translating that idea sonically to music.
Daedelus: Not naturally a cynic, but I've been a bit underwhelmed by the current revisionism for the 80’s and 90’s. Thankfully, there are designers who are really doing interesting, bespoke fashions that don't owe everything to bygone, or nearly gone, and if they are reinventing the past, then why not us then too?
Daedelus and Tokimonsta play in London alongside Lazer Sword and Starkey on Wednesday 23rd February 2011. Tickets here.
Tailor-Made (Tokimonsta Remix)
muteunmute
Update Required
To play the media you will need to either update your browser to a recent version or update your Flash plugin.
<div class="expanded-img" data-img="">
"@context": "http://schema.org",
"@type": "Article",
"headline": "Daedelus & Tokimonsta Head to Head",
"description": "The LA duo currently on tour will be playing a secret warehouse party in East London next week",
"image":
"@context": "http://schema.org",
"@type": "ImageObject",
"url": "https://dazedimg-dazedgroup.netdna-ssl.com/300/azure/dazed-prod/650/5/655955.jpg",
"width": "300",
"height": "200"
,
"author":
"@context": "http://schema.org",
"@type": "Person",
"name": "Terence Teh",
"description": "Terence Teh is editor of NOWNESS and contributor to Dazed",
"url": "https://www.dazeddigital.com/user/terrencet"
,
"publisher":
"@context":"http://schema.org",
"@type":"Organization",
"name":"Dazed Digital",
"url":"http://www.dazeddigital.com/",
"logo":
"@context": "http://schema.org",
"@type": "ImageObject",
"url": "http://www.dazeddigital.com/content/images/logo-199x60.png",
"width": "199",
"height": "60"
,
"sameAs":["https://www.facebook.com/DazedandConfusedMagazine","https://twitter.com/Dazed","https://www.youtube.com/user/dazeddigital"]
,
"articleBody": "Impressively, Daedelus and Tokimonsta have released on almost 20 different record labels between them. That’s quite a lot seeing that they both continue to hammer out startlingly fresh funk from the cosmic realms of beaty, meaty, Los Angeles and supposedly no-one buys records anymore. Ninja Tune, Ramp Recordings, All City, Plug Research, Flying Lotus’s Brainfeeder and Daedelus’s own Magical Properties are just a handful of the independents slanging their quality sonic wares. Daedelus’s latest opus “Bespoke”, is out in April with Tokimonsta’s remix of his “Tailor-Made” (out now), an awesome mash of skittery, almost DnB drums and sublimely, floaty chorals. The LA duo land in London for a secret East London warehouse party, alongside Lazer Sword and Starkey, on Wednesday 23rd February.
Dazed Digital: Toki, how did you approach your remix for Daedelus?Tokimonsta: I Wanted to bring a different dimension to the song and flip it. It's quite fun to see how much you can change a song while still incorporating some of the original ideas.
DD: And Daedelus, what do you think about Toki’s remix?Daedelus: Toki has proven herself to be quite the chameleon. Mellow on one production, banging the next, all moods convincingly. The willing to go without that steady genre has both Los Angeles and I loving her for it. The “Tailor-Made” remix is a perfect example, it is all sunshine streaming thru drawn venetian blinds to me. Full of noir character!
DD: What’s next with Magical Properties?Daedelus: Truth be told, no distributor is asking for yet another label to try and sell them product. Suits aren't exactly clamoring for yet another outlet outside the mainstream musics. Yet, it seems people have a hunger for new sounds, and certainly so many talented artists are left without a bridge to cross them over out of the morass of blog-ness. So Magical Properties is its own little desert island to try for taking music that deserves ears and ears that ask for something more. Next up is an EP by an awesome lesser know LDFD who by a CDR demo in hand at an event in Dallas caught my attention, and I believe needed to be heard.
DD: And how about Brainfeeder?Tokimonsta: I really love how diverse everyone is, we have a sense of artistic openness and respect for each other. My EP is coming out mid May, so I'm pretty excited.Daedelus: Brainfeeder is on something cosmic, straight-up. Very de-focused, talented people making art, not caring about genre or what's next, is quite amazing. It is also very LA in it's scope, '50 Central Avenue jazz scene as much as it's gangster rap (Samiyam I'm thinking of you). It is more holistic for what this city represents.
DD: With Fashion Weeks coming up, and both of your diverse interests in fashion, what creative inspirations do you pull from it? Tokimonsta: I've always loved the idea of texture in fashion, the use of different fabrics, cuts and patterns. It's very tactile and visual. I think I enjoy translating that idea sonically to music. Daedelus: Not naturally a cynic, but I've been a bit underwhelmed by the current revisionism for the 80’s and 90’s. Thankfully, there are designers who are really doing interesting, bespoke fashions that don't owe everything to bygone, or nearly gone, and if they are reinventing the past, then why not us then too?
Daedelus and Tokimonsta play in London alongside Lazer Sword and Starkey on Wednesday 23rd February 2011. Tickets here.",
"mainEntityOfPage": "https://www.dazeddigital.com/music/article/9656/1/daedelus-tokimonsta-head-to-head",
"datePublished": "2011-02-16T10:00:00+00:00",
"dateModified": "2011-02-16T10:00:00+00:00"
MusicIncoming
I would like to receive the Dazed Digital newsletter
Contact
About
Jobs
Legal
Dazed Media
Another
Another Man
Nowness
Dazed Studio
window.DL = window.DL || ;
window.DL.deviceLoadOptimisation = window.DL.deviceLoadOptimisation || ;
window.DL.deviceLoadOptimisation.prefetchAssets = window.DL.deviceLoadOptimisation.prefetchAssets || [];
window.DL.deviceLoadOptimisation.prefetchAssets.push('/cassette.axd/stylesheet/34e50415aeeb73756d675c6e156eb75b85b6d56f/styles/site-bundles/article');
window.DL.deviceLoadOptimisation.prefetchAssets.push('/cassette.axd/script/f2303d2b058ffc9d32da917ed5ff3154e47704a4/scripts/site-bundles/article');
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-753100-1']);
_gaq.push(['_gat._anonymizeIp']);
_gaq.push(['_setCustomVar', 1, 'Series', 'Incoming', 3]);
var windowWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
var windowHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;
_gaq.push(['_setCustomVar', 2, 'Viewport', windowWidth + 'x' + windowHeight, 3]);
_gaq.push(['_setCustomVar', 3, 'Keywords', '', 3]);
_gaq.push(['_trackPageview']);
(function ()
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = 'https://www.google-analytics.com/ga.js'; //('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
)();
window._sf_async_config = window._sf_async_config || uid: 47239, domain: 'dazeddigital.com', useCanonical: true ;
_sf_async_config.sections = 'Music';
_sf_async_config.authors = 'Terence Teh';
var adTag =
category: 'music',
pageType: 'article',
campaign: ''
;
_sf_async_config.sponsorName = adTag.campaign;
(function ()
var chartBeatAdLoaded = false;
function loadChartbeatAd()
if (chartBeatAdLoaded)
return;
chartBeatAdLoaded = true;
window._sf_endpt = (new Date()).getTime();
var e = document.createElement('script');
e.setAttribute('language', 'javascript');
e.setAttribute('type', 'text/javascript');
e.setAttribute('src', '//static.chartbeat.com/js/chartbeat.js');
e.setAttribute('defer', 'defer');
document.body.appendChild(e);
;
setTimeout(function ()
loadChartbeatAd();
, 4000);
var oldonload = window.onload;
window.onload = (typeof window.onload != 'function') ?
loadChartbeatAd : function ()
oldonload();
loadChartbeatAd();
;
)();
!function (f, b, e, v, n, t, s)
if (f.fbq) return; n = f.fbq = function ()
n.callMethod ?
n.callMethod.apply(n, arguments) : n.queue.push(arguments)
; if (!f._fbq) f._fbq = n;
n.push = n; n.loaded = !0; n.version = '2.0'; n.queue = []; t = b.createElement(e); t.async = !0;
t.src = v; s = b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t, s)
(window,
document, 'script', 'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '357833301087547');
fbq('track', "PageView");
(function()
var js = document.createElement('script');
js.src = '//gwiqcdn.globalwebindex.net/gwiq/gwiq.js';
js.type = 'text/javascript';
js.async = true;
js.onload = js.onreadystatechange = function()
var rs = this.readyState;
if (rs && rs != 'complete' && rs != 'loaded') return;
try
gwiq.track(
cid: 'r97800j',
site: 'origin.dazeddigital.com',
section: 'music' );
catch (e)
console.log(e);
;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(js, s);
)();
var _qevents = _qevents || [];
(function()
var elem = document.createElement('script');
elem.src = (document.location.protocol == "https:" ? "https://secure" : "http://edge") + ".quantserve.com/quant.js";
elem.async = true;
elem.type = "text/javascript";
var scpt = document.getElementsByTagName('script')[0];
scpt.parentNode.insertBefore(elem, scpt);
)();
_qevents.push(
qacct:"p-dYw4UCDWeYJQg"
);
!function (n, e, o, r, i) if (!e) "production"; for (var t = ["addon", "identify", "track", "trigger", "query", "segment", "segments", "ready", "on", "once", "user", "consent"], c = 0; c < t.length; c++) var f = t[c]; e[f] = function (n) return function () var o = Array.prototype.slice.call(arguments, 0); e.q.push( functionName: n, arguments: o ) (f) (document, window.permutive, "db28dc02-2fb2-4563-843d-e01c289b4e9c","f3e6d9e4-4937-4951-af40-bbb349f7e510",); window.googletag=window.googletag||,window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(function()if(0===window.googletag.pubads().getTargeting("permutive").length)var g=window.localStorage.getItem("_pdfps");window.googletag.pubads().setTargeting("permutive",g?JSON.parse(g):[]));permutive.addon('web', )
window.DG=;
DG.ads=;
var googletag = googletag || ;
googletag.cmd = googletag.cmd || [];
(function()
var gads = document.createElement('script');
gads.async = true;
gads.type = 'text/javascript';
var useSSL = 'https:' == document.location.protocol;
gads.id = 'googletag-gpt-js';
gads.src = (useSSL ? 'https:' : 'http:') +
'//www.googletagservices.com/tag/js/gpt.js';
var node = document.getElementsByTagName('script')[0];
node.parentNode.insertBefore(gads, node);
)();
googletag.cmd.push(function()
var DD_Article_Inline_0MappingGoogleAdMapping = googletag.sizeMapping().
addSize([320, 10], [[320, 50], [300, 600], [300, 250]]).
addSize([768, 10], [728,90]).
build();
var DD_Article_Sidebar_1MappingGoogleAdMapping = googletag.sizeMapping().
addSize([1025, 300], [300, 250]).
addSize([1025, 670], [[300, 250], [300, 600]]).
build();
var DD_Article_BottomMappingGoogleAdMapping = googletag.sizeMapping().
addSize([320, 1], [[320, 50], [300, 250],[1,1]]).
addSize([768, 1], [[728,90], [300,250],[1,1]]).
addSize([1024, 1], [[970,250],[728,90],[300,250],[1,1]]).
addSize([1025, 1], [[970,250],[728,90],[1,1]]).
addSize([1190, 1], [[1110,400],[1110,210],[1024,400],[1024,210],[970,250],[728,90],[1,1]]).
build();
var DD_Top_ParallaxMappingGoogleAdMapping = googletag.sizeMapping().
addSize([300, 1], [414, 736]).
addSize([480, 1], [768, 1024]).
addSize([1024, 1], [2560, 1600]).
build();
var adSizes = [];
adSizes = [];
if(window.parent != window)if(window.innerWidth >= 320 && window.innerHeight >= 10) adSizes = [[320, 50], [300, 600], [300, 250]];
if(window.innerWidth >= 768 && window.innerHeight >= 10) adSizes = [728,90];
DG.ads['DD_Article_Inline_0']=googletag.defineSlot('/1060579/DD_Article_Inline_0', adSizes, 'gpt-ad-1328873568-dd_article_inline_0');
if(window.parent == window)DG.ads['DD_Article_Inline_0'].defineSizeMapping(DD_Article_Inline_0MappingGoogleAdMapping);
DG.ads['DD_Article_Inline_0'].addService(googletag.pubads());
adSizes = [];
if(window.parent != window)if(window.innerWidth >= 1025 && window.innerHeight >= 300) adSizes = [300, 250];
if(window.innerWidth >= 1025 && window.innerHeight >= 670) adSizes = [[300, 250], [300, 600]];
DG.ads['DD_Article_Sidebar_1']=googletag.defineSlot('/1060579/DD_Article_Sidebar_1', adSizes, 'gpt-ad-1328873568-dd_article_sidebar_1');
if(window.parent == window)DG.ads['DD_Article_Sidebar_1'].defineSizeMapping(DD_Article_Sidebar_1MappingGoogleAdMapping);
DG.ads['DD_Article_Sidebar_1'].addService(googletag.pubads());
adSizes = [];
if(window.parent != window)if(window.innerWidth >= 320 && window.innerHeight >= 1) adSizes = [[320, 50], [300, 250],[1,1]];
if(window.innerWidth >= 768 && window.innerHeight >= 1) adSizes = [[728,90], [300,250],[1,1]];
if(window.innerWidth >= 1024 && window.innerHeight >= 1) adSizes = [[970,250],[728,90],[300,250],[1,1]];
if(window.innerWidth >= 1025 && window.innerHeight >= 1) adSizes = [[970,250],[728,90],[1,1]];
if(window.innerWidth >= 1190 && window.innerHeight >= 1) adSizes = [[1110,400],[1110,210],[1024,400],[1024,210],[970,250],[728,90],[1,1]];
DG.ads['DD_Article_Bottom']=googletag.defineSlot('/1060579/DD_Article_Bottom', adSizes, 'gpt-ad-1328873568-dd_article_bottom');
if(window.parent == window)DG.ads['DD_Article_Bottom'].defineSizeMapping(DD_Article_BottomMappingGoogleAdMapping);
DG.ads['DD_Article_Bottom'].addService(googletag.pubads());
adSizes = [];
if(window.parent != window)if(window.innerWidth >= 300 && window.innerHeight >= 1) adSizes = [414, 736];
if(window.innerWidth >= 480 && window.innerHeight >= 1) adSizes = [768, 1024];
if(window.innerWidth >= 1024 && window.innerHeight >= 1) adSizes = [2560, 1600];
DG.ads['DD_Top_Parallax']=googletag.defineSlot('/1060579/DD_Top_Parallax', adSizes, 'gpt-ad-1328873568-dd_top_parallax');
if(window.parent == window)DG.ads['DD_Top_Parallax'].defineSizeMapping(DD_Top_ParallaxMappingGoogleAdMapping);
DG.ads['DD_Top_Parallax'].addService(googletag.pubads());
adSizes = [1,1];
DG.ads['Native_Partnership']=googletag.defineSlot('/1060579/Native_Partnership', adSizes, 'gpt-ad-1328873568-native_partnership');
DG.ads['Native_Partnership'].addService(googletag.pubads());
adSizes = [1,1];
DG.ads['Teads_1x1']=googletag.defineSlot('/1060579/Teads_1x1', adSizes, 'gpt-ad-1328873568-teads_1x1');
DG.ads['Teads_1x1'].addService(googletag.pubads());window.DG.adPageTargets = ;window.DG.adPageTargets['category'] = 'music';
window.DG.adPageTargets['pagetype'] = 'article';
window.DG.adPageTargets['series'] = 'incoming';
window.DG.adPageTargets['keywords'] = '';
window.DG.adPageTargets['campaign'] = '';
window.DG.adPageTargets['admin'] = '';
window.DG.adPageTargets['template'] = '';
window.DG.adPageTargets['url'] = '/music/article/9656/1/daedelus-tokimonsta-head-to-head';
window.DG.adPageTargets['domain'] = 'www.dazeddigital.com';
window.DG.adPageTargets['articleid'] = '9656';
if(window != window.parent && window.location.host == window.parent.location.host && window.parent.DG != null && window.parent.DG.adPageTargets != null && typeof window.DG.adPageTargets == 'object')
window.DG.adPageTargets = window.parent.DG.adPageTargets;
if(window.DG.adPageTargets != null && typeof window.DG.adPageTargets == 'object')
Object.keys(window.DG.adPageTargets).forEach(function(key, i)
googletag.pubads().setTargeting(key, window.DG.adPageTargets[key]);
);
googletag.pubads().enableSingleRequest();
googletag.pubads().collapseEmptyDivs();
googletag.pubads().disableInitialLoad();
googletag.enableServices();
);
googletag.cmd.push(function () googletag.pubads().refresh([ window.DG.ads['DD_Article_Inline_0'] ]); );
googletag.cmd.push(function () googletag.pubads().refresh([ window.DG.ads['DD_Article_Sidebar_1'] ]); );
googletag.cmd.push(function () googletag.pubads().refresh([ window.DG.ads['DD_Top_Parallax'] ]); );
googletag.cmd.push(function () googletag.pubads().refresh([ window.DG.ads['Teads_1x1'] ]); );
var $lazyLoadSlots = ['DD_Article_Sidebar_2','DD_Article_Inline_1','DD_Article_Inline_2','DD_Article_Inline_3','DD_Article_Bottom','DD_Bottom','DD_Middle',];
var addIsInViewport = function (e) ;
var lazyEl = document.getElementsByClassName('advert-lazyload')
window.addEventListener('scroll', function (event)
for (index = 0; index = 0)
$lazyLoadSlots.splice(slotIndex, 1);
googletag.cmd.push(function ()
googletag.pubads().refresh([ window.DG.ads[ad_slot] ]);
);
}
}, false);
googletag.cmd.push(function() googletag.display('gpt-ad-1328873568-dd_article_inline_0'); );
googletag.cmd.push(function() googletag.display('gpt-ad-1328873568-dd_article_sidebar_1'); );
googletag.cmd.push(function() googletag.display('gpt-ad-1328873568-dd_article_bottom'); );
googletag.cmd.push(function() googletag.display('gpt-ad-1328873568-dd_top_parallax'); );
googletag.cmd.push(function() googletag.display('gpt-ad-1328873568-teads_1x1'); );
googletag.cmd.push(function ()
// Create IE + others compatible event handler
var eventMethod = window.addEventListener ? "addEventListener" : "attachEvent";
var eventer = window[eventMethod];
var messageEvent = eventMethod == "attachEvent" ? "onmessage" : "message";
// Listen to message from child window
eventer(messageEvent, function (e)
if (e.data == "GPT_Ad_Roadblock")
window.GPT_Ad_Roadblock = true;
, false);
function dfpAdLog(advert, msg)
setTimeout(function ()
var slot = advert.slot.getSlotId().getDomId();
var placement = advert.slot.getAdUnitPath();
var log = 'DFP Slot: ' + slot + '; placement: ' + placement + '; size: ' + JSON.stringify(advert.size) + '; Msg: ' + msg;
if (console && console.info)
console.info(log);
, 100);
googletag.pubads().addEventListener('slotRenderEnded', function (event, a, b, c)
var advert = event;
if (advert.isEmpty)
dfpAdLog(advert, 'Ad EMPTY');
else
dfpAdLog(advert, 'Ad NOT EMPTY');
if (advert.size != null && advert.size.length > 1)
var slot = advert.slot.getSlotId().getDomId();
var slotElement = document.getElementById(slot);
slotElement.setAttribute('data-ad-width', advert.size[0]);
slotElement.setAttribute('data-ad-height', advert.size[1]);
if (advert.size[0] > 1 && advert.size[1] > 1)
function removeClass(el, className)
var classes = el.className.split(' ');
if (classes.indexOf(className) != -1)
classes.splice(classes.indexOf(className), 1);
el.className = classes.join(' ');
removeClass(slotElement, 'hidden');
removeClass(slotElement.parentElement, 'hidden');
var event = new Event('adRendered');
// Dispatch the event.
slotElement.dispatchEvent(event);
var isDynamicAd = !document.querySelector('#content');
if (isDynamicAd)
var parentWindow = window.parent;
var parentDocument = window.parent.document;
var placementName = window.location.pathname.replace('/DynamicAd/', '');
var parentAd = parentWindow.$('[data-cb-ad-id="' + placementName + '"]').last();
if (advert.isEmpty)
parentAd.remove();
);
);