{"id":24390474,"url":"https://github.com/kb-dev-lab/retrovisor","last_synced_at":"2026-05-18T02:32:14.294Z","repository":{"id":173954682,"uuid":"608903265","full_name":"kb-dev-lab/retrovisor","owner":"kb-dev-lab","description":"Simple JS script for a better retro-engineering experience","archived":false,"fork":false,"pushed_at":"2023-03-03T01:03:44.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-21T08:52:35.434Z","etag":null,"topics":["javascript","retroengineering","script","tool"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kb-dev-lab.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,"zenodo":null}},"created_at":"2023-03-03T00:55:34.000Z","updated_at":"2023-06-01T11:57:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"92a6a219-22bd-41f9-bdd9-ea9a8a54cacf","html_url":"https://github.com/kb-dev-lab/retrovisor","commit_stats":null,"previous_names":["kb-dev-lab/retrovisor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kb-dev-lab/retrovisor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kb-dev-lab%2Fretrovisor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kb-dev-lab%2Fretrovisor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kb-dev-lab%2Fretrovisor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kb-dev-lab%2Fretrovisor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kb-dev-lab","download_url":"https://codeload.github.com/kb-dev-lab/retrovisor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kb-dev-lab%2Fretrovisor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33162609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["javascript","retroengineering","script","tool"],"created_at":"2025-01-19T16:17:49.002Z","updated_at":"2026-05-18T02:32:14.277Z","avatar_url":"https://github.com/kb-dev-lab.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Retrovisor\n\nRetrovisor is a simple script to add some features useful to retro-engineer any page with Javascript.\n\n## Setup\n\nCopy and paste [index.js](index.js) content in your console.\n\nYour entrypoint is `Retrovisor` variable in the global scope.\n\n## Api\n\n### Retrovisor.findValueInWindow(value)\n\nSearch the value in the entire `window` object.\n\n**Return value**: an array containing all paths with the value.\n\n### Retrovisor.findRegexValueInWindow(regex)\n\nSearch a regex in the entire `window` object.  \nEach variable is tested by checking the string value of the variable and using it with `regex.test(variable.toString())`.  \n\n**Return value**: an array containing all paths with the regex + the string value of the variable.\n\n### Retrovisor.extractNonNativeVariablesFromWindow()\n\nSearch variables which has not been created by the browser and accessible from the `window` object.  \nThis function needs a dump of a pure `window` variable to extract new values, because native variables didn't have anything to recognize them.  \n\n**Return value**: an object containing all new values.  \nIt's a bit unstable, but it's enough for me currently.\n\n#### Setup of this function\n\nTo use this function, you need to open a new empty tab in your browser, import Retrovisor and call `Retrovisor.dumpCurrentWindowVariables()`.  \nCopy the return of this call and use it in your current tab (without the quotes around the result).  \nThis will load a pure `window` dump and you're ready to use `Retrovisor.extractNonNativeVariablesFromWindow()`.  \n\n## Why this name\n\nIn French, we have the word [rétroviseur](https://fr.wikipedia.org/wiki/R%C3%A9troviseur) (rear-view mirror in English).  \nSo there's `retro` in the word (like retro-engineering), and `visor` exists in English.  \nEnd. Pretty dumb, huh?  \n\n## License\n\nGPLv3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkb-dev-lab%2Fretrovisor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkb-dev-lab%2Fretrovisor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkb-dev-lab%2Fretrovisor/lists"}