{"id":23714673,"url":"https://github.com/knowler/hidden-until-found-polyfill","last_synced_at":"2026-02-06T22:32:59.595Z","repository":{"id":270153523,"uuid":"909482276","full_name":"knowler/hidden-until-found-polyfill","owner":"knowler","description":"A work in progress polyfill for the `hidden=until-found` HTML feature","archived":false,"fork":false,"pushed_at":"2025-01-03T06:13:41.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T18:41:32.376Z","etag":null,"topics":[],"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/knowler.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-28T20:48:24.000Z","updated_at":"2025-02-24T23:41:42.000Z","dependencies_parsed_at":"2025-07-29T03:28:45.612Z","dependency_job_id":null,"html_url":"https://github.com/knowler/hidden-until-found-polyfill","commit_stats":null,"previous_names":["knowler/hidden-until-found","knowler/hidden-until-found-polyfill"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/knowler/hidden-until-found-polyfill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowler%2Fhidden-until-found-polyfill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowler%2Fhidden-until-found-polyfill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowler%2Fhidden-until-found-polyfill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowler%2Fhidden-until-found-polyfill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knowler","download_url":"https://codeload.github.com/knowler/hidden-until-found-polyfill/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowler%2Fhidden-until-found-polyfill/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29179419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T22:12:24.066Z","status":"ssl_error","status_checked_at":"2026-02-06T22:12:09.859Z","response_time":59,"last_error":"SSL_read: 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":[],"created_at":"2024-12-30T20:32:48.587Z","updated_at":"2026-02-06T22:32:59.578Z","avatar_url":"https://github.com/knowler.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `hidden=until-found` polyfill\n\nThis is a work-in-progress polyfill for the `hidden=until-found` feature which\nwill hide content until it’s found (i.e. usually via “find in page” browser\nfeatures). This only works in Firefox as there’s no way to detect find-in-page\nactivity in Safari. Chrome already supports the feature, so we don’t polyfill\nit.\n\n## Usage\n\nThe script should be loaded before any body content to ensure the mutation\nobserver picks up elements as they are added to the DOM.\n\n```html\n\u003c!doctype html\u003e\n\u003cscript src=/path/to/hidden-until-found.js\u003e\u003c/script\u003e\n\u003c!-- More importantly, make sure it loads before contents --\u003e\n\u003cp hidden=until-found\u003eHello, World!\n```\n\n## Limitations\n\n- Does not work inside of shadow roots.\n\t- Polyfilling declarative shadow DOM is heavy (i.e. you need to walk every\n\t\telement) and selection changes inside the shadow DOM are complicated in\n\t\tFirefox.\n- Does not work in Safari.\n\t- So, this is really only relevant for Firefox at this point.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowler%2Fhidden-until-found-polyfill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknowler%2Fhidden-until-found-polyfill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowler%2Fhidden-until-found-polyfill/lists"}