WebSite X5Help Center

 
Borut K.
Borut K.
User

JS cookies warning problem  en

Autor: Borut K.
Besucht 2194, Followers 1, Geteilt 0  
Tags:: cookies

Please can you help me what i am doing wrong.

I want to put cookies warning mesage in js, which i downloded from here:

https://github.com/Scott-Herbert/CookieWarning/blob/master/js/cookiewarning2.js

I save it on new folder js, on my disk/WebSite X5 - Spletne strani(web site).

In index page, i put this @<script language="JavaScript" type="text/javascript" src="js/cookiewarning.js"></script>@ (without monkey)

and link to js file. Picture 2.jpg

In IE and firefox, when I click agree or disagre it work corecct, but in chrome do not want to close, whatever I click. Picture 1.jpg (how i send two picture Embarassed ?

The same is hapened if I put the script language etc.... in general setings, before head, before body, after body.

Is there any easy way for this cookies mesage. I have google analytic and I need this warning.

Sorry for my english

Borut

Gepostet am
2 ANTWORTEN - 1 KORREKT
Incomedia
Michele C.
Incomedia

Hello Borut,

unfortunately I cannot help you with custom code, but if it works with some browsers and not with Chrome maybe the issue is withnin the plugin itslef and you should refer to the plugin author's site.

hope this helps

Mehr lesen
Gepostet am von Michele C.
Borut K.
Borut K.
User
Autor

I was delete ga.js Laughing I have all info about analytik in server where web site and domain is hosted, so I do not need this cookie from google for now.

Thanks!

Mehr lesen
Gepostet am von Borut K.