reload-the-tab-when-error ์ ์์: vacantthinker
if an error reload the tab. eg: statusCode: 5xx => reload the tab.
ํ์ฅ ๋ฉํ ๋ฐ์ดํฐ
์ ๋ณด
- introduce
- if an error reload the tab. eg: statusCode: 5xx => reload the tab. Server error responses
- how to use it?
- click icon
- [auto] reload the tab
- [auto] if tab get 5xx error, reload again. util normaly load the page.
- [auto] if the tab removed, also remove the detector.
- detect which error ?
- // Connection & Protocol Failures
"NS_ERROR_NET_RESET",
"NS_ERROR_NET_TIMEOUT",
"NS_ERROR_NET_INTERRUPT",
"NS_ERROR_CONNECTION_REFUSED",
"NS_ERROR_UNKNOWN_PROXY_HOST",
// DNS & Addressing Failures
"NS_ERROR_UNKNOWN_HOST",
"NS_ERROR_UNKNOWN_PROTOCOL",
"NS_ERROR_MALFORMED_URI",
// Security & Encryption Failures
"NS_ERROR_NET_INADEQUATE_SECURITY",
"NS_ERROR_NET_SSL_HANDSHAKE_FAILED",
"SSL_ERROR_BAD_CERT_DOMAIN",
"SEC_ERROR_EXPIRED_CERTIFICATE",
"MOZILLA_PKIX_ERROR_SELF_SIGNED_CERT",
// Client State Failures
"NS_ERROR_OFFLINE",
"NS_BINDING_ABORTED",
"NS_ERROR_FILE_CORRUPTED",
"NS_ERROR_FAILURE"
- // Connection & Protocol Failures
0๋ช
์ด 0์ ์ผ๋ก ํ๊ฐํจ
๊ถํ ๋ฐ ๋ฐ์ดํฐ
ํ์ ๊ถํ:
- ์๋ฆผ ํ์
- ๋ธ๋ผ์ฐ์ ํญ์ ์ ๊ทผ
- ํ์ ์ค ๋ธ๋ผ์ฐ์ ํ๋์ ์ ๊ทผ
- ๋ชจ๋ ์น์ฌ์ดํธ์์ ์ฌ์ฉ์์ ๋ฐ์ดํฐ์ ์ ๊ทผ
๋ฐ์ดํฐ ์์ง:
- ๊ฐ๋ฐ์๊ฐ ์ด ํ์ฅ ๊ธฐ๋ฅ์ ๋ฐ์ดํฐ ์์ง์ด ํ์ํ์ง ์๋ค๊ณ ํฉ๋๋ค.
์ถ๊ฐ ์ ๋ณด
- ๋ถ๊ฐ ๊ธฐ๋ฅ ๋งํฌ
- ๋ฒ์
- 2026.5.23.2
- ํฌ๊ธฐ
- 25.3 KB
- ๋ง์ง๋ง ์ ๋ฐ์ดํธ
- 3์ผ ์ (2026๋ 5์ 23์ผ)
- ๊ด๋ จ ์นดํ ๊ณ ๋ฆฌ
- ๋ผ์ด์ ์ค
- GNU Affero General Public License v3.0 ์ ์ฉ
- ๋ฒ์ ๋ชฉ๋ก
- ๋ชจ์์ง์ ์ถ๊ฐ