{"id":15698693,"url":"https://github.com/hg-pyun/prevent-bounce","last_synced_at":"2025-10-25T16:10:43.699Z","repository":{"id":57330227,"uuid":"135881933","full_name":"hg-pyun/prevent-bounce","owner":"hg-pyun","description":"simple prevent iOS dismiss event for web application","archived":false,"fork":false,"pushed_at":"2018-06-09T10:46:02.000Z","size":13,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-09T01:51:19.563Z","etag":null,"topics":["application","ios","javascript","library","web"],"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/hg-pyun.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":"2018-06-03T07:09:42.000Z","updated_at":"2019-01-19T09:43:04.000Z","dependencies_parsed_at":"2022-09-09T05:54:21.827Z","dependency_job_id":null,"html_url":"https://github.com/hg-pyun/prevent-bounce","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hg-pyun/prevent-bounce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hg-pyun%2Fprevent-bounce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hg-pyun%2Fprevent-bounce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hg-pyun%2Fprevent-bounce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hg-pyun%2Fprevent-bounce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hg-pyun","download_url":"https://codeload.github.com/hg-pyun/prevent-bounce/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hg-pyun%2Fprevent-bounce/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259868343,"owners_count":22924231,"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":["application","ios","javascript","library","web"],"created_at":"2024-10-03T19:32:20.381Z","updated_at":"2025-10-25T16:10:38.651Z","avatar_url":"https://github.com/hg-pyun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prevent-bounce\nsimple prevent iOS dismiss event for web application.\n\n# Install\n```\n$ npm install prevent-bounce --save\n```\n\n# How to Use\n#### Browser\n```html\n\u003cscript src=\"./prevent-bounce.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n    var preventBounce = new PreventBounce();\n    preventBounce.attach();\n\u003c/script\u003e\n```\n\n#### ES6\n```javascript\nimport PreventBounce from 'prevent-bounce';\n\nconst preventBounce = new PreventBounce();\npreventBounce.attach();\n```\n\n# Method\n#### attach(element)\nattach prevent event the element. if element is blank, default attached `document`.\n\n#### remove()\nremove prevent event.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhg-pyun%2Fprevent-bounce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhg-pyun%2Fprevent-bounce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhg-pyun%2Fprevent-bounce/lists"}