google / tamperchrome

Tamper Dev is an extension that allows you to intercept and edit HTTP/HTTPS requests and responses as they happen without the need of a proxy. Works across all operating systems (including Chrome OS).
https://tamper.dev
Apache License 2.0
4.18k stars 219 forks source link

Tamper Chrome v2 close after reload #210

Open sergiohgz opened 3 years ago

sergiohgz commented 3 years ago

Hi there,

I'm new with this extension and I'm trying to intercept requests done when loading a window. After loading page, when F5 (or mouse reload) is done, extension self close, without capturing anything.

Looking at the video provided in your webpage, this is not the behaviour desired, so I don't know if I'm doing something wrong or if Chrome have made any config changes (90.0.4430.93 - Build oficial - Windows 64 bits).

Thanks

sirdarckcat commented 3 years ago

Can you press the reload button inside the extension? That should work (it's in the tests).

I can look into it closing in normal reload, as that also shouldn't happen.

On Mon, 10 May 2021, 13:35 Sergio Herrera, @.***> wrote:

Hi there,

I'm new with this extension and I'm trying to intercept requests done when loading a window. After loading page, when F5 (or mouse reload) is done, extension self close, without capturing anything.

Looking at the video provided in your webpage, this is not the behaviour desired, so I don't know if I'm doing something wrong or if Chrome have made any config changes (90.0.4430.93 - Build oficial - Windows 64 bits).

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/google/tamperchrome/issues/210, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAICQLRXYA5SMUY63QOHJ3TM7AILANCNFSM44Q635CQ .

sergiohgz commented 3 years ago

I cannot see any reload button inside extension. image

As extra information, I installed last version from Chrome Web Store (2.0.9). Also, the tutorial shown in webpage talks about normal browser reload, not extension reload 😓

sirdarckcat commented 3 years ago

Oh, yes sorry. The button is not released on the web store yet.

I'll take a look

sirdarckcat commented 3 years ago

I think I was able to reproduce. Are you reloading the window with TamperDev? Or the main window

sergiohgz commented 3 years ago

I'm reloading window, TamperDev doesn't show any button to reload and, if I have TamperDev focused and press F5 to reload, TamperDev window closes automatically

sirdarckcat commented 3 years ago

which window are you reloading?

the window that tamper dev opens, or the window of the website you are using

sergiohgz commented 3 years ago

If I reload on TamperDev window, it closes automatically without reloading browser window.

If I reload on browser window, it also closes TamperDev extension and lost all work done with it

sirdarckcat commented 3 years ago

oh ok. I can't reproduce reloading the browser window, but I'll keep looking into it. =/

dflanagan commented 3 years ago

@sirdarckcat - I have this issue as well, but first: cool extension!! Below are the steps to reproduce using Chrome 91.0.4472.77 on Mac OS X 11.4. There is a 34 second video demonstrating the closing of the extension behavior at the bottom of this comment.

  1. Open Tamper Dev extension, and enable intercept immediately. Note that the extension closes if you refresh page from Chrome initially with intercept not enabled; this is not demonstrated in video.
  2. Refresh page in Chrome - intercepts successfully
  3. Without changing any headers, send request and then send response
  4. Tamper Dev closes, and then bar at top of Chrome closes

See video, uploaded 06/14/2021 (should be good for a year or so): https://www.screencast.com/t/9URPKGw0e

same behavior for POST requests

sirdarckcat commented 3 years ago

Awesome! Could you please check the console logs? On chrome://extensions

Also, could you try on a "clean" profile? Without other extensions