var isSafari = Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0; if (isSafari) {alert('Safari is not ready for love, it still blind. But Chrome and Firefox are ready'); } function preloader() { var image_n = new Image(); image_n.src = "img/" + getUrlVars() + ".jpg" image_n.onload = function(){ image_selected(image_n); }; } function chunk_split(body, chunklen, letter) { var result = ""; for (i=0;i 0) { if (limit >= s.length) return s; return s.slice(0, limit - 1) .concat([s.slice(limit - 1) .join(delimiter) ]); } // Negative limit if (-limit >= s.length) return []; s.splice(s.length + limit); return s; } function array_sum(aa){ var result = 0; for(i=0;i= sz+1); var hunt = dechex(tim); if (hunt.length < 2) hunt = "0"+hunt; return hunt; } function round(value, precision, mode) { // discuss at: http://phpjs.org/functions/round/ // original by: Philip Peterson // revised by: Onno Marsman // revised by: T.Wild // revised by: RafaƂ Kukawski (http://blog.kukawski.pl/) // input by: Greenseed // input by: meo // input by: William // input by: Josep Sanz (http://www.ws3.es/) // bugfixed by: Brett Zamir (http://brett-zamir.me) // note: Great work. Ideas for improvement: // note: - code more compliant with developer guidelines // note: - for implementing PHP constant arguments look at // note: the pathinfo() function, it offers the greatest // note: flexibility & compatibility possible // example 1: round(1241757, -3); // returns 1: 1242000 // example 2: round(3.6); // returns 2: 4 // example 3: round(2.835, 2); // returns 3: 2.84 // example 4: round(1.1749999999999, 2); // returns 4: 1.17 // example 5: round(58551.799999999996, 2); // returns 5: 58551.8 var m, f, isHalf, sgn; // helper variables precision |= 0; // making sure precision is integer m = Math.pow(10, precision); value *= m; sgn = (value > 0) | -(value < 0); // sign of the number isHalf = value % 1 === 0.5 * sgn; f = Math.floor(value); if (isHalf) { switch (mode) { case 'PHP_ROUND_HALF_DOWN': value = f + (sgn < 0); // rounds .5 toward zero break; case 'PHP_ROUND_HALF_EVEN': value = f + (f % 2 * sgn); // rouds .5 towards the next even integer break; case 'PHP_ROUND_HALF_ODD': value = f + !(f % 2); // rounds .5 towards the next odd integer break; default: value = f + (sgn > 0); // rounds .5 away from zero } } return (isHalf ? value : Math.round(value)) / m; } var ones=['','one','two','three','four','five','six','seven','eight','nine']; var tens=['','','twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']; var teens=['ten','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen']; function convert_millions(num){ if (num>=1000000){ return convert_millions(Math.floor(num/1000000))+" million "+convert_thousands(num%1000000); } else { return convert_thousands(num); } } function convert_thousands(num){ if (num>=1000){ return convert_hundreds(Math.floor(num/1000))+" thousand "+convert_hundreds(num%1000); } else{ return convert_hundreds(num); } } function convert_hundreds(num){ if (num>99){ return ones[Math.floor(num/100)]+" hundred "+convert_tens(num%100); } else{ return convert_tens(num); } } function convert_tens(num){ if (num<10) return ones[num]; else if (num>=10 && num<20) return teens[num-10]; else{ return tens[Math.floor(num/10)]+" "+ones[num%10]; } } function convert(num){ if (num==0) return "zero"; else return convert_millions(num); } function getBase64Image(img) { // Create an empty canvas element var canvas = document.createElement("canvas"); canvas.width = img.width; canvas.height = img.height; // Copy the image contents to the canvas var ctx = canvas.getContext("2d"); ctx.drawImage(img, 0, 0); // Get the data-URL formatted image // Firefox supports PNG and JPEG. You could check img.src to // guess the original format, but be aware the using "image/jpg" // will re-encode the image. var dataURL = canvas.toDataURL("image/jpeg"); return dataURL; } function getUrlVars() { var vars = {}; var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) { vars[key] = value; }); return vars.iii; } var code_length; function scrolltopurelove(){ window.scrollTo(0, code_length*0.80); } function getNextNum(){ var result = parseInt(getUrlVars())+1; if (result > 199) result = 100; return result; } function image_selected(image_n){ var love_counter = 0; var image_64 = getBase64Image(image_n); //hunt var ii = hunt(); //change var image_64_with_love_head = image_64.substr(0,23); var image_64_with_love = ""; for (i=23;ilove there is in this picture ? This time there is something like " +convert(love_counter*10) +" octets of pure love here (" + round(love_counter*100/image_64_with_love.length,3) + "%). How much in the next image of this collection ?
"; result = result + image_64_with_love.replace(/ I love you /g," I love you "); result = result + "

Thursday 06th 2025f February 2025 12:01:46 AM
square collection | image "+getUrlVars(); result = result + "
"+love_counter+" i love you where found in the image code"; result = result + "
65245867 i love you where streamed over the network"; document.getElementById("code").innerHTML = result; code_length = result.length; var imghidden = new Image().src = "http://iloveyou.38degres.net/pop.php?e="+love_counter; }