{"id":18397493,"url":"https://github.com/avast/hackcambridge-ccleaner-extension","last_synced_at":"2026-05-15T08:10:52.831Z","repository":{"id":68856208,"uuid":"166241464","full_name":"avast/hackcambridge-ccleaner-extension","owner":"avast","description":"A stub for the CCleaner extension for Avast Secure Browser","archived":false,"fork":false,"pushed_at":"2019-01-19T09:41:18.000Z","size":30,"stargazers_count":6,"open_issues_count":0,"forks_count":6,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-03-25T17:02:44.235Z","etag":null,"topics":["asb","browser","browser-extension","ccleaner","chromium","chromium-extension","hack-cambridge","hackathon","hc-4d"],"latest_commit_sha":null,"homepage":"https://hackcambridge.com/event/hacking","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/avast.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-01-17T14:43:10.000Z","updated_at":"2025-02-09T13:00:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea39e63c-cd58-412e-ac45-d0ae31b84e14","html_url":"https://github.com/avast/hackcambridge-ccleaner-extension","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avast%2Fhackcambridge-ccleaner-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avast%2Fhackcambridge-ccleaner-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avast%2Fhackcambridge-ccleaner-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avast%2Fhackcambridge-ccleaner-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avast","download_url":"https://codeload.github.com/avast/hackcambridge-ccleaner-extension/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586233,"owners_count":21128997,"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":["asb","browser","browser-extension","ccleaner","chromium","chromium-extension","hack-cambridge","hackathon","hc-4d"],"created_at":"2024-11-06T02:17:22.097Z","updated_at":"2025-10-29T00:34:38.905Z","avatar_url":"https://github.com/avast.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Getting Started\n\nThis repository contains a basic CCleaner extension stub to be installed within Avast Secure Browser (ASB). As a Chromium based browser, ASB supports the Chrome extension framework, making this extension also compatible with Chrome and other Chromium based browsers.\n\nAs a very first step, we recommend you read the [What are Extensions?](https://developer.chrome.com/extensions), [Getting Started Tutorial](https://developer.chrome.com/extensions/getstarted) and [Overview](https://developer.chrome.com/extensions/overview) pages of the Google Chrome extension documentation as this will help familarise you with the structure of extensions.\n\n### Load an Unpacked Extension\n\nExtensions can be loaded in [unpacked mode](https://developer.chrome.com/extensions/getstarted#unpacked) by following these steps in ASB:\n\n- Visit `secure://extensions` (via: Menu -\u003e More Tools -\u003e Extensions).\n- Enable `Developer mode` by ticking the checkbox in the upper-right corner.\n- Click on the \"Load unpacked extension...\" button.\n- Select the directory containing the unpacked extension (e.g. [src](./src))\n\n### Cleaning Avast Secure Browser\n\nChrome already has a set of extension APIs for cleaning/removing browsing data: [chrome.browsingData](https://developer.chrome.com/extensions/browsingData\n). We have extended these APIs to provide special cleaning and reporting functionality specifically for our browser:\n\n- Added a `till` removal option - this has the same format as `since` but marks the end timestamp of the cleaning.\n\n- Added `chrome.browsingData.reportCleanResults` function which saves the passed JSON into a temporary file, looks for CCleaner installation path in the registry and executes it with `/report` argument pointing to the temporary file.\n\n- Added cleaning results data as an object argument for callback in `chrome.browsingData.remove()` and other remove functions. The format is a dictionary with data types that were requested to be cleaned. Each data type has a `count` (i.e. total number of entries) and an `entries` array of objects. Inside the `entries` array, there is `path` and `size` information. The `path` may be a URL or some other identifier (e.g. `profile:guid` for form data). The `size` information is represented in bytes and is non-zero only for some data types (e.g. `cache`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favast%2Fhackcambridge-ccleaner-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favast%2Fhackcambridge-ccleaner-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favast%2Fhackcambridge-ccleaner-extension/lists"}