{"id":15979006,"url":"https://github.com/phrozenbyte/jquery-xpath","last_synced_at":"2026-04-29T10:02:19.967Z","repository":{"id":152899992,"uuid":"11936738","full_name":"PhrozenByte/jQuery-XPath","owner":"PhrozenByte","description":"Determine the XPath of an element with jQuery","archived":false,"fork":false,"pushed_at":"2013-08-12T21:09:57.000Z","size":126,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-21T03:48:11.890Z","etag":null,"topics":["javascript","jquery","jquery-plugin","jquery-xpath","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PhrozenByte.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}},"created_at":"2013-08-06T23:12:22.000Z","updated_at":"2024-06-13T06:09:05.000Z","dependencies_parsed_at":"2023-04-13T20:26:52.334Z","dependency_job_id":null,"html_url":"https://github.com/PhrozenByte/jQuery-XPath","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/PhrozenByte/jQuery-XPath","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhrozenByte%2FjQuery-XPath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhrozenByte%2FjQuery-XPath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhrozenByte%2FjQuery-XPath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhrozenByte%2FjQuery-XPath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhrozenByte","download_url":"https://codeload.github.com/PhrozenByte/jQuery-XPath/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhrozenByte%2FjQuery-XPath/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32420356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["javascript","jquery","jquery-plugin","jquery-xpath","xpath"],"created_at":"2024-10-07T23:40:38.719Z","updated_at":"2026-04-29T10:02:19.933Z","avatar_url":"https://github.com/PhrozenByte.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jQuery-XPath 1.1\n================\nDetermine the XPath of an element with jQuery.\n\nUsage\n-----\nJust download the sourcecode, upload the file to your webspace and load it. Obviously [jQuery](http://jquery.com/) is required.\n```html\n\u003cscript type=\"text/javascript\" src=\"js/jquery.xpath.js\"\u003e\u003c/script\u003e\n```\n\nTo get the XPath of an element simply call ```.xpath()```. Please note that only the first element in jQuerys list of matched elements is considered. If the given element has an ```id``` attribute, the XPath plugin will use it.\n```javascript\n$('form input[type=email]').xpath();\n// Returns: //*[@id=\"email\"]\n```\nIf you don't want the ```id``` attribute to be considered, pass ```true``` as the first parameter.\n```javascript\n$('form input[type=email]').xpath(true);\n// Returns: /html/body/section/form/div[2]/div/input\n```\n\nCopyright \u0026 License\n-------------------\nThe functionality of jQuery-XPath is pretty much an abstract of [Firebug](https://getfirebug.com/)s [extension/content/firebug/lib/xpath.js](https://github.com/firebug/firebug/blob/firebug-1.11.1/extension/content/firebug/lib/xpath.js) (Version 1.11.1). Copyright remains by the [Mozilla Foundation](https://www.mozilla.org/en-US/foundation/). Accordingly this plugin is licensed under 3-clause BSD. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphrozenbyte%2Fjquery-xpath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphrozenbyte%2Fjquery-xpath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphrozenbyte%2Fjquery-xpath/lists"}