chatgpt-clone icon indicating copy to clipboard operation
chatgpt-clone copied to clipboard

Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform

Open takahashigy opened this issue 1 year ago • 5 comments

A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. Starting in Chrome 101, the amount of information available in the User Agent string will be reduced. To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData. Note that for performance reasons, only the first access to one of the properties is shown. how to solve this?thank you

takahashigy avatar Apr 25 '23 15:04 takahashigy

do you mind trying to use another browser ?

xtekky avatar Apr 25 '23 15:04 xtekky

I tried changing to a different browser, and what happens now is that after I submit the issue, it never responds, and this is what happens with my local code: 127.0.0.1 - - [25/4/2023 23:17:52] "GET /assets/img/site.webmanifest HTTP/1.1" 200 - 127.0.0.1 - - [25/Apr/2023 23:17:52] "GET /assets/img/favicon-32x32.png HTTP/1.1" 200 -- 127.0.0.1 - - [25/4/2023 23:18:05] "GET /assets/img/user.png HTTP/1.1" 200 - 127.0.0.1 - - [25/4/2023 23:18:06] "GET /assets/img/gpt.png HTTP/1.1" 200 -- List index out of range None List index out of range None List index out of range None List index out of range None List index out of range None List index out of range None List index out of range None List index out of range None 127.0.0.1 - - [25/4/2023 23:18:08] "POST /backend-api/v2/conversation HTTP/1.1" 200 -

takahashigy avatar Apr 25 '23 15:04 takahashigy

I tried changing to a different browser, and what happens now is that after I submit the issue, it never responds, and this is what happens with my local code: 127.0.0.1 - - [25/4/2023 23:17:52] "GET /assets/img/site.webmanifest HTTP/1.1" 200 - 127.0.0.1 - - [25/Apr/2023 23:17:52] "GET /assets/img/favicon-32x32.png HTTP/1.1" 200 -- 127.0.0.1 - - [25/4/2023 23:18:05] "GET /assets/img/user.png HTTP/1.1" 200 - 127.0.0.1 - - [25/4/2023 23:18:06] "GET /assets/img/gpt.png HTTP/1.1" 200 -- List index out of range None List index out of range None List index out of range None List index out of range None List index out of range None List index out of range None List index out of range None List index out of range None 127.0.0.1 - - [25/4/2023 23:18:08] "POST /backend-api/v2/conversation HTTP/1.1" 200 -

same issue

infinit-X avatar Apr 25 '23 17:04 infinit-X

same

Nixh5 avatar Apr 25 '23 19:04 Nixh5

I have the same problem

merfan95 avatar Apr 25 '23 20:04 merfan95