Nameless icon indicating copy to clipboard operation
Nameless copied to clipboard

On click cookies

Open CreaCloudz opened this issue 2 years ago • 6 comments

Describe the issue

On click to allow or not alow the cookies the page is refresh and delete all information write.

NamelessMC Version

2.0.0

To Reproduce

  1. Write walf login page and allow cookies

Expected Behaviour

No response

Screenshots

No response

Additional Information

No response

CreaCloudz avatar Aug 22 '22 12:08 CreaCloudz

Could you explain more? Because this is kinda non-sense, walf, delete all information write

PadowYT2 avatar Aug 22 '22 13:08 PadowYT2

When we click on accept or not the cookies the page is updated and all written information is therefore lost

CreaCloudz avatar Aug 22 '22 13:08 CreaCloudz

How is it lost?

PadowYT2 avatar Aug 22 '22 13:08 PadowYT2

I guess the request that is made to save that the user has accepted cookies is not ajax, so it "refreshes" the page. As a result, anything entered on the page will be lost.

Refreshing is required for the cookie change to take effect as far as I know. For example, without refreshing third party widgets still won't load. However, we might want to leave refreshing the page to the user.

Derkades avatar Aug 22 '22 16:08 Derkades

It's true but on version 2 pre12 there was no update which was much better

CreaCloudz avatar Aug 22 '22 16:08 CreaCloudz

There was no update because we didn't block widgets from displaying back then when cookies weren't accepted. But we do now to fully stop saving any cookies that are not strictly needed. Because of this, it is required for it to refresh the page and get the widgets that can be displayed then

supercrafter100 avatar Sep 12 '22 18:09 supercrafter100