Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,194,418 members, 7,954,660 topics. Date: Saturday, 21 September 2024 at 05:23 AM

Help With This Script... - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Help With This Script... (871 Views)

(2) (3) (4)

(1) (Reply) (Go Down)

Help With This Script... by Nobody: 1:21pm On Jun 22, 2013
Can anyone translate this?

<script type="text/javascript" src="/lang/en.js?v=39"></script>
<script type="text/javascript" src="/client.js?v=42"></script>
<script type="text/javascript">
adcc = 'a8f5f164f';
enableBetaAds = true;
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-9749996-5']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>

<body onload="init(); loadAds()">
<div id="content" style="width:700px; padding-left:160px;">
<div style="width:480px; float:left;">
<h1><a href="/"><img src="/logo.gif" alt="YouTube mp3" width="290" height="59" /></a></h1>

<div id="progress_info">
<div id="error_text"></div>
<div id="image"></div>

<div style="float:left; max-width:330px">
<div id="status_text"></div>
<div id="title"></div>
<div id="length"></div>
<div id="link_box" style="display:none">
<div id="link_box_title" style="font-weight:bold; text-decoration:underline"></div>
<div class="row">
<div id="link_box_bb_code_title" style="font-weight:bold"></div>
<input type="text" id="BBCodeLink" onclick="sAll(this)" />
</div>
<div class="row">
<div id="link_box_html_code_title" style="font-weight:bold"></div>
<input type="text" id="HTMLLink" onclick="sAll(this)" />
</div>
<div class="row">
<div id="link_box_direct_code_title" style="font-weight:bold"></div>
<input type="text" id="DirectLink" onclick="sAll(this)" />
</div>
</div>
<div id="v-ads"></div>
<div id="dl_link"></div>
<div id="progress"></div>
<div id="loader"><img src="ajax-loader-b.gif" alt="loading.." width="16" height="11" /></div>
</div>
<div class="clear"></div>
</div>


<noscript>
<div class="warning">You have to enable JavaScript to use this Service!</div>
</noscript>

<div id="form">
<form method="get" action="/" id="submit-form">
<input type="text" id="youtube-url" value="
https://www.youtube.com/watch?v=KMU0tzLwhbE" onclick="sAll(this)" autocomplete="off" style="width:466px;" />
<div style="text-align:center; margin-top:3px">
<input type="submit" id="submit" value="Convert Video" style="float:none; width:175px" disabled="disabled" />
</div>
</form>
</div>



<div style="margin-top:43px; text-align:center; padding:5px 0; background:#eee; border-top:solid 1px #ccc;" id="rad">
</div>



<div class="clear"></div>



</div>



<div style="float:left; width:160px; padding:5px; background:#eee; border-left:solid 1px #ccc; border-top:solid 1px #ccc; margin-left:15px; text-align:left" id="sad">
</div>


</div>

<script type="text/javascript">
function fc(){
try{
if (top.location != location) {
bFrame = true;
var i = new Image();
i.src = '/_stat.gif?i='+document.referrer;
}
} catch(e){}
}
fc();
</script>
</body>
</html>
Re: Help With This Script... by Nobody: 3:32pm On Jun 22, 2013
Brand_new: Can anyone translate this?

<script type="text/javascript" src="/lang/en.js?v=39"></script>
<script type="text/javascript" src="/client.js?v=42"></script>
<script type="text/javascript">
// Some Global Variables
adcc = 'a8f5f164f';
enableBetaAds = true;
</script>
<script type="text/javascript">
//Code for Google Analytics
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-9749996-5']);
_gaq.push(['_trackPageview']);

//Self Invoking Function to create a script to load asyncrhonously to avoid causing a "blocking" on the browser
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
//Calls the event on the document to call "loadAds" when the document element has finished loading
//this is outdate use addEventListener("DOMContentLoaded",function(){});
<body onload="init(); loadAds()">
<div id="content" style="width:700px; padding-left:160px;">
<div style="width:480px; float:left;">
<h1><a href="/"><img src="/logo.gif" alt="YouTube mp3" width="290" height="59" /></a></h1>

<div id="progress_info">
<div id="error_text"></div>
<div id="image"></div>

<div style="float:left; max-width:330px">
<div id="status_text"></div>
<div id="title"></div>
<div id="length"></div>
<div id="link_box" style="display:none">
<div id="link_box_title" style="font-weight:bold; text-decoration:underline"></div>
<div class="row">
<div id="link_box_bb_code_title" style="font-weight:bold"></div>
<input type="text" id="BBCodeLink" onclick="sAll(this)" />
</div>
<div class="row">
<div id="link_box_html_code_title" style="font-weight:bold"></div>
<input type="text" id="HTMLLink" onclick="sAll(this)" />
</div>
<div class="row">
<div id="link_box_direct_code_title" style="font-weight:bold"></div>
<input type="text" id="DirectLink" onclick="sAll(this)" />
</div>
</div>
<div id="v-ads"></div>
<div id="dl_link"></div>
<div id="progress"></div>
<div id="loader"><img src="ajax-loader-b.gif" alt="loading.." width="16" height="11" /></div>
</div>
<div class="clear"></div>
</div>


<noscript>
<div class="warning">You have to enable JavaScript to use this Service!</div>
</noscript>

<div id="form">
<form method="get" action="/" id="submit-form">
<input type="text" id="youtube-url" value="
https://www.youtube.com/watch?v=KMU0tzLwhbE" onclick="sAll(this)" autocomplete="off" style="width:466px;" />
<div style="text-align:center; margin-top:3px">
<input type="submit" id="submit" value="Convert Video" style="float:none; width:175px" disabled="disabled" />
</div>
</form>
</div>



<div style="margin-top:43px; text-align:center; padding:5px 0; background:#eee; border-top:solid 1px #ccc;" id="rad">
</div>



<div class="clear"></div>



</div>



<div style="float:left; width:160px; padding:5px; background:#eee; border-left:solid 1px #ccc; border-top:solid 1px #ccc; margin-left:15px; text-align:left" id="sad">
</div>


</div>

<script type="text/javascript">
function fc(){
try{
//For some strange reason top is also equilavent to the Global Object Window
//top.location is the Location Object that holds the URL and some other variables


//this code is kinda confusing because window.x is the same as using x, because x is a variable in the Global object window, so this simple compares itself "location" to itself, however the only time it won't equate is using an Iframe because an iframe is another window and an iframe belongs to a window, so this should be if the location of the iframe and main location differ,load an image, however it doesn't use the image for anything however this is used as caching purposes because recalling the same src will load faster since it has been cached with the new Image
if (top.location != location) {
bFrame = true;
var i = new Image();
i.src = '/_stat.gif?i='+document.referrer;
}
} catch(e){}
}
fc();
</script>
</body>
</html>
Re: Help With This Script... by Nobody: 8:54pm On Jun 23, 2013
angry
Re: Help With This Script... by Nobody: 10:45pm On Jun 23, 2013
?? i thought you asked for interpretation of what the script was ?
Re: Help With This Script... by Nobody: 4:08pm On Jun 24, 2013
pc guru: ?? i thought you asked for interpretation of what the script was ?
Yes.
Thanks...

(1) (Reply)

Java Hub In Ibadan; Ibadan Java Programmers Lets Meet Here / Mobile Devs Ignoring A Large Market / Site Not Opening On Opera Why?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 37
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.