Sha256: 0410ff4bc1863c400b7d9b17a9e0aca5e2795eec6a04bcc29b339105b3627121
Contents?: true
Size: 454 Bytes
Versions: 18
Compression:
Stored size: 454 Bytes
Contents
VisitRecorder = {}; VisitRecorder.record = function(data) { var date = new Date(); data.u = document.location.href; // data.w = screen.width // data.h = screen.height data.t = document.title data.n = date.getTime(); if(document.referrer && document.referrer != "") { data.r = document.referrer; } $("body").append("<img class='visit-recorder' src='<%= record_visit_path %>?" + jQuery.param(data) + "' style='display:none;' />"); };
Version data entries
18 entries across 18 versions & 1 rubygems