{"action":"created","issue":{"url":"https://api.github.com/repos/guardian/frontend/issues/10453","labels_url":"https://api.github.com/repos/guardian/frontend/issues/10453/labels{/name}","comments_url":"https://api.github.com/repos/guardian/frontend/issues/10453/comments","events_url":"https://api.github.com/repos/guardian/frontend/issues/10453/events","html_url":"https://github.com/guardian/frontend/pull/10453","id":105639551,"number":10453,"title":"Switchable ad-free experience","user":{"login":"jbreckmckye","id":3148617,"avatar_url":"https://avatars.githubusercontent.com/u/3148617?v=3","gravatar_id":"","url":"https://api.github.com/users/jbreckmckye","html_url":"https://github.com/jbreckmckye","followers_url":"https://api.github.com/users/jbreckmckye/followers","following_url":"https://api.github.com/users/jbreckmckye/following{/other_user}","gists_url":"https://api.github.com/users/jbreckmckye/gists{/gist_id}","starred_url":"https://api.github.com/users/jbreckmckye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbreckmckye/subscriptions","organizations_url":"https://api.github.com/users/jbreckmckye/orgs","repos_url":"https://api.github.com/users/jbreckmckye/repos","events_url":"https://api.github.com/users/jbreckmckye/events{/privacy}","received_events_url":"https://api.github.com/users/jbreckmckye/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/guardian/frontend/labels/commercial","name":"commercial","color":"197caa"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-09T16:57:42Z","updated_at":"2015-09-09T18:08:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/guardian/frontend/pulls/10453","html_url":"https://github.com/guardian/frontend/pull/10453","diff_url":"https://github.com/guardian/frontend/pull/10453.diff","patch_url":"https://github.com/guardian/frontend/pull/10453.patch"},"body":"Coming soon, we'll be experimenting with allowing users to pay money to stop seeing adverts on the Guardian. This pull request implements a subset of this functionality behind a switch.\r\n\r\nNow, when a server side switch is true, we will hide:\r\n- Article body MPUs\r\n- Article aside MPUs\r\n- Front slice ads\r\n- Popular widget MPUs\r\n- Comment MPUs\r\n- Video pre rolls\r\n\r\nOther ad content will still show. Some will be disabled later. Naturally, the switch is defaulted to _off_.\r\n\r\nSometimes we need to hide the advert host containers, as they have backgrounds or margins. In that case, I've done so through frontend code rather than server-side logic, so we don't have to break any HTML caching (and because I think it turns out a bit neater too).\r\n\r\nThis is still fairly early work and I'm happy to discuss any of it.\r\n"},"comment":{"url":"https://api.github.com/repos/guardian/frontend/issues/comments/138994563","html_url":"https://github.com/guardian/frontend/pull/10453#issuecomment-138994563","issue_url":"https://api.github.com/repos/guardian/frontend/issues/10453","id":138994563,"user":{"login":"paperboyo","id":6032869,"avatar_url":"https://avatars.githubusercontent.com/u/6032869?v=3","gravatar_id":"","url":"https://api.github.com/users/paperboyo","html_url":"https://github.com/paperboyo","followers_url":"https://api.github.com/users/paperboyo/followers","following_url":"https://api.github.com/users/paperboyo/following{/other_user}","gists_url":"https://api.github.com/users/paperboyo/gists{/gist_id}","starred_url":"https://api.github.com/users/paperboyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paperboyo/subscriptions","organizations_url":"https://api.github.com/users/paperboyo/orgs","repos_url":"https://api.github.com/users/paperboyo/repos","events_url":"https://api.github.com/users/paperboyo/events{/privacy}","received_events_url":"https://api.github.com/users/paperboyo/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T18:08:46Z","updated_at":"2015-09-09T18:08:46Z","body":"Absolute :gem: [not a sign of code review].\r\n\r\n+1 on what @Calanthe & @davidrapson said. Also, being a long time freetard, I know that there are places where the lack of ads creates a void (even in between cards). Let me know if I can help in testing this and report on those. "}}