GlyphWiki SVG Downloader

A script to download SVG code from GlyphWiki editor

Author
soizo
Daily installs
0
Total installs
13
Ratings
0 0 0
Version
1.6.0
Created
2024-07-19
Updated
2025-05-12
Size
5.86 KB
License
Apache-2.0
Applies to

"GlyphWiki SVG Downloader" Script Usage Guide

Introduction

This script is designed to help users download SVG images from the GlyphWiki editor. It supports multiple languages and displays prompts based on the user's browser language.

The design of the script was guided and debugged by SoizoKtantas, and the code was written by ChatGPT.

Installation Steps

  1. Install the Tampermonkey Browser Extension

    • Open your browser and go to the Tampermonkey website.
    • Choose the version that matches your browser and install it.
  2. Install the Script

    • Open the script page on GreasyFork.
    • Click the "Install this script" button.
    • Follow the prompts to complete the installation.

Usage

  1. Open the GlyphWiki editor page: https://glyphwiki.org/kage-editor/
  2. After the page loads, a new "Save SVG Image" button will appear in the editor's preview area.
  3. Click the "Save SVG Image" button.
  4. Enter the desired file name in the prompt box and click OK.
  5. The image will be downloaded in SVG format with the entered file name.

Features

  • Automatic Language Detection: Displays prompts in the corresponding language based on the user's browser language, currently supporting English, Simplified Chinese, Traditional Chinese, and Japanese.
  • Save SVG Image: Clicking the new button automatically captures the SVG image from the editor, prompts the user to enter a file name, and then downloads the image.
  • Auto-Generated and Destroyed Download Links: The generated SVG image file uses a Blob object to create a temporary download link, which is destroyed after the download to ensure resource efficiency.

Notes

  • Element Loading Issues: The script relies on specific elements on the page, and if the page structure changes or doesn't load completely, the button may not display or work correctly.
  • File Name Validation: The entered file name cannot be empty; otherwise, it will prompt you to re-enter.
  • SVG Image Capture: If no SVG image is displayed in the editor, it will prompt that no image was found. Ensure the SVG image is correctly displayed in the editor.