capture response bodies?

579 views
Skip to first unread message

bernd3

unread,
Feb 18, 2023, 2:55:14 PM2/18/23
to Chromium Extensions
Hi, I want to write a chrome extension that on a certain sites captures all http response bodies and saves them to a file.

chatgpt told me to use the qebrequest thing but sadly webrequest doesnt let you capture no response bodies.
is there another way to get the response bodies for any request that might be done on that certain site?

even googling I couldnt really find any real solution :-(

Robbi

unread,
Feb 18, 2023, 4:25:50 PM2/18/23
to Chromium Extensions, bernd3
ChatGpt? 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣

Simeon Velichkov

unread,
Feb 19, 2023, 4:37:24 AM2/19/23
to Chromium Extensions, Robbi, bernd3
I'm surprised that ChatGpt didn't write the extension for you. Maybe you should try asking it?

wOxxOm

unread,
Feb 19, 2023, 9:06:15 AM2/19/23
to Chromium Extensions, bernd3

bernd3

unread,
Feb 20, 2023, 4:18:54 PM2/20/23
to Chromium Extensions, wOxxOm, bernd3
chatgpt arent exactly helpful when it tells you outtdated stuff or manifest2 stuff.
or gives you a code, you tell it to add a function and it just completely rewrites the whole previous part with different functions, apis and such, so you gotata tell the fcker to use the code he already had. which he doesnt listen to really.

bernd3

unread,
Feb 20, 2023, 4:22:18 PM2/20/23
to Chromium Extensions, bernd3, wOxxOm
as said, chatgpt jsut wrote some code with webrequest
with ["responseheader"]
at the end and was like "Yeah, this code will capture repsonse bodies.
Being told that it is bullshitting hard, it changed it to ["responsebody"].

Upon being told that webrequest doesnt allow responsebody there (read the documentation) it's agreeing and reverts to responseheaders -.-
Reply all
Reply to author
Forward
0 new messages