// Copyright 2016 by luk3yx. // All rights reserved. to = getParam.to; if (to == '') { to = undefined; } from = getParam.from; if (from == '') { from = undefined; } img = getParam.img; if (img == '') { img = undefined; } if (img == 'URL') { img = undefined; } imgurl = getParam.imgurl; if (imgurl == '') { imgurl = undefined; } colour = getParam.colour; if (colour == '') { colour = undefined; } dataURL = getParam.dataURL; title = "Hello."; if (typeof to !== 'undefined') { title = to.replace(/\+/g, '\ '); } if (typeof from !== 'undefined') { from = from.replace(/\+/g, '\ '); } if (typeof from == 'undefined') { from = "...................."; } if (typeof img !== 'undefined') { url = "https://" + window.location.hostname; if (img.substr(0, 8) == "birthday" || img.substr(0, 4) == "xmas" || img.substr(0, 4) == "back") { imgurl = url + "/images/" + img + ".jpg"; } else if (img.substr(0, 8) == "https://") { imgurl = img; } else { imgurl = url + "/images/xmas" + img + ".jpg"; } } if (typeof imgurl !== 'undefined') { imgtag = "" } if (typeof imgurl == 'undefined') { imgtag = "" } morecss = '' if (typeof colour !== 'undefined') { morecss = '' } br = atob("PGJyLz4K"); footer = ""; css = ` `; docstart = atob("PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFsLy9FTiIKICAgICAgICAiaHR0cDovL3d3dy53My5vcmcvVFIveGh0bWwxL0RURC94aHRtbDEtdHJhbnNpdGlvbmFsLmR0ZCI+CjxodG1sIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hodG1sIj4KPGhlYWQ+CjxtZXRhIGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgCiAgICAgICAgY29udGVudD0idGV4dC9odG1sO2NoYXJzZXQ9dXRmLTgiIC8+Cjx0aXRsZT4K"); content = docstart + title + "" + css + morecss + "" + imgtag + "
" + br + br + "

" + title + '

' + br + br + '

' + from + "

"; if (dataURL == "no") { window.addEventListener('load', function() { document.open(); document.write(content); hideLoadScreen(); document.body.overflow = 'hidden'; document.close(); }); } else { doc = btoa(content); url = "data:text/html;base64," + doc; window.location.href = url; }