proginosko / LeechBlockNG-chrome

LeechBlock NG (Next Generation) for Chrome is a simple productivity tool designed to block those time-wasting sites that can suck the life out of your working day. All you need to do is specify which sites to block and when to block them.
https://www.proginosko.com/leechblock/
Mozilla Public License 2.0
72 stars 14 forks source link

No response from extension page when in incognito mode #23

Closed Nice44449 closed 3 years ago

Nice44449 commented 3 years ago

When I use LeechBlock in Chrome's incognito mode, by looking at the network tab of Chrome's dev tools, after the page's url gets set to the delayed extension page url, I get no response to the request for the delayed page. The result is that the page is blocked, but I only want it to be delayed. (If I manually change the url to end in blocked instead of delayed, I still get no response. Both pages seem to work correctly in non-incognito mode though.)

proginosko commented 3 years ago

Please provide a series of steps to help me reproduce the issue. (Also, let me know which OS you are using.) Thanks!

Nice44449 commented 3 years ago

I am using Windows 10.

Here is a series of steps to reproduce the issue:

  1. Open an incognito window and a non-incognito window
  2. In the non-incognito window, create a block set in "Options" for LeechBlock, and set it to use the (default) Delaying Page
  3. (In the non-incognito window) go to Chrome://extensions and activate "Allow in Incognito" for LeechBlock
  4. In the incognito window, go to a blocked page. I now see "Requests to the server have been blocked by an extension."
proginosko commented 3 years ago

Sorry for the delay in getting back to this. Thanks for providing these steps. I was able to reproduce the problem and it turned out to be a simple fix (a setting in the manifest file). It should work properly in incognito mode from version 1.0.11.1.