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

Can't redirect to a custom local html file ? #65

Closed vmonteco closed 6 months ago

vmonteco commented 6 months ago

I tried entering a file:///C:/Users/username/Documents/Back_to_work.html-like URL under the "Enter the fully specified URL of the page to show instead of these blocked sites:" field but it only seems to break the blocking part of the extension (can access pages I shouldn't have access to).

I ensured that the said URL was accessible by entering it in my browser.

Is there something different I could try?

proginosko commented 6 months ago

Go to the Extensions page in Chrome, then to the Details page for LeechBlock, and activate "Allow access to file URLs."

vmonteco commented 6 months ago

Thank you @proginosko. Worked like a charm!