Skip to content

Azkae/yank-it

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yank It

A small Chrome & Firefox extension to copy the path to a DOM element. For example:

[Page] section.page > div.taskList > [Task] div.taskRow > p.taskSummary

Useful for pasting to an LLM.

Install

Chrome

  1. Open chrome://extensions
  2. Enable Developer mode
  3. Click Load unpacked
  4. Select the project directory

Ignore the warning about background.scripts; This is required to support Firefox.

Firefox

  1. Open about:debugging
  2. Click This Firefox
  3. Click Load Temporary Add-on...
  4. Select manifest.json

How to use

  1. Click the extension icon → hover over elements
  2. Click an element → path copied to clipboard

Security

IMO, Chrome extensions are a security nightmare. This extension's code is very small, in pure JS and with no dependencies. You can easily verify the code.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors