Greasy Fork

来自缓存

Amazon Page Smoother

Improves performance on Amazon pages by throttling background tasks and pausing off-screen iframe rendering.

当前为 2025-07-07 提交的版本,查看 最新版本

作者
VeleSila
评分
0 0 0
版本
0.0.1
创建于
2025-07-07
更新于
2025-07-07
大小
4.7 KB
许可证
Unlicense
适用于

Inspired by the Amazon CPU Tamer written by knoa at: https://greasyfork.org/en/scripts/415464-amazon-cpu-tamer

The author stop supporting it since 2020. Thus, I asked Gemini 2.5 Pro to write a brand new script based on the design of current Amazon webpage. However, I'm not capable of reviewing the code. Please help if you have the expertise.

What this script does:
Making Amazon website run faster and smoother by:

1. Timer Throttling
It bundles the repetitive JavaScript timers into a single, efficient loop. This drastically cuts down on unnecessary processing, particularly when you have Amazon open in a background tab.

2. Smart Iframe Rendering
It automatically pauses the rendering of parts of the page (like advertisements or review widgets in iframes) when they are scrolled off-screen. As soon as you scroll them back into view, they instantly resume. This frees up your computer's resources to focus only on what you can see.