{"id":18525252,"url":"https://github.com/rizdaprasetya/docsify-fix-pageload-scroll","last_synced_at":"2025-07-16T18:36:02.972Z","repository":{"id":97486836,"uuid":"206533558","full_name":"rizdaprasetya/docsify-fix-pageload-scroll","owner":"rizdaprasetya","description":"Simple Docsify plugin to add additional scroll on page load to ensure correct section is in view","archived":false,"fork":false,"pushed_at":"2019-09-05T11:14:29.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T19:47:06.964Z","etag":null,"topics":["docsify","docsify-plugin"],"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/rizdaprasetya.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}},"created_at":"2019-09-05T10:09:28.000Z","updated_at":"2023-07-28T01:22:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"571ce94b-3eeb-46f5-be35-3483fc51428c","html_url":"https://github.com/rizdaprasetya/docsify-fix-pageload-scroll","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rizdaprasetya/docsify-fix-pageload-scroll","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizdaprasetya%2Fdocsify-fix-pageload-scroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizdaprasetya%2Fdocsify-fix-pageload-scroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizdaprasetya%2Fdocsify-fix-pageload-scroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizdaprasetya%2Fdocsify-fix-pageload-scroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rizdaprasetya","download_url":"https://codeload.github.com/rizdaprasetya/docsify-fix-pageload-scroll/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizdaprasetya%2Fdocsify-fix-pageload-scroll/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265531148,"owners_count":23783175,"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":["docsify","docsify-plugin"],"created_at":"2024-11-06T17:44:51.136Z","updated_at":"2025-07-16T18:36:02.724Z","avatar_url":"https://github.com/rizdaprasetya.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DocsifyPageloadScrollPlugin\n\n## Description\nThis plugin try to ensure \"direct-link to section\", will scroll to the correct section/element.\n\nInternally it check `?id=\u003celement-id\u003e` parameter exist on the URL, uses `scrollIntoView()` on the element id, with delayed execution (2 second default) when Docsify's `hook.ready` is called.\n\n\n## Usage\n\nJust include this script tag like the other default Docsify plugins (search, emoji, etc). Put it after Docsify script tag.\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/gh/rizdaprasetya/docsify-fix-pageload-scroll@master/index.js\"\u003e\u003c/script\u003e\n```\n\n## Background\n\nCustom plugin to overcome Docsify scrolling issue.\n\nDocsify have auto scrolling issue on direct-link to section of a page with images: https://github.com/docsifyjs/docsify/issues/351\n\nThere was proposed fix, but sadly does not get merged for quite sometime.\n\nThis plugin does not directly fix it, but it adds another scroll, after the page loaded.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizdaprasetya%2Fdocsify-fix-pageload-scroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frizdaprasetya%2Fdocsify-fix-pageload-scroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizdaprasetya%2Fdocsify-fix-pageload-scroll/lists"}