{"id":19505560,"url":"https://github.com/bogdaaamn/webmon-extension","last_synced_at":"2026-06-13T03:02:01.868Z","repository":{"id":131320089,"uuid":"350369723","full_name":"bogdaaamn/webmon-extension","owner":"bogdaaamn","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-21T16:58:58.000Z","size":43211,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T22:15:17.545Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/bogdaaamn.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":"2021-03-22T14:16:20.000Z","updated_at":"2022-09-05T12:37:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2876de4-a855-4d58-ac1b-5a6a6d43dbf4","html_url":"https://github.com/bogdaaamn/webmon-extension","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bogdaaamn/webmon-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogdaaamn%2Fwebmon-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogdaaamn%2Fwebmon-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogdaaamn%2Fwebmon-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogdaaamn%2Fwebmon-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bogdaaamn","download_url":"https://codeload.github.com/bogdaaamn/webmon-extension/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogdaaamn%2Fwebmon-extension/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34270417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"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":[],"created_at":"2024-11-10T22:31:43.679Z","updated_at":"2026-06-13T03:02:01.853Z","avatar_url":"https://github.com/bogdaaamn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monetizing Philanthropy: browser extension [WIP]\n\n## About\nWith more platforms adopting own monetization models, the dangers of platforms monopolizing advertising infrastructure and creator revenue increase exponentially. This research project aims to create and test a more transparent system for spontaneous microtransactions between creators and audiences, based on insights from both groups. [Read more](https://community.webmonetization.org/philanthropy/monetizing-philanthropy-on-social-media-1i0i).\n\n[Monetizing Philanthropy](https://community.webmonetization.org/philanthropy/monetizing-philanthropy-on-social-media-1i0i) is an a joint interdisciplinary project from [Maastricht Law \u0026 Tech Lab](https://github.com/maastrichtlawtech), [Maastricht University Institute of Data Science](https://github.com/MaastrichtU-IDS), and the [Department of Computer Science](https://github.com/university-of-york) from the University of York.\n\n![Influencer extension flow](./docs/screens-influ.png)\n\n## Develop\n### Install and develop\nTo first load the extension in the Chrome browser, \n\n- Clone this project: `git clone https://github.com/maastrichtlawtech/webmon-extension`\n- In Chrome click on the options menu (the three dots on top-right)\n- Click on _More tools \u003e Extensions_ options\n- Enable _Developer mode_\n- Click on _Load Unpacked_\n- Select the directory of this project `webmon-extension`\n\nIf you make changes to the extension's codebase, you need to **update** it in order to see them:\n- Go to the _Extensions_ menu again\n- Find the extension _Web Monetization extension_\n- Reload by pressing the circular arrow next to the name\n- Changes will be show\n\n### Structure\nThe browser extension is structured as it follows:\n- **`injectbutton.js`**: the script injecting the _donate_ button on the Youtube page and allows donors to interact with the campaign created by the video's uploader\n- `popup`: the code that enables the browser popup screen\n    - **`popup.js` `popup.html`**: the script generating the right screens that are shown on the popup screen. the styling of these screens use **`uikit.min.css`**. see [getuikit.com](https://getuikit.com/)\n    - `utils`: the helpers and interactions for the popup screen\n        - **`api.js`**: the script that connects the backend API with the interactions within the popup screen. the methods are used in `popup.js` like `api.getUserDonations()`\n        - **`screens.js`**: the script that generates and injects the right screen onto the root of the popup screen based on input from the API. it is used in `popup.js` like `screens.createInfluencerScreen(data)`\n- **`manifest.json`**: the configuration file for the browser extension\n\n## Resources\n- **Monetizing Philanthropy Repositories**\n    - LUCE \u0026 Users API: https://github.com/maastrichtlawtech/webmon-LUCE-API \n    - LUCE Docker Image: https://github.com/vjaiman/LUCE\n    - LUCE Interledger Integrations: https://github.com/alfa-yohannis/LUCE/tree/master/interledger\n- **Monetizing Philanthropy Articles**\n    - [Monetizing philanthropy on social media](https://community.webmonetization.org/philanthropy/monetizing-philanthropy-on-social-media-1i0i)\n    - [Monetizing philanthropy: First findings](https://community.webmonetization.org/philanthropy/monetizing-philanthropy-first-findings-3m4b)\n    - [Ludwig’s subathon - when an idea snowballs unexpectedly](https://community.webmonetization.org/philanthropy/ludwig-s-subathon-when-an-idea-snowballs-unexpectedly-34pp)\n    - [Clout chasing on social media: The role of controversy in content monetization](https://community.webmonetization.org/philanthropy/clout-chasing-on-social-media-the-role-of-controversy-in-content-monetization-4dkg)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbogdaaamn%2Fwebmon-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbogdaaamn%2Fwebmon-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbogdaaamn%2Fwebmon-extension/lists"}