New ask Hacker News story: Ask HN: HTTP request headers to facilitate better UX on web sites?
Ask HN: HTTP request headers to facilitate better UX on web sites?
2 by mactavish88 | 0 comments on Hacker News.
Are there any, or can we maybe come up with (i.e. suggestions please if it seems like a good idea), HTTP headers that browsers can send to sites that automatically instruct them in terms of: 1. The kinds of cookies I'm willing to accept (e.g. strictly necessary). For example, `X-Prefer-Cookies: strictly-necessary` or `X-Prefer-Cookies: all`. 2. The fact that I don't, and probably never will, care about your newsletter. (If your content really interests me, I'll find a way through your UI to subscribe.) For example: `X-Offer-Newsletter: no`, or `X-Offer-Newsletter: yes`. If you wanted to facilitate more general UX preference indications from the client side, you could potentially come up with a scheme like `X-UX-Preferences: strictly-necessary-cookies; no-newsletters`. This way I can set these preferences once in my browser and be done with your annoying cookie selection and newsletter popups (if your site honours those cookies, of course). I think that, if most websites honoured those headers, it might just fix 80% of what I personally feel is wrong with the modern web. (The other 20% I think involves completely eradicating online advertising-driven business models from the face of the planet, which I think is quite a bit harder to achieve than this.)
2 by mactavish88 | 0 comments on Hacker News.
Are there any, or can we maybe come up with (i.e. suggestions please if it seems like a good idea), HTTP headers that browsers can send to sites that automatically instruct them in terms of: 1. The kinds of cookies I'm willing to accept (e.g. strictly necessary). For example, `X-Prefer-Cookies: strictly-necessary` or `X-Prefer-Cookies: all`. 2. The fact that I don't, and probably never will, care about your newsletter. (If your content really interests me, I'll find a way through your UI to subscribe.) For example: `X-Offer-Newsletter: no`, or `X-Offer-Newsletter: yes`. If you wanted to facilitate more general UX preference indications from the client side, you could potentially come up with a scheme like `X-UX-Preferences: strictly-necessary-cookies; no-newsletters`. This way I can set these preferences once in my browser and be done with your annoying cookie selection and newsletter popups (if your site honours those cookies, of course). I think that, if most websites honoured those headers, it might just fix 80% of what I personally feel is wrong with the modern web. (The other 20% I think involves completely eradicating online advertising-driven business models from the face of the planet, which I think is quite a bit harder to achieve than this.)
Comments
Post a Comment