Google is building a new hardware division under former Motorola chief Rick Osterloh
.m-privacy-consent {
background-color: rgba(60, 60, 60, 0.95);
bottom: 0;
color: white !important;
font-size: 17px !important;
font-weight: normal !important;
line-height: 1.5em !important;
left: 0;
position: fixed;
right: 0;
z-index: 5000001;
}
.m-privacy-consent__inner {
margin: 0 auto;
max-width: 800px;
padding: 30px;
}
.m-privacy-consent__inner a {
color: white !important;
font-weight: bold;
text-decoration: underline !important;
}
.m-privacy-consent__inner a:hover {
color: #ccc !important;
}
.m-privacy-consent__inner button {
background-color: #ed2b23;
border: 1px solid white;
color: #ffffff;
display: block;
font-weight: bold;
height: 46px;
line-height: 46px;
padding: 0 2em;
margin: 0 auto;
min-width: 200px;
}
.m-privacy-consent__inner button:hover {
background-color: #a00400;
}
.m-privacy-consent__inner button:disabled {
background-color: #888;
}
.m-privacy-consent__button-content {
align-items: center;
display: flex;
height: 100%;
justify-content: center;
width: 100%;
}
@media(max-width: 500px) {
.m-privacy-consent {
font-size: 14px !important;
}
}
/* spinner animation */
.m-privacy-consent__hourglass,
.m-privacy-consent__hourglass:after {
border-radius: 50%;
width: 20px;
height: 20px;
}
.m-privacy-consent__hourglass {
display: none;
font-size: 10px;
position: relative;
text-indent: -9999em;
border-top: 3px solid rgba(255, 255, 255, 0.2);
border-right: 3px solid rgba(255, 255, 255, 0.2);
border-bottom: 3px solid rgba(255, 255, 255, 0.2);
border-left: 3px solid #ffffff;
margin-right: 1em;
-webkit-transform: translateZ(0);
-ms-transform: translateZ(0);
transform: translateZ(0);
-webkit-animation: load8 1.1s infinite linear;
animation: load8 1.1s infinite linear;
}
button:disabled .m-privacy-consent__hourglass {
display: block;
}
@-webkit-keyframes load8 {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes load8 {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
(function() {
var cbAdded = 0;
var cbComplete = 0;
var appDomains = ["https://auth.voxmedia.com/services/privacy_consent"];
function hex(size) {
var crypto = window.crypto || window.msCrypto;
var str = "";
if (crypto) {
var arr = new Uint8Array(Math.ceil(size / 2));
crypto.getRandomValues(arr);
str = .map.call(arr, function(b) { return ('0'+b.toString(16)).slice(-2) }).join('');
} else {
for (var i=Math.ceil(size / 11); i > 0; i-=1) {
str += Math.random().toString(36).substr(2);
}
}
return str.substr(0, size);
}
function setCookie(name, value, days) {
var cookie = [name +'='+ (value || '')];
if (days) {
var date = new Date();
date.setTime(date.getTime() + (days*24*60*60*1000));
cookie.push('expires=' + date.toUTCString());
}
cookie.push('path=/');
document.cookie = cookie.join('; ');
}
function addCallback(fn) {
cbAdded += 1;
return fn;
}
function done() {
cbComplete += 1;
if (cbAdded === cbComplete) {
location.reload();
}
}
document.querySelector('#accept-privacy-consent').addEventListener('click', function(evt) {
evt.preventDefault();
this.setAttribute('disabled', 'disabled');
var continentCode = document.cookie.match(/_chorus_geoip_continent=([^;]+)/i) || ;
var existingConsent = /_chorus_privacy_consent=d{13}-w{32};/.test(document.cookie);
if (existingConsent) return done();
var token = Date.now() +'-'+ hex(32);
var pickup = document.querySelector('#phonograph-pickup');
setCookie('_chorus_privacy_consent', token, 365 * 20);
appDomains.forEach(function(url) {
var img = document.createElement('img');
document.body.appendChild(img);
img.onload = img.onerror = addCallback(done);
img.src = url+'?token='+token;
});
if (pickup) {
pickup.async = true;
pickup.onload = addCallback(function() {
phonographEvents.push(['privacy_consent', { token: token, geoip_continent: continentCode[1], callback: done }]);
})
pickup.src = pickup.getAttribute('data-src');
} else {
addCallback(done)();
}
})
})();
Log In or Sign Up
Topics
Charts
Commerce
Finance and VC
Future of Work
Media
Policy
Social
Transportation
Voices
Writers
Kara Swisher
Peter Kafka
Jason Del Rey
Shirin Ghaffary
Eric Johnson
Rani Molla
Theodore Schleifer
Kurt Wagner
Podcasts
Events
Mobile
Alphabet
Google