{"id":16974636,"url":"https://github.com/alttiri/href-taker","last_synced_at":"2026-05-16T12:32:43.859Z","repository":{"id":97687685,"uuid":"604938210","full_name":"AlttiRi/href-taker","owner":"AlttiRi","description":"[userscript] Powerful popup to collect URLs from a web page.","archived":false,"fork":false,"pushed_at":"2025-11-18T18:43:37.000Z","size":328,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-11-18T20:12:21.992Z","etag":null,"topics":["urlparser","userscript"],"latest_commit_sha":null,"homepage":"https://alttiri.github.io/href-taker/demo","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlttiRi.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-02-22T05:02:03.000Z","updated_at":"2025-11-18T18:43:41.000Z","dependencies_parsed_at":"2024-01-02T01:12:06.835Z","dependency_job_id":"0dfae4a6-ef9c-47d1-b879-4391c6e305cb","html_url":"https://github.com/AlttiRi/href-taker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlttiRi/href-taker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlttiRi%2Fhref-taker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlttiRi%2Fhref-taker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlttiRi%2Fhref-taker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlttiRi%2Fhref-taker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlttiRi","download_url":"https://codeload.github.com/AlttiRi/href-taker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlttiRi%2Fhref-taker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33102801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"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":["urlparser","userscript"],"created_at":"2024-10-14T01:07:21.005Z","updated_at":"2026-05-16T12:32:43.854Z","avatar_url":"https://github.com/AlttiRi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [HrefTaker](https://github.com/AlttiRi/href-taker)\n\nThe userscript that adds a popup to collect links from a web page. It's mainly aimed for static websites.\n\nIt grabs the URLs from anchors' `href`s (`a` HTML tag) as well as from non-hyperlink visible text.\n\n![Screenshot](https://user-images.githubusercontent.com/16310547/232351246-7ba1837b-9e0f-4dfe-a329-1341be9769e2.png)\n\n\n_Popup is draggable and resizable. Use the upper edge to move the popup. To resize the popup use the right bottom corner._\n\n_Changing of controls/filters immediately effects on the result list._\n\n_Popup can be not only closed, but minimized._\n\n_It keeps the state in `LocalStorage`._\n\n---\n\nTo install open this URL: [https://github.com/AlttiRi/href-taker/raw/master/dist/href-taker.user.js](https://github.com/AlttiRi/href-taker/raw/master/dist/href-taker.user.js)\n\n_An installed userscript manager extension ([VM](https://violentmonkey.github.io/#installation)/[TM](https://www.tampermonkey.net/)) is required._\n\n---\n\nTo open the popup use the userscript manager's menu command:\n\n![image](https://user-images.githubusercontent.com/16310547/222466876-7f023af9-3a75-4775-8235-28b4d64bb6e1.png)\n\n---\n\nThe userscript has by default:\n\n```js\n// @match       *://*/*\n```\n\nIt's recommended to overwrite the rule in the userscript manager's settings to run the script only in the locations where you need it:\n\n![image](https://user-images.githubusercontent.com/16310547/222470203-28c52dba-af44-4546-8c8b-5f8d54dc4eac.png)\n\n---\n\nTo use the userscript in `file://` pages you need to enable \"Allow access to file URLs\" checkbox in the userscript manager extension's setting:\n\n![image](https://user-images.githubusercontent.com/16310547/222470882-c438de1a-5a1e-45fb-b272-d0c5a6579735.png)\n\n---\n\n### Demo\n\nHere is a [demo webpage](https://alttiri.github.io/href-taker/demo) to try this popup.\n\n---\n\n### Filters\n\nTo filter the result list use \"Only\" and \"Ignore\" inputs.\n\nThe result list will have any URL which includes any word from **Only** input and no one from **Ignore** input.\n\nUse the right mouse button (RMB) click on the input prompt (\"Only\"/\"Ignore\" text) to disable the input rule.\n\nAdditionally, with the middle mouse button (MMB) click on the \"Only\" prompt text you can reverse the filter rule.\n\n### Controls\n\nButtons\n\n- **\"List links\"** button collects and lists the URLs. RMB click clears the list.\n- **\"Copy\"** button copies the links separated by a space. With RMB click the links will be separated by a new line (`\\n`) character.\n- **\"URLs to text\"** button converts links' text to the original URL value. The second click reverts the changes.\n- **\"Extra Settings\"** button toggles showing the additional options.\n\nCheckboxes\n\n- **\"Include text\"** checkbox — to additionally parse URLs from text (`innerText`), not only from `a` tag elements.\n- **\"Only text\"** checkbox — to parse URLs only from the web page visible text content, not from `a` tags.\n\nExtra checkboxes\n\n- **\"Auto open\"** — to automatically show the popup/minimized popup on a web page is loaded event even the popup was closed last time.\n- **\"Auto list\"** — to automatically collect and list URL on popup is opened.\n- **\"Only unique\"** — to list only unique URLs without duplicates.\n- **\"Sort\"** — to sort URLs by `hostname`.\n- **\"Reverse\"** — to revers order the result URLs list.\n- **\"Case-sensitive\"** — for case-sensitive matching.\n- **\"No 1st-party\"** — to exclude 1st-party links, and list only 3rd-party ones.\n- **\"https\"** — to replace `http://` with `https://`.\n- **\"Trim brackets\"** — to enable extra logic for text URL parsing for links are included `(`,`)`,`[`,`]` characters.\n- **\"Console log\"** — to log some data to the console while working.\n- **\"Console vars\"** — to expose some variables into the console. For example, `urls` variable.\n\nAlso in the extra settings you can enable the **tags feature**. It allows to filter URLs more convenient by hostname tags.\n\n![image](https://user-images.githubusercontent.com/16310547/232351342-87a4236a-a858-469b-bd86-a7aafe3c6238.png)\n\n\nSelector\n\n- It defines from which element(s) to parse URLs. By default, it's `body` selector.\n\n---\n\n### See also\n - [HrefLister](https://github.com/AlttiRi/href-lister)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falttiri%2Fhref-taker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falttiri%2Fhref-taker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falttiri%2Fhref-taker/lists"}