• Resolved Etienne

    (@epipo)


    Hello,

    I’m back with an error that is only happening in Safari (for Mac, I haven’t tested on PC yet). Here is what the console shows when I click on declined or accept:

    https://cloudup.com/cExwO7MlJjX

    Have you noticed it before?
    Thanks for your help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Nicola Modugno

    (@shark986)

    @epipo I do not notice that error.
    In the plugin logic option there is a field to enable the “debug mode”. Could you enable it and check again?
    What version of Safari are you running? Any addon?
    Nicola

    Thread Starter Etienne

    (@epipo)

    Thanks Nicola,

    I’ve enabled the debug mode but I still have the error without any more information than before. I’m running Safari 11.1.1 with no addons.

    • This reply was modified 6 years, 4 months ago by Etienne.
    Plugin Author Nicola Modugno

    (@shark986)

    @epipo same site as before?

    What output do you get in the javascript console, with the “navigator.cookieEnabled” command?

    Is there any cookie with the name like “CookiePreferences-studiodpe.com”? If yes, what is its value?

    Thread Starter Etienne

    (@epipo)

    – Yes, same site as before (studiodpe.com).
    navigator.cookieEnabled returns false.
    – There a no cookies named CookiePrefrences-studiodpe.com.

    • This reply was modified 6 years, 4 months ago by Etienne.
    Plugin Author Nicola Modugno

    (@shark986)

    @epipo sorry for the delay.

    The problem is that the browser does not accept cookies, as you can see from the result of the “navigator.cookeEnabled” command.

    I could improve the script to avoid the raising of that error, but the kit will not work on browsers that do not accept cookies.

    Thread Starter Etienne

    (@epipo)

    No worries, thanks for your answer! Yes that makes sense that it’s not working if cookies are disabled by browser.

    I like to keep the console clean when I develop a website so maybe the error could be displayed only when debug mode is activated? What do you think?

    Plugin Author Nicola Modugno

    (@shark986)

    I understand you: a warning is ok, but it should be generated by the kit, not by the browser for an unhandled exception! That is exactly what I mean with “I could improve the script to avoid the raising of that error” ??

    Thread Starter Etienne

    (@epipo)

    Ok, sounds perfect to me. Thank you for your work!

    • This reply was modified 6 years, 4 months ago by Etienne.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Safari only TypeError’ is closed to new replies.