diff --git a/src/tools/url-redirection-checker/index.ts b/src/tools/url-redirection-checker/index.ts new file mode 100644 index 00000000..0fff92e3 --- /dev/null +++ b/src/tools/url-redirection-checker/index.ts @@ -0,0 +1,14 @@ +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'URL Redirection Checker', + path: '/url-redirection-checker', + description: 'Check if a URL redirects to another URL.', + keywords: ['url', 'redirection', 'checker'], + component: () => import('./url-redirection-checker.vue'), + icon: defineAsyncComponent(() => import('@vicons/tabler/es/Direction')), + createdAt: new Date('2026-09-06'), + category: 'Network', + externAccessDescription: + 'This tool calls your Self Host Network Utilities Service to perform URL redirection checking.', +}); diff --git a/src/tools/url-redirection-checker/url-redirection-checker.vue b/src/tools/url-redirection-checker/url-redirection-checker.vue new file mode 100644 index 00000000..04738af3 --- /dev/null +++ b/src/tools/url-redirection-checker/url-redirection-checker.vue @@ -0,0 +1,237 @@ + + + + + + + ⚠ {{ t('tools.external-self-hosted-required') }} ⚠ - + {{ t('tools.https-tester.texts.tag-network-utilities-service-configuration-self-hosted') }} + + + + + + + + + {{ t('tools.https-tester.texts.tag-you-must-self-host-network-utilities-service-see') }} + {{ t('tools.https-tester.texts.tag-network-utilities-service-docker-install') }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Inspect Redirect Chain + + + + + {{ error }} + + + + + + {{ w }} + + + + + + + + + + + + + + # + URL + Status + Duration + Redirect + Location + + + + + + {{ hop.index }} + {{ hop.url }} + + + {{ hop.status_code }} + + + {{ hop.duration_ms }} ms + {{ hop.is_redirect ? 'Yes' : 'No' }} + {{ hop.location || '-' }} + + + + + Headers & Body Preview + + + - + + Truncated + + + + + + + + + +