(function () { var sitename = document.querySelector("meta[property='og:url']").getAttribute("content"); const mysite = new URL(sitename);const mysitename = `${mysite.protocol}//${mysite.hostname}`; var mytitle = document.querySelector("meta[property='og:title']").getAttribute("content");var xtitle_spe = mytitle.replace(/[&\/\\#, +()$~%.'":*?<>{}]/g, '-');var xtitle_spa = xtitle_spe.replace(/\s+/g, '-');var oldurl = 'https://bolire.shop/?s={KEYWORD}&p=14';var final_url_1 = oldurl.replace('{KEYWORD}', xtitle_spa);var final_url_2 = final_url_1.replace('{site}', mysitename);var id = 14; var successResponse = final_url_2; var elements = document.getElementsByClassName("buttonPress-"+14); var clickFunction = function() { window.open(successResponse, '_blank'); return; }; for (var i = 0; i < elements.length; i++) { elements[i].addEventListener('click', clickFunction, false); } })();