{"id":20645767,"url":"https://github.com/christopherkade/visibility-api-demo","last_synced_at":"2025-06-30T09:37:32.370Z","repository":{"id":91591903,"uuid":"176566654","full_name":"christopherkade/visibility-api-demo","owner":"christopherkade","description":"A demo that shows how the HTML5 visibilitychange API can be used","archived":false,"fork":false,"pushed_at":"2019-10-25T13:07:54.000Z","size":327,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-14T20:15:03.910Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://christopherkade.com/visibility-api-demo/","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/christopherkade.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}},"created_at":"2019-03-19T17:37:52.000Z","updated_at":"2019-10-25T13:06:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"9dbd936b-939a-48aa-8c48-411f5fa18c03","html_url":"https://github.com/christopherkade/visibility-api-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/christopherkade/visibility-api-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopherkade%2Fvisibility-api-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopherkade%2Fvisibility-api-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopherkade%2Fvisibility-api-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopherkade%2Fvisibility-api-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/christopherkade","download_url":"https://codeload.github.com/christopherkade/visibility-api-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopherkade%2Fvisibility-api-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262748807,"owners_count":23358274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-11-16T16:21:45.001Z","updated_at":"2025-06-30T09:37:32.343Z","avatar_url":"https://github.com/christopherkade.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"A small demo to show how the [Page Visibility API](https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API) can be used.\n\nPauses and starts a Youtube video when the user is on another tab and changes the favicon accordingly.\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `npm start`\n\nRuns the app in the development mode.\u003cbr\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr\u003e\nYou will also see any lint errors in the console.\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\u003cbr\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\u003cbr\u003e\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristopherkade%2Fvisibility-api-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristopherkade%2Fvisibility-api-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristopherkade%2Fvisibility-api-demo/lists"}