xtekky / chatgpt-clone

ChatGPT interface with better UI
https://g4f.ai
GNU General Public License v3.0
3.44k stars 1.03k forks source link

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

Open takahashigy opened 1 year ago

takahashigy commented 1 year ago

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

xtekky commented 1 year ago

do you mind trying to use another browser ?

takahashigy commented 1 year ago

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 -

infinit-X commented 1 year ago

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

Nixh5 commented 1 year ago

same

merfan95 commented 1 year ago

I have the same problem