SVG Comment Link Redirector

This service fetches an SVG file from a given URL, parses it to find the first https://... link embedded within an HTML/XML comment (like <!-- https://example.com -->), and then redirects your browser to that link.

How to Use

Append the full, URL-encoded URL of the target SVG file to this service's URL using the url query parameter.

Example:

If your SVG is at https://raw.githubusercontent.com/user/repo/branch/path/to/your_file.svg, you would use:

/redirect?url="https://raw.githubusercontent.com/user/repo/branch/path/to/your_file.svg"

(Make sure the SVG URL is properly encoded if it contains special characters like & or #, although browsers often handle this automatically).

Note: The target SVG must be publicly accessible over the internet for this service to fetch it.