{"id":19424027,"url":"https://github.com/swizec/chase-balance-fixer","last_synced_at":"2026-04-29T10:08:09.473Z","repository":{"id":66695580,"uuid":"169923689","full_name":"Swizec/chase-balance-fixer","owner":"Swizec","description":"Run this Chrome extension and never forget how much money you actually have","archived":false,"fork":false,"pushed_at":"2019-02-09T23:22:07.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T21:04:19.590Z","etag":null,"topics":["chase","chrome-extension"],"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/Swizec.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-02-09T23:11:09.000Z","updated_at":"2019-02-09T23:28:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"64772a7a-326a-4546-adf5-944550248433","html_url":"https://github.com/Swizec/chase-balance-fixer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Swizec/chase-balance-fixer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swizec%2Fchase-balance-fixer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swizec%2Fchase-balance-fixer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swizec%2Fchase-balance-fixer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swizec%2Fchase-balance-fixer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Swizec","download_url":"https://codeload.github.com/Swizec/chase-balance-fixer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swizec%2Fchase-balance-fixer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32420466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["chase","chrome-extension"],"created_at":"2024-11-10T13:41:42.908Z","updated_at":"2026-04-29T10:08:09.440Z","avatar_url":"https://github.com/Swizec.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chase-balance-fixer\n\nRun this Chrome extension and never forget how much money you actually have\n\n## Setup\n\nFor safety reasons I'm not hosting this as a real extension. You never know what those are doing behind the scenes and we're talking banking info here.\n\nSo you have to run it yourself. Here's how 👇\n\n1. Clone repository `$ git clone git@github.com:Swizec/chase-balance-fixer.git`\n2. Open `fix-credit.js` and edit `CREDIT_ID` and `CHECKING_ID` constants\n3. This is a great chance to look at my code and see it isn't mischievous\n4. Open chase.com and right-click inspect your account list\n5. Find your IDs in a div like this `\u003cdiv class=\"account-tile\" id=\u003cYOUR ID\u003e`\n6. Open chrome://extensions turn on Developer mode\n7. Click Load Unpacked\n8. Choose your code\n\nEnjoy ✌️\n\n## Here's how it works\n\nMy code is purposefully simple. Written in about 10 minutes.\n\n```javascript\nfunction value(node) {\n    return Number(node.textContent.replace(\"$\", \"\").replace(\",\", \"\"));\n}\n```\n\nTakes a DOM node and returns its numeric value.\n\n```javascript\nfunction getNode(account) {\n    return document.querySelector(`#${account} .balance`);\n}\n```\n\nTakes an account id and uses it to find the balance node. Basic JavaScript DOM stuff so we can avoid dependencies.\n\n```javascript\nsetTimeout(() =\u003e {\n    const credit = getNode(CREDIT_ID),\n        checking = getNode(CHECKING_ID);\n\n    if (credit \u0026\u0026 checking) {\n        actualMoneys = value(checking) - value(credit);\n\n        checking.textContent = `$${actualMoneys.toLocaleString(\"en\")}`;\n    }\n}, 3000);\n```\n\nChase web client works as an SPA so we have to give it some time to render everything. 3 seconds looked good enough to me.\n\nCode gets your credit card account's node and your checking account node, then updates your checking balance less your credit balance.\n\nThat's how you always know how much money you've got.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswizec%2Fchase-balance-fixer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswizec%2Fchase-balance-fixer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswizec%2Fchase-balance-fixer/lists"}