payskin 905 Share Posted May 29, 2015 function getCookie (sKey) { if (!sKey) { return null; } return decodeURIComponent(document.cookie.replace(new RegExp("(??:^|.*\\s*" + encodeURIComponent(sKey).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*([^;]*).*$)|^.*$"), "$1")) || null; } if (getCookie('EztACookietAkarom') { document.location.href = 'http://idekuldomazembert.hu'; } Nem biztos, hogy 100%-os, de 2 perc alatt csináltam az itteni little framework alapján Link to comment Share on other sites More sharing options...
TheSaurida 36 Share Posted May 29, 2015 Köszi, kipróbálom. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now