{"id":19381274,"url":"https://github.com/probably-not/getxpathforuserselection","last_synced_at":"2026-06-08T23:02:08.895Z","repository":{"id":143658272,"uuid":"129236378","full_name":"probably-not/getXpathForUserSelection","owner":"probably-not","description":"Useful functions for getting the XPath of user selected data on a webpage.","archived":false,"fork":false,"pushed_at":"2018-04-12T11:07:33.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T16:53:23.289Z","etag":null,"topics":["javascript","xpath"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/probably-not.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-12T10:48:44.000Z","updated_at":"2021-02-25T09:48:29.000Z","dependencies_parsed_at":"2023-04-12T22:47:59.187Z","dependency_job_id":null,"html_url":"https://github.com/probably-not/getXpathForUserSelection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/probably-not/getXpathForUserSelection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probably-not%2FgetXpathForUserSelection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probably-not%2FgetXpathForUserSelection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probably-not%2FgetXpathForUserSelection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probably-not%2FgetXpathForUserSelection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/probably-not","download_url":"https://codeload.github.com/probably-not/getXpathForUserSelection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probably-not%2FgetXpathForUserSelection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34083848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["javascript","xpath"],"created_at":"2024-11-10T09:16:29.514Z","updated_at":"2026-06-08T23:02:08.875Z","avatar_url":"https://github.com/probably-not.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# getXpathForUserSelection\nUseful functions for getting the XPath of user selected data on a webpage.\n\n## Usage\nAs long as you have imported this script into your page so that it is available in your code, the usage is as such:\n\n```\nvar xpath = getXPathForUserSelection()\n```\n\nThis will return the xpath query for the selected text.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobably-not%2Fgetxpathforuserselection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprobably-not%2Fgetxpathforuserselection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobably-not%2Fgetxpathforuserselection/lists"}