NOT : Ticari yazılımlarınızda bu kodu kullanmanıza müsade etmiyorum. Geri kalan herşeyde kullanabilir, paylaşabilirsiniz.
Sitenize giren ziyaretçiler sitenizde nerelere gidiyor?
Sitenin hangi kısımları ziyaretçinin dikkatini çekiyor?
Reklamlarımı nereye koyarsam daha çok performans alırım?
vs.vs.vs.
işte tüm bu soruların cevabı aşağıda ki videom'da
http://www.screentoaster.com/watch/s..._r10_net_fatal
dosyalar aşağıda:
indexyeni.php dosyamın içeriği: (mouse hareketlerinin kaydedildiği dosya)
<script type="text/javascript" src="http://localhost/r10/js2/jqueryana.js"></script>
<script type="text/javascript" src="http://localhost/r10/js2/jquery.url.packed.js"></script>
<script type="text/javascript" src="http://localhost/r10/js2/onUserExit.js"></script>
<script type="text/javascript" src="http://localhost/r10/js2/jqueryft.php"></script>
<?
include 'curl.php';
echo ftl("https://www.r10.net/index.php");
?>
indexyeni2.php dosyamın içeriği: (mouse hareketlerinin okunduğu ve ekrana yansıtıldığı dosya)
<script type="text/javascript" src="http://localhost/r10/js2/jqueryana.js"></script>
<script src="js2/jquery.scrollTo.js" type="text/javascript"></script>
<script type="text/javascript">
$('document').ready(function(){
$.get("logver.php",{dosya:'<?=$_GET["d"]?>.txt'} ,function(data)
{
//alert(data);
var myString=data;
var mySplitResult = myString.split("|");
kactanehaci=mySplitResult.length;
if(kactanehaci>0)
{
var i=0;
for(i=0;i<kactanehaci;i++)
{
XY=mySplitResult[i];
if(XY!="")
{
//alert(XY);
var myString2=XY;
var mySplitResult2 = myString2.split(",");
kactanehaci2=mySplitResult2.length;
if(kactanehaci2>0)
{
XPOS=mySplitResult2[0];
YPOS=mySplitResult2[1];
//alert(XPOS);
var x = $("#mouse").offset().left;
var y = $("#mouse").offset().top;
farkx=XPOS-x-7;
farky=YPOS-y-3;
sonfarky=farky-100;
$.scrollTo( {top:''+sonfarky+'px', left:''+farkx+'px'}, 400 );
$('#mouse').animate({top: farky,left: farkx});
}
}
}
}
});
});
</script>
<img id="mouse" src="whitearrow.gif" style="position:absolute;left:0px;top:0px;z-index:1000;">
<?
include 'curl.php';
echo ftl("https://www.r10.net/index.php");
?>
logal.php dosyamın içeriği:
<?
$urele=$_POST["url"];
$datax=$_POST["datax"];
$ip=$_POST["ip"];
$tarih=time();
$ip=str_replace(".","_",$ip);
$urele=str_replace("/","_",$urele);
$fg = @fopen("data/".$ip."-".$urele."-".$tarih.".txt","a");
@fwrite($fg,$datax);
@fclose($fg);
?>
logver.php dosyamın içeriği:
<?
$dosya=$_GET["dosya"];
echo file_get_contents("data/$dosya");
?>
jquery.url.packed.js dosyasının içeriği:
jQuery.url=function(){var segments={};var parsed={};var options={url:window.location,strictMode:false,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};var parseUri=function(){str=decodeURI(options.url);var m=options.parser[options.strictMode?"strict":"loose"].exec(str);var uri={};var i=14;while(i--){uri[options.key[i]]=m[i]||""}uri[options.q.name]={};uri[options.key[12]].replace(options.q.parser,function($0,$1,$2){if($1){uri[options.q.name][$1]=$2}});return uri};var key=function(key){if(!parsed.length){setUp()}if(key=="base"){if(parsed.port!==null&&parsed.port!==""){return parsed.protocol+"://"+parsed.host+":"+parsed.port+"/"}else{return parsed.protocol+"://"+parsed.host+"/"}}return(parsed[key]==="")?null:parsed[key]};var param=function(item){if(!parsed.length){setUp()}return(parsed.queryKey[item]===null)?null:parsed.queryKey[item]};var setUp=function(){parsed=parseUri();getSegments()};var getSegments=function(){var p=parsed.path;segments=[];segments=parsed.path.length==1?{}:(p.charAt(p.length-1)=="/"?p.substring(1,p.length-1):path=p.substring(1)).split("/")};return{setMode:function(mode){strictMode=mode=="strict"?true:false;return this},setUrl:function(newUri){options.url=newUri===undefined?window.location:newUri;setUp();return this},segment:function(pos){if(!parsed.length){setUp()}if(pos===undefined){return segments.length}return(segments[pos]===""||segments[pos]===undefined)?null:segments[pos]},attr:key,param:param}}();
onUserExit.js dosyasının içeriği:
/*
* onUserExit jQuery Plugin (http://www.userfirstinteractive.com/)
* @author Scott D. Brooks
* @created by UserFirst Interactive (creations@userfirstinteractive.com)
*
* @version 1.0
*
* @changelog
* v 1.0 -> Starting release [Dec. 27, 2008]
*
*/
var movingWithinSite = false; // this is the var that determines if the unload was caused by a user leaving, or navigating in the site.
var codeToExecute = function() {};
function userMovingWithinSite() {
//movingWithinSite = true;
movingWithinSite = false;
}
(function($){
$.fn.onUserExit = function(options) {
var defaults = {
execute: "", // no function assigned by default
internalURLs: "" // used to detect whether the url is internal or not (you can add subdomains to this list so when a user hops between sites, they are still considered to be internal.
};
var options = $.extend(defaults, options);
if (options.execute == "") {
alert("The onUserExit jQuery Plugin has been misconfigured. Please add the function you wish to execute.");
}
if (options.internalURLs == "") {
alert("The onUserExit jQuery Plugin has been misconfigured. Please add internal URLs so it know when the user is navigating internally.");
}
codeToExecute = options.execute;
// add onClick function to all internal links
$("a").each(function() {
var obj = $(this);
var linkIsInternal = false;
var myInternalURLs = options.internalURLs.split("|");
for (i = 0; i < myInternalURLs.length; i++) {
if (obj.attr("href").indexOf(myInternalURLs[i]) !== -1) {
linkIsInternal = true;
}
// if it's a relative or absolute URL, so it's internal.
if (obj.attr("href").indexOf("http://") == -1) {
linkIsInternal = true;
}
}
if (linkIsInternal == true) {
obj.bind("click", function(){
userMovingWithinSite();
});
}
});
};
$(window).unload(function() {
// unloading the page when the user is leaving
if (movingWithinSite == false) {
codeToExecute();
}
});
})(jQuery);
jqueryft.php dosyamın içeriği:
var datax='';
var ip='<?=$_SERVER['REMOTE_ADDR']?>';
var urele = window.location.pathname;
$('document').ready(function(){
setInterval("logit()", 500);
$().mousemove(function(e){
window.mouseXPos = e.pageX;
window.mouseYPos = e.pageY;
});
$().onUserExit({
execute: function()
{
gonder();
},
internalURLs: "www.deneme.com|www.deneme2.com"
});
});
function logit()
{
datax=datax+''+mouseXPos+','+mouseYPos+'|';
//alert(datax);
}
function gonder()
{
$.post("http://localhost/r10/logal.php",{url:urele, datax:datax, ip:ip} ,function(data)
{
});
}
jquery.scrollTo.js dosyası:
/**
* jQuery.ScrollTo
* Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
* Dual licensed under MIT and GPL.
* Date: 5/25/2009
*
* @projectDescription Easy element scrolling using jQuery.
* http://flesler.blogspot.com/2007/10/jqueryscrollto.html
* Works with jQuery +1.2.6. Tested on FF 2/3, IE 6/7/8, Opera 9.5/6, Safari 3, Chrome 1 on WinXP.
*
* @author Ariel Flesler
* @version 1.4.2
*
* @id jQuery.scrollTo
* @id jQuery.fn.scrollTo
* @param {String, Number, DOMElement, jQuery, Object} target Where to scroll the matched elements.
* The different options for target are:
* - A number position (will be applied to all axes).
* - A string position ('44', '100px', '+=90', etc ) will be applied to all axes
* - A jQuery/DOM element ( logically, child of the element to scroll )
* - A string selector, that will be relative to the element to scroll ( 'li:eq(2)', etc )
* - A hash { top:x, left:y }, x and y can be any kind of number/string like above.
* - A percentage of the container's dimension/s, for example: 50% to go to the middle.
* - The string 'max' for go-to-end.
* @param {Number} duration The OVERALL length of the animation, this argument can be the settings object instead.
* @param {Object,Function} settings Optional set of settings or the onAfter callback.
* @option {String} axis Which axis must be scrolled, use 'x', 'y', 'xy' or 'yx'.
* @option {Number} duration The OVERALL length of the animation.
* @option {String} easing The easing method for the animation.
* @option {Boolean} margin If true, the margin of the target element will be deducted from the final position.
* @option {Object, Number} offset Add/deduct from the end position. One number for both axes or { top:x, left:y }.
* @option {Object, Number} over Add/deduct the height/width multiplied by 'over', can be { top:x, left:y } when using both axes.
* @option {Boolean} queue If true, and both axis are given, the 2nd axis will only be animated after the first one ends.
* @option {Function} onAfter Function to be called after the scrolling ends.
* @option {Function} onAfterFirst If queuing is activated, this function will be called after the first scrolling ends.
* @return {jQuery} Returns the same jQuery object, for chaining.
*
* @desc Scroll to a fixed position
* @example $('div').scrollTo( 340 );
*
* @desc Scroll relatively to the actual position
* @example $('div').scrollTo( '+=340px', { axis:'y' } );
*
* @dec Scroll using a selector (relative to the scrolled element)
* @example $('div').scrollTo( 'p.paragraph:eq(2)', 500, { easing:'swing', queue:true, axis:'xy' } );
*
* @ Scroll to a DOM element (same for jQuery object)
* @example var second_child = document.getElementById('container').firstChild.nextSibling;
* $('#container').scrollTo( second_child, { duration:500, axis:'x', onAfter:function(){
* alert('scrolled!!');
* }});
*
* @desc Scroll on both axes, to different values
* @example $('div').scrollTo( { top: 300, left:'+=200' }, { axis:'xy', offset:-20 } );
*/
;(function( $ ){
var $scrollTo = $.scrollTo = function( target, duration, settings ){
$(window).scrollTo( target, duration, settings );
};
$scrollTo.defaults = {
axis:'xy',
duration: parseFloat($.fn.jquery) >= 1.3 ? 0 : 1
};
// Returns the element that needs to be animated to scroll the window.
// Kept for backwards compatibility (specially for localScroll & serialScroll)
$scrollTo.window = function( scope ){
return $(window)._scrollable();
};
// Hack, hack, hack :)
// Returns the real elements to scroll (supports window/iframes, documents and regular nodes)
$.fn._scrollable = function(){
return this.map(function(){
var elem = this,
isWin = !elem.nodeName || $.inArray( elem.nodeName.toLowerCase(), ['iframe','#document','html','body'] ) != -1;
if( !isWin )
return elem;
var doc = (elem.contentWindow || elem).document || elem.ownerDocument || elem;
return $.browser.safari || doc.compatMode == 'BackCompat' ?
doc.body :
doc.documentElement;
});
};
$.fn.scrollTo = function( target, duration, settings ){
if( typeof duration == 'object' ){
settings = duration;
duration = 0;
}
if( typeof settings == 'function' )
settings = { onAfter:settings };
if( target == 'max' )
target = 9e9;
settings = $.extend( {}, $scrollTo.defaults, settings );
// Speed is still recognized for backwards compatibility
duration = duration || settings.speed || settings.duration;
// Make sure the settings are given right
settings.queue = settings.queue && settings.axis.length > 1;
if( settings.queue )
// Let's keep the overall duration
duration /= 2;
settings.offset = both( settings.offset );
settings.over = both( settings.over );
return this._scrollable().each(function(){
var elem = this,
$elem = $(elem),
targ = target, toff, attr = {},
win = $elem.is('html,body');
switch( typeof targ ){
// A number will pass the regex
case 'number':
case 'string':
if( /^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(targ) ){
targ = both( targ );
// We are done
break;
}
// Relative selector, no break!
targ = $(targ,this);
case 'object':
// DOMElement / jQuery
if( targ.is || targ.style )
// Get the real position of the target
toff = (targ = $(targ)).offset();
}
$.each( settings.axis.split(''), function( i, axis ){
var Pos = axis == 'x' ? 'Left' : 'Top',
pos = Pos.toLowerCase(),
key = 'scroll' + Pos,
old = elem[key],
max = $scrollTo.max(elem, axis);
if( toff ){// jQuery / DOMElement
attr[key] = toff[pos] + ( win ? 0 : old - $elem.offset()[pos] );
// If it's a dom element, reduce the margin
if( settings.margin ){
attr[key] -= parseInt(targ.css('margin'+Pos)) || 0;
attr[key] -= parseInt(targ.css('border'+Pos+'Width')) || 0;
}
attr[key] += settings.offset[pos] || 0;
if( settings.over[pos] )
// Scroll to a fraction of its width/height
attr[key] += targ[axis=='x'?'width':'height']() * settings.over[pos];
}else{
var val = targ[pos];
// Handle percentage values
attr[key] = val.slice && val.slice(-1) == '%' ?
parseFloat(val) / 100 * max
: val;
}
// Number or 'number'
if( /^\d+$/.test(attr[key]) )
// Check the limits
attr[key] = attr[key] <= 0 ? 0 : Math.min( attr[key], max );
// Queueing axes
if( !i && settings.queue ){
// Don't waste time animating, if there's no need.
if( old != attr[key] )
// Intermediate animation
animate( settings.onAfterFirst );
// Don't animate this axis again in the next iteration.
delete attr[key];
}
});
animate( settings.onAfter );
function animate( callback ){
$elem.animate( attr, duration, settings.easing, callback && function(){
callback.call(this, target, settings);
});
};
}).end();
};
// Max scrolling position, works on quirks mode
// It only fails (not too badly) on IE, quirks mode.
$scrollTo.max = function( elem, axis ){
var Dim = axis == 'x' ? 'Width' : 'Height',
scroll = 'scroll'+Dim;
if( !$(elem).is('html,body') )
return elem[scroll] - $(elem)[Dim.toLowerCase()]();
var size = 'client' + Dim,
html = elem.ownerDocument.documentElement,
body = elem.ownerDocument.body;
return Math.max( html[scroll], body[scroll] )
- Math.min( html[size] , body[size] );
};
function both( val ){
return typeof val == 'object' ? val : { top:val, left:val };
};
})( jQuery );
jquery ana dosyası:
http://ajax.googleapis.com/ajax/libs....2.6/jquery.js