GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - prettydiff/semanticText: Copy paste tool that analyzes the semantic description of all text in the DOM

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
readme.md
readme.md
 
 
semanticText.js
semanticText.js
 
 

Repository files navigation

semanticText

How to run

Copy the contents of semanticText.js and paste into a browser console. Run the code.

What it does

Finds all text nodes that are not purely white space and evaluates them against their parent node's node name. In the case where a parent node is a span, the span's parent node is evaluated. If that node is a span, its parent node is evaluated.

  • A first list provides text content that is poorly described by its HTML parent node.
  • A second list provides text content that is well described by an inline element but poorly described there after.
  • A third list provides all text content in the order in which it occurs in the DOM so that text can read according to its order in the code.

Dependency

This tool uses and includes getNodesByType to walk the DOM

License

MIT License

About

Copy paste tool that analyzes the semantic description of all text in the DOM

Resources

Readme
MIT license
Activity

Stars

29 stars

Watchers

1 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.