Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 8

var c = 0;

for (i = 0; i < cl.length; i++) {


x = cl[i].substr(0, cl[i].indexOf("="));
y = cl[i].substr(cl[i].indexOf("=") + 1);
x = x.replace(/^\s+|\s+$/g, "");
if (x == "nnmc") {
out.nnmc = unescape(y);
c=c+1
} else if (x == "_w18g") {
out._w18g = unescape(y);
c=c+1
} else if (x == "_w18s") {
out._w18s = unescape(y);
c=c+1
}

if (c == 3) {
return out
}
}
return out
}

//FUNCTION TO SEND PPID TO GOOGLE (PUT THIS FUNCTION ON TOP PART OF THE PAGE)
var _w18setppid = function(uni_id){
//CHECK IF COOKIE EXISTS
if(uni_id.hasOwnProperty('_w18g')){
//COOKIE SET ALREADY
var uni_id = uni_id._w18g;
googletag.pubads().enableSyncRendering();
googletag.pubads().setPublisherProvidedId(uni_id);
};
};

var _w18_uni_id = _w18gcon('_w18g');

(function() {
window._w18hn = "FP";
window._w18_config={"microsite":"own","sections":"News &amp; Analysis,tech","tags":"Android,BlackBe
spyware,Spyware","language":"english","autono":"7585931"};
var w18 = document.createElement('script'); w18.type = 'text/javascript'; w18.async = true;
w18.src = 'https://s.in.com/common/script_catch.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(w18, s);
})();
</script>
<script type="text/javascript">
window.onload = function(e){
setTimeout(function(){

var css = "@font-face {font-family: 'Paralucent-DemiBold';src: url(https://www.firstpost.com/assets/fonts/tec


DemiBold.WOFF);font-display:swap;}@font-face {font-family: 'Paralucent-ExtraLight';src:
url(https://www.firstpost.com/assets/fonts/tech2/Paralucent-ExtraLight.WOFF);font-display:swap;}@font-fac
Heavy';src: url(https://www.firstpost.com/assets/fonts/tech2/Paralucent-Heavy.WOFF);font-display:swap;}@
Light';src: url(https://www.firstpost.com/assets/fonts/tech2/Paralucent-Light.WOFF);font-display:swap;}@fo
LightItalic';src: url(https://www.firstpost.com/assets/fonts/tech2/Paralucent-LightItalic.WOFF);font-display:s
'Paralucent-Medium';src: url(https://www.firstpost.com/assets/fonts/tech2/Paralucent-Medium.WOFF);font-d
family: 'ParalucentCondensed-DemiBold';src: url(https://www.firstpost.com/assets/fonts/tech2/ParalucentCon
display:swap;}@font-face {font-family: 'ParalucentCondensed-Heavy';src: url(https://www.firstpost.com/ass
Heavy.WOFF);font-display:swap;}@font-face {font-family: 'ParalucentCondensed-Light';src:
url(https://www.firstpost.com/assets/fonts/tech2/ParalucentCondensed-Light.WOFF);font-display:swap;}@fo
'ParalucentCondensed-Medium';src: url(https://www.firstpost.com/assets/fonts/tech2/ParalucentCondensed-M
display:swap;}@font-face {font-family: 'Titillium Web';font-weight: 700;src: url(https://www.firstpost.com/a
Bold.WOFF);font-display:swap;}@font-face {font-family: 'Titillium Web';font-weight: 400;src:
url(https://www.firstpost.com/assets/fonts/tech2/TitilliumWeb-Regular.WOFF);font-display:swap;}",

head = document.head || document.getElementsByTagName('head')[0],


style = document.createElement('style');

style.type = 'text/css';
if (style.styleSheet){
// This is required for IE8 and below.
style.styleSheet.cssText = css;
} else {
style.appendChild(document.createTextNode(css));
}

head.appendChild(style);

}, 2000);

};

</script>
<script type="text/javascript">
//get cookie
function FPgetcookieForDFP(cookiename) {
var cookiestring=document.cookie;
var index1=cookiestring.indexOf(cookiename);
if (index1==-1 || cookiename=='') return '';
var index2=cookiestring.indexOf(';',index1);
if (index2==-1) index2=cookiestring.length;
return unescape(cookiestring.substring(index1+cookiename.length+1,index2));
}
</script>
<link href="https://www.firstpost.com/assets/css/tech2revamp/style.min.css?v=0.42" rel="stylesheet">

<!-- script for IO start-->


<!-- script for IO end-->
<link href="https://www.firstpost.com/assets/css/tech2revamp/common.css?v=0.8" rel="stylesheet">
<!--CSS FOR LIGHTBOX-->
<style type="text/css">
.video-thumbnail-wwrapper .image-wrapper a{margin-top: 0 !important}
.video-play-icon{
padding-top: 18%;
}
#liveblog p{word-break: break-word;}
.post-sub-title {
font-family: ParalucentCondensed-DemiBold,Tahoma,Serif;
color: #9f9f9f;
font-size: 30px;
margin: 0 0 20px auto;
line-height: 1;
}
.review-article-main-content{
width: 78%;
}
.custom_amazon_bottom_ads_cls{
width: 100%;
height: 260px;
}
.custom_amazon_center_ads_cls{
width: 100%;
height: 260px;
}
@media screen and (max-width:767px) and (min-width:320px){
.mt-15{margin-top: 15px}
.mb-15{margin-bottom: 15px}
.mb-5{margin-bottom: 5px}
.add_wrp{margin:0;padding:0;position:relative;text-align:center}
.add_txt{color:#797e90;display:inline-block;font-size:11px;padding:1px 0;width:100%}
.add_placeholder_300_250{background-color:#f1f3f7;font-size:0;margin:0 auto;width:300px;height:265px}
.add_placeholder_320_50{background-color:#f1f3f7;font-size:0;margin:0 auto;width:320px;height:65px}
.add_placeholder_300_100{background-color:#f1f3f7;font-size:0;margin:0 auto;width:300px;height:115px}
.add_placeholder_300_600{background-color:#f1f3f7;font-size:0;margin:0 auto;width:300px;height:615px}
.add_placeholder_441_91{background-color:#f1f3f7;font-size:0;margin:0 auto;width:441px;height:106px}
.add-section{clear: both;}
.add-section .add_wrp iframe{width: 100%}
.add-section .add_wrp .ad-block{margin: 0px !important}
}
.model-viewer-div{display: none}
@media (max-width: 769px){
.model-viewer-div{display: block}
}
.tech-dropdown{
padding: 1px 15px !important;
}
@media (max-width: 1367px){
.tech-dropdown{
padding: 1px 12px !important;
}
.review-article-main-content{
width: 72%;
}
}
</style>

<script type="text/javascript" src="https://images.firstpost.com/wp-content/uploads/assets/js/jquery.min.js"><


<script async type="text/javascript" src="https://images.firstpost.com/wp-content/uploads/assets/js/jquery.his
<script async type="text/javascript" src="https://images.firstpost.com/wp-content/uploads/assets/js/bootstrap
<link rel="shortcut icon" href="https://images.firstpost.com/wp-content/uploads/16x16.png" />
<link rel="icon prefetch" type="image/vnd.microsoft.icon" href="https://images.firstpost.com/wp-content/up
<link href='https://images.firstpost.com/wp-content/uploads/16x16.png' rel='shortcut icon' type='image/x-ico
<link href='https://images.firstpost.com/wp-content/uploads/16x16.png' rel='icon prefetch' type='image/x-ico
<!-- adblock detect start -->
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebPage",
"name": "Pegasus spyware: A complete guide to what it does and how it can be used to infiltrate all aspects o
Firstpost",
"description": "Pegasus is a modular malware that can initiate total surveillance on the targeted device, as per
Kaspersky. It installs the necessary modules to read the user’s messages and mail, listen to calls, send back th
basically means taking control of nearly all aspects of your digital life",
"keywords":"Android,BlackBerry,iOS,NSO Group,Pegasus,Pegasus spyware,Spyware",
"url" : "https://www.firstpost.com/tech/news-analysis/pegasus-spyware-a-complete-guide-to-how-it-can-be-u
7585931.html"
}
</script>
<script type="text/javascript" src="//platform-api.sharethis.com/js/sharethis.js#property=593e36b0cc0afb001
buttons"></script>
<script type="text/javascript">

$( "[name^='google_conversion_frame']" ).css('position','absolute');
$( "[name^='google_conversion_frame']" ).css('height',0);

</script>
<script>
//Twiiter Share
window.twttr = (function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
t = window.twttr || {};
if (d.getElementById(id)) return t;
js = d.createElement(s);
js.id = id;
js.src = "https://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);

t._e = [];
t.ready = function(f) {
t._e.push(f);
};

return t;
}(document, "script", "twitter-wjs"));</script>
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function()

{n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}

;
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window,document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '259288058299626');
fbq('track', 'PageView');
</script>
<noscript>
<img height="1" width="1"
src="https://www.facebook.com/tr?id=259288058299626&ev=PageView
&noscript=1"/>
</noscript>

<!-- <script src="//player.h-cdn.com/loader.js?customer=network18" crossorigin="anonymous" async></scrip

<!-- DO NOT MODIFY -->


<!-- End Facebook Pixel Code -->
<!-- Quora Pixel Code -->
<script>
!function(q,e,v,n,t,s){if(q.qp) return; n=q.qp=function(){n.qp?n.qp.apply(n,arguments):n.queue.push(argumen
n.queue=[];t=document.createElement(e);t.async=!0;t.src=v; s=document.getElementsByTagName(e)[0]; s.p
(window, 'script', 'https://a.quora.com/qevents.js');
qp('init', 'e5838f59df19473d9c95e4296307c5de');
qp('track', 'ViewContent');
</script>
<noscript><img height="1" width="1" style="display:none" src="https://q.quora.com/_/ad/e5838f59df19473
tag=ViewContent&noscript=1"/></noscript>
<!-- End of Quora Pixel Code -->

<script type="text/javascript">
function FPgetcookieForDFP(cookiename) {
var cookiestring=document.cookie;
var index1=cookiestring.indexOf(cookiename);
if (index1==-1 || cookiename=='') return '';
var index2=cookiestring.indexOf(';',index1);
if (index2==-1) index2=cookiestring.length;
return unescape(cookiestring.substring(index1+cookiename.length+1,index2));
}
function setUserBehaviour()
{
var i, x, y, cl = document.cookie.split(";");
var _w18userinfo_out = {};
var c = 0;
for (i = 0; i < cl.length; i++) {
x = cl[i].substr(0, cl[i].indexOf("="));
y = cl[i].substr(cl[i].indexOf("=") + 1);
x = x.replace(/^\s+|\s+$/g, "");
if (x == "_w18userinfo") {
_w18userinfo_out._w18userinfo = unescape(y);
c=c+1
}
if (c == 1) {
break;
}
}
if(c==1){
var contact = JSON.parse(_w18userinfo_out._w18userinfo);
for (var item in contact) {
googletag.pubads().setTargeting(item,contact[item]);
}
}
}
/*var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];*/
(function() {
var gads = document.createElement('script');
gads.async = true;
gads.type = 'text/javascript';
var useSSL = 'https:' == document.location.protocol;
gads.src = (useSSL ? 'https:' : 'http:') + '//securepubads.g.doubleclick.net/tag/js/gpt.js';
var node = document.getElementsByTagName('script')[0];
node.parentNode.insertBefore(gads, node);
})();
</script>
<script type="text/javascript">
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
/*googletag.cmd.push(function() {
googletag.pubads().disableInitialLoad();
});*/
</script>

<script>
/*$(window).load(function(){
setTimeout(function(){googletag.pubads().refresh(); }, 2000);
});*/
</script>

You might also like