gergelyszabo94 / csgo-trader-extension

CSGO Trader Browser Extension to help with CS:GO item trading, marketing and much more
https://csgotrader.app
GNU General Public License v3.0
217 stars 42 forks source link

Extension randomly opens profile link #469

Closed Art-em1s closed 1 year ago

Art-em1s commented 1 year ago

Haven't been able to determine at what duration this happens at, but at random time periods the extension seems to open a new tab to my profile without any interaction/input from myself.

gergelyszabo94 commented 1 year ago

This is part of the mechanism of checking when the user is logged out that I added. A month or two ago something has changed on Steam's end which caused false positives, notications being sent out when you had "Notify about being logged out of Steam" or "Notify about being logged out of Steam on Discord" enabled. I adjusted the code so it only notifies on the second 401, on the first one it opens your profile (to get a new session? I am not sure what the mechanism is but it worked on my end).

It sounds like this feature misbehaving for you. Just to clarify, do you have any of those option enabled? How often does it happen? Are you logged into Steam when your profile opens? And most importantly does the page stay open for you? (it supposed to close right away).

Art-em1s commented 1 year ago

Looks like I did have it on: image

Turned it off now.

Browser tab never closed for me, reported happening to other traders too (that I asked).

In my case using browser Version 1.45.131 Chromium: 107.0.5304.110 (Official Build) (64-bit)

gergelyszabo94 commented 1 year ago

Thanks, I will check why that could be the case.