doc: add note for how to turn on fetch streaming in firfox

This commit is contained in:
Haishan 2018-10-21 16:01:50 +08:00
parent 2903e444bb
commit 10b80254dd

View file

@ -1,3 +1,11 @@
# yacd # yacd
> Yet Another Clash Dashboard > Yet Another Clash Dashboard
Note for Firefox user:
**yacd** is using the [Fetch (Web) API][fetch-api] to stream chunked API response from Clash to draw the traffic chart. But currently the streaming feature in Firefox needs to be turned on manually. Here is how to:
Visit `about:config`, search for `dom.streams.enabled` and `javascript.options.streams`, double click those item to turn them on.
[fetch-api]: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API