Auto Refresh and Slow load 作者: Shankar
Auto-refresh any tab on a timer with a refresh limit, and slow its downloads to a speed you pick. Great for testing.
扩展元数据
屏幕截图
关于此扩展
Auto Refresh & Slow Load gives every tab two tools: a reload timer and a download speed limit.
Auto refresh
• Reload the tab every N seconds, from 1 second up to 24 hours
• Set a limit, such as "stop after 10 refreshes", or leave it unlimited
• One-click on/off switch with a live countdown
• The toolbar badge shows how many refreshes are left
Slow load
• Cap a tab's download speed with a draggable slider, from 5 KB/s to 5 MB/s
• Switch it on and off any time
• See how a page behaves on a slow connection without changing your real network
Handy for
• Developers and QA testing loading states, lazy loading and slow-network behaviour
• Watching a page for changes, such as stock, tickets or status pages
• Reproducing "it's slow for some users" bugs
Good to know
• Settings are per tab, and other tabs are never affected
• Slow load applies only to the tab you switch it on for
• In Chrome, slow load uses the browser's debugging feature, so Chrome shows a "started debugging this browser" bar while it's on
• Auto refresh doesn't run on browser-internal pages such as chrome:// or about:
• Tabs open before you installed the extension need one manual reload
Privacy
No accounts, no analytics and no data collection. Settings stay in your browser and are cleared when you close it. Nothing is sent anywhere.
Auto refresh
• Reload the tab every N seconds, from 1 second up to 24 hours
• Set a limit, such as "stop after 10 refreshes", or leave it unlimited
• One-click on/off switch with a live countdown
• The toolbar badge shows how many refreshes are left
Slow load
• Cap a tab's download speed with a draggable slider, from 5 KB/s to 5 MB/s
• Switch it on and off any time
• See how a page behaves on a slow connection without changing your real network
Handy for
• Developers and QA testing loading states, lazy loading and slow-network behaviour
• Watching a page for changes, such as stock, tickets or status pages
• Reproducing "it's slow for some users" bugs
Good to know
• Settings are per tab, and other tabs are never affected
• Slow load applies only to the tab you switch it on for
• In Chrome, slow load uses the browser's debugging feature, so Chrome shows a "started debugging this browser" bar while it's on
• Auto refresh doesn't run on browser-internal pages such as chrome:// or about:
• Tabs open before you installed the extension need one manual reload
Privacy
No accounts, no analytics and no data collection. Settings stay in your browser and are cleared when you close it. Nothing is sent anywhere.
评分 0(1 位用户)
权限与数据
更多信息
Per-tab tool with two features: (1) reload the tab on a user-set timer, optionally stopping after N refreshes; (2) "Slow load", which caps the tab's download speed to a user-chosen KB/s.
Source / build
The code is plain, hand-written ES modules and is not minified, bundled or obfuscated. The submitted package is the src/ folder with the manifest generated by scripts/build.mjs (it merges manifest.json and manifest.firefox.json). No external libraries or network calls are used.
Permissions and why
- webRequest, webRequestBlocking, webRequestFilterResponse, and host permission <all_urls>: used only in lib/throttle-firefox.js. When the user switches on Slow load for a tab, webRequest.filterResponseData is attached to that tab's responses and the bytes are released at the chosen rate (a token-bucket limiter in lib/throttle-queue.js). Data is passed through unchanged, only delayed. Requests from tabs where Slow load is off are ignored.
- storage: storage.session holds per-tab settings (on/off, interval, count, speed) until the browser closes. Nothing is written to disk.
- Content script on <all_urls> (content.js): runs the refresh timer and calls location.reload(). It never reads or modifies page content. It only exchanges messages with the background script.
Data collection
None. There are no analytics or accounts, and no data leaves the browser. The manifest declares data_collection_permissions: required: ["none"].
How to test
1. Open any http(s) page, click the toolbar icon.
2. Auto refresh: set "Every" to 5 sec, switch on. The page reloads every ~5 s. Set "Stop after" to 3 and it stops after 3 refreshes.
3. Slow load: switch on, set the slider to 50 KB/s, reload. The page's downloads slow to about that rate. Switch off and loads return to normal.
4. Settings are per tab, so other tabs are unaffected.