{"id":44537595,"url":"https://github.com/jamesbechet/element-picker","last_synced_at":"2026-02-13T18:51:58.095Z","repository":{"id":57222135,"uuid":"109867254","full_name":"jamesbechet/element-picker","owner":"jamesbechet","description":"A JavaScript library that allows you to point and click to get the hovered element.","archived":false,"fork":false,"pushed_at":"2025-12-21T20:03:55.000Z","size":63,"stargazers_count":21,"open_issues_count":0,"forks_count":6,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-23T08:10:34.519Z","etag":null,"topics":["browser","dom","dom-manipulation","element","javascript","javascript-library","picker"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamesbechet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-07T17:16:55.000Z","updated_at":"2025-12-21T20:03:58.000Z","dependencies_parsed_at":"2022-09-11T02:40:26.370Z","dependency_job_id":null,"html_url":"https://github.com/jamesbechet/element-picker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamesbechet/element-picker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesbechet%2Felement-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesbechet%2Felement-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesbechet%2Felement-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesbechet%2Felement-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesbechet","download_url":"https://codeload.github.com/jamesbechet/element-picker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesbechet%2Felement-picker/sbom","scorecard":{"id":503637,"data":{"date":"2025-08-11","repo":{"name":"github.com/jamesbechet/element-picker","commit":"a5ef8ec85d5fe768f4a335af9f7c670b827ab814"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":2,"reason":"Found 1/4 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T22:41:15.633Z","repository_id":57222135,"created_at":"2025-08-19T22:41:15.633Z","updated_at":"2025-08-19T22:41:15.633Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29414285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["browser","dom","dom-manipulation","element","javascript","javascript-library","picker"],"created_at":"2026-02-13T18:51:57.242Z","updated_at":"2026-02-13T18:51:58.083Z","avatar_url":"https://github.com/jamesbechet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Element Picker – JavaScript HTML Element Picker Library\n\n![CI](https://github.com/jamesbechet/element-picker/actions/workflows/ci.yml/badge.svg)\n[![codecov](https://codecov.io/gh/jamesbechet/element-picker/branch/master/graph/badge.svg)](https://codecov.io/gh/jamesbechet/element-picker)\n[![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url]\n\n[npm-image]: https://img.shields.io/npm/v/element-picker.svg\n[npm-url]: https://npmjs.org/package/element-picker\n[downloads-image]: https://img.shields.io/npm/dm/element-picker.svg\n[downloads-url]: https://npmjs.org/package/element-picker\n\nA lightweight JavaScript element picker library that lets developers visually select, inspect, and retrieve any hovered HTML element on a web page using point-and-click interaction. Ideal for building developer tools, browser extensions, page builders, QA tools, visual editors, and debugging utilities.\n\n## What is Element Picker?\n\nElement Picker is a vanilla JavaScript utility that allows users to hover over elements on a page, visually highlight them, and select a target element via mouse click. Once selected, the library returns the underlying DOM element for inspection or further processing.\n\nCommon use cases include:\n- HTML element inspection tools\n- No-code and low-code editors\n- Web page builders\n- Visual QA and testing tools\n- Browser extensions\n- Debugging and developer utilities\n\n## How This Element Picker Differs From Browser DevTools and uBlock\n\nUnlike browser developer tools or ad-blocker element pickers, this library is designed to be embedded directly into your own web applications.\n\n- No browser extension required\n- Works inside any JavaScript application\n- Fully customizable hover styles\n- Returns raw DOM elements for programmatic use\n- Suitable for production tools, not just inspection\n\n## Install\n\n`npm install --save element-picker`\n\n## Usage – Pick and Retrieve Any HTML Element\n\nThe element picker initializes a hover listener on the page. When the user clicks an element, the selected DOM node is returned via the onClick callback.\n\n```js\nvar elementPicker = require('element-picker')\n\nfunction onClick(element) {\n  console.log(element)\n}\n\nelementPicker.init({ onClick })\n```\n\n### Options\n\n#### `backgroundColor` `{String}` `optional` `default='rgba(0, 0, 0, 0.1)'`\n\nThe background color used when an element is being hovered.\n\n## Keywords\n\nJavaScript element picker, HTML element picker, DOM picker, hover element selector, visual element selector, JavaScript DOM inspector, UI element picker, page element selector\n\n## License\n\nMIT. Copyright (C) James Bechet (https://jamesbechet.github.io/jamesbechet/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesbechet%2Felement-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesbechet%2Felement-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesbechet%2Felement-picker/lists"}