• Resolved timholz

    (@timholz)


    Hi – i changed line 56 of adaptive-images-front.php to:
    document.cookie = 'resolution=' + screen_width + ',' + devicePixelRatio + ';SameSite=None; Secure; path=/';
    The warning in the console has disapeared.
    Please consider to update the plugin.
    Thanks

    • This topic was modified 4 years, 6 months ago by timholz.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takis Bouyouris

    (@nevma)

    Hello, @timholz,

    Thank you for the heads up. Actually I think only the SameSite should be necessary. Whether the cookie is Secure depends on the website, although, of course, all websites should be served via SSL/HTTPS these days.

    I will make a note of this and fix it in a minor update shortly.

    Cheers,
    Takis

    Thread Starter timholz

    (@timholz)

    Hi Takis
    Thanks for the quick response and update.
    All the best to you.
    theo

    Plugin Author Takis Bouyouris

    (@nevma)

    You are welcome, my friend!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘the resolution cookie is soon out dated’ is closed to new replies.