Skip to main content
100%

读取TXT文件

✓ Published0🌍 Public
RRoey-Wu
Last edited Nov 22, 2022
Created on Nov 13, 2022
Forked from HTML Starter

This example reads a remote TXT file containing Spotify track data and displays its contents as plain text in the browser. It uses an ActiveXObject with the Scripting.FileSystemObject to open the file from a GitHub raw URL, then reads each line, splits it by spaces, and inserts the content into the page via innerHTML. The visualization is minimal, showing only the raw text without any charting or interactive elements, relying on JavaScript’s FileSystemObject API for file access.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes