{"id":16533562,"url":"https://github.com/af/garbagepatch.js","last_synced_at":"2025-06-19T06:38:39.017Z","repository":{"id":137143506,"uuid":"5188128","full_name":"af/garbagepatch.js","owner":"af","description":"Bookmarklet that reports on the global variables on a page.","archived":false,"fork":false,"pushed_at":"2013-08-20T23:15:31.000Z","size":104,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-10T16:09:08.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/af.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}},"created_at":"2012-07-26T05:18:59.000Z","updated_at":"2014-07-21T12:09:38.000Z","dependencies_parsed_at":"2023-06-25T22:43:47.483Z","dependency_job_id":null,"html_url":"https://github.com/af/garbagepatch.js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/af/garbagepatch.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/af%2Fgarbagepatch.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/af%2Fgarbagepatch.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/af%2Fgarbagepatch.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/af%2Fgarbagepatch.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/af","download_url":"https://codeload.github.com/af/garbagepatch.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/af%2Fgarbagepatch.js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260703699,"owners_count":23049447,"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-10-11T18:15:14.712Z","updated_at":"2025-06-19T06:38:33.994Z","avatar_url":"https://github.com/af.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# garbagepatch.js\n\nThis is a simple little bookmarklet that checks the global variables in use on\na page and attempts to classify them. It's currently very bare-bones, but it's\nalready pretty interesting to check your sites' impact on the global environment,\nand for deducing what libraries other sites are using.\n\n\n## Using it\n\n1. Copy the contents of `bookmarklet.js` into the URL field of a new browser bookmark.\n2. Click on the bookmark when you're on a page you want to inspect.\n\n## Building it\n\nYou'll need node.js and uglify-js to run the build script:\n\n    # With node.js installed:\n    npm install -g uglify-js\n    ./build.js       # This will save the new build as bookmarklet.js\n\n\n## TODO\n\n* Detect more popular libraries\n* Better output styling\n* Add a way to interact with the detected global variables\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faf%2Fgarbagepatch.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faf%2Fgarbagepatch.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faf%2Fgarbagepatch.js/lists"}