rNeomy / auto-tab-discard

Use native tab discarding method to automatically reduce memory usage of inactive tabs
https://webextension.org/listing/tab-discard.html
Mozilla Public License 2.0
888 stars 76 forks source link

don't snoze file:// URIs #304

Closed dchmelik closed 5 months ago

dchmelik commented 1 year ago

I had to stop using because snoozes my static file:///home/user/file URIs but there's zero reason to ever do so.

rNeomy commented 1 year ago

On what browser?

dchmelik commented 1 year ago

File:// is standard on all; happens to me on Firefox, Chrome/Edge but presumably all.

rNeomy commented 1 year ago

I dropped a file in my browser, but it does not get discarded automatically. I am not sure how it gets discarded for you since the extension does not even have permission to interact with local files. Based on the permissions, it only can see *://*/* pages.

https://github.com/rNeomy/auto-tab-discard/blob/master/v3/manifest.json#L28

trlkly commented 1 year ago

Is it possible that Chrome itself is discarding the file:// URL, and not this extension? Does it get discarded if the extension is disabled?

merlinpimpim commented 5 months ago

I'm taking the liberty of commenting on this "old" ticket since it's still open and since I encountered the problem myself today and found a solution. It wasn't Auto Tab Discard that was suspending my "file:///" tabs, but Chrome itself !

As a result, setting an exception as shown in the screenshot solved the problem.

image