guardian/mobile-apps-article-templates — pull request #302 by jglueck (2014-10-29 15:56:06+00:00)
Title: GIA-3259

Pressing tabs controls if ads are displayed or not. Tech: Passes different window.location.hrefs depending on the 'this' detected current Bonzo object attribute ID to identify the tab element being pressed by the user, which is in turn evaluated in a switch statement and calls native window.location.href x-gu://football_tab_XXXX, the XXXX being evaluated native side to display or hide the MPU.