rNeomy / tab-suspender

Automatically suspend (hibernate) inactive tabs to free up system resources; This project is discontinued in favor of https://add0n.com/tab-discard.html
http://add0n.com/tab-suspender.html
Mozilla Public License 2.0
112 stars 32 forks source link

Tabsuspender creates invalid URL on suspension in firefox #93

Open DenSA-Inc opened 6 years ago

DenSA-Inc commented 6 years ago

When a certain URL in my browser gets suspended firefox will display a "not found"-page instead of the expected TabSuspender-page. The URL of the site is:

https://mydomain/nextcloud/apps/deck/#!/board/1/

the title:

Tasks | Deck - Nextcloud

Trying to suspend the site will not even change the URL (in the URL-bar), instead it gives me an error-message "Could not find ...". That URL is:

moz-extension://db44bbc1-e856-40cd-8253-28731d280712/data/suspend/index.html?title=Tasks | Deck - Nextcloud&url=https://mydomain/nextcloud/apps/deck/#!/board/1/&favicon=https://mydomain/nextcloud/custom_apps/deck/img/favicon.ico

Other URLs, some with the same domain name and nearly the same path, get suspended just fine. The only difference between those and the faulty URL is the "#!" and the title. So I'm guessing this is some encoding issue.

I'm using firefox 58 and a bunch of addons, if needed I'll add them to this issue.

sereby commented 6 years ago

I'm having a similar issue. For example, right now I have 14 tabs open in Firefox Quantum. The expected behavior of the addon is that clicking inside a suspended tab would load the live version of the URL. However, I've discovered that some suspended tabs work properly, but others (and this seems to be completely random) just bring up a white page with something like this:

jiahaog/nativefier: Make any web page a desktop application moz-extension://e56b4f4a-f435-40f3-8342-2222e61c3e7b/data/suspend/index.html?title=jiahaog/nativefier%3A%20Make%20any%20web%20page%20a%20desktop%20application&url=https%3A//github.com/jiahaog/nativefier&favicon=https%3A//assets-cdn.github.com/favicon.ico

I've attempted to run FF Quantum without any other addons except Tabsuspender, but the same thing happens: some suspended tabs work as you would expect, but others are a dead-end.

decadent commented 5 years ago

Hitting the same error on a legitimate web site: https://shortcuts.fun

Firefox 68.

Specifically, the browser displays a page with the message “Hmm. That address doesn’t look right” and the url ‘about:blank’.