Greasy Fork is available in English.

Hibernate Idle Tabs

If a tab is unused for a long time, it switches to a light holding page until the tab is focused again. This helps the browser to recover memory, and can speed up the re-opening of large sessions.

< 脚本Hibernate Idle Tabs的反馈

评价:一般 - 脚本能用,但还有一些问题

§
发表于:2019-08-12
编辑于:2019-08-12

base64 data uri [Privacy Matters]

why use an external page at all? Why not a data uri of a base64 single pixel png image?

data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%01%00%00%00%01%01%03%00%00%00%25%DBV%CA%00%00%00%03PLTE%FFM%00%5C58%7F%00%00%00%01tRNS%CC%D24V%FD%00%00%00%0AIDATx%9Ccb%00%00%00%06%00%0367%7C%A8%00%00%00%00IEND%AEB`%82

yup, feed that to your location bar to have firefox render a single pixel orange image at 80% opactity. I am not a fan of [hard G] GIF images.

§
发表于:2019-08-12

^ feel that == feeD that

joeytwiddle作者
§
发表于:2020-04-19

Originally I used this script with a domain I trusted.

But I stopped using this script and started using The Great Suspender extension.

Then I stopped using that and I started using earlyoom to kill tabs only when I ran out of memory.

So I don't think I'll work on this script any more!

But if you can add the image approach as a fork, I'd be happy to merge it!

https://github.com/joeytwiddle/code/tree/master/other/gm_scripts/hibernate_idle_tabs

发表回复

登录以发表回复。