[Python] Where does Chrome extension saves inputs of the user?

Discussão em 'Python' iniciado por Stack, Agosto 31, 2025.

  1. Stack

    Stack Membro Participativo

    I am using Seleniumbase UC mode to make a undetected automation. I used multiple ways of hiding my bot and one of them is HTTP headers. I couldn't find any solution for it that could be integrated in seleniumbase so I used extension for that: https://mybrowseraddon.com/modify-header-value.html

    Extension UI

    Now I can change the header value trough extension and it works with my bot, but for every use, I will have to rotate the user header (sometimes I will need windows while other times I will need Android platform). Now the "Simple" solution is to just edit those values with my bot manually (before bot enter the page, it will first go to the extension UI and manually import the headers). This solution is not the best but only one I have.

    I want to know if I can somehow change the data in the plugins file so the right HTTP headers are activated at the beginning right when the browsers is activated. For that I need to find where that data is stored but I can't find it. It is in the cloud. Can I even change like that (check at the bottom of image to see the inputs).

    I found the path to the extension (it is copied in my path of the script) and there are these files.

    Extension directory

    01/01/1980 02:00 AM 170 background.js
    04/07/2024 01:00 PM <DIR> data
    04/07/2024 01:00 PM <DIR> lib
    04/07/2024 12:52 PM 1,629 manifest.json


    Data directory:

    04/07/2024 01:00 PM <DIR> icons
    04/07/2024 01:00 PM <DIR> options
    04/07/2024 01:00 PM <DIR> popup


    Lib directory:

    01/01/1980 02:00 AM 6,563 chrome.js
    01/01/1980 02:00 AM 3,592 common.js
    01/01/1980 02:00 AM 611 config.js
    01/01/1980 02:00 AM 7,002 netrequest.js
    01/01/1980 02:00 AM 3,348 runtime.js


    Can't find anything resembling the data that I inouted through the extension.

    Continue reading...

Compartilhe esta Página