开发者

How to uniquely identify a browser on a Google Chrome extension?

开发者 https://www.devze.com 2023-03-16 05:31 出处:网络
We have a horizontal portal that开发者_如何学Python caters to different categories. This portal now needs a Chrome extension that will allow users to follow articles in different categories separate

We have a horizontal portal that开发者_如何学Python caters to different categories.

This portal now needs a Chrome extension that will allow users to follow articles in different categories separately. That is, one user may pick Sports, Movies while another may pick Politics & Fashion.

I am wondering if we can let the user to specify these individual interests without having to create a login. I think this is possible if we can uniquely identify a Chrome browser and assign the interests against this #ID.

It will be great if someone can explain how it can be done.


Sounds like a typical job for a cookie. Just store the category subscriptions in the cookie, that's all there is to it.

0

精彩评论

暂无评论...
验证码 换一张
取 消