{"id":17117042,"url":"https://github.com/c-lodder/block-adblock-webcomponent","last_synced_at":"2025-03-24T00:54:43.631Z","repository":{"id":87373441,"uuid":"201050425","full_name":"C-Lodder/block-adblock-webcomponent","owner":"C-Lodder","description":"Detect if a user is using an Ad Blocker","archived":false,"fork":false,"pushed_at":"2019-08-07T13:06:12.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T07:30:02.705Z","etag":null,"topics":["adblock","detect","javascript"],"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/C-Lodder.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-08-07T12:55:03.000Z","updated_at":"2019-08-07T13:06:14.000Z","dependencies_parsed_at":"2023-04-10T23:17:15.074Z","dependency_job_id":null,"html_url":"https://github.com/C-Lodder/block-adblock-webcomponent","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/C-Lodder%2Fblock-adblock-webcomponent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C-Lodder%2Fblock-adblock-webcomponent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C-Lodder%2Fblock-adblock-webcomponent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C-Lodder%2Fblock-adblock-webcomponent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/C-Lodder","download_url":"https://codeload.github.com/C-Lodder/block-adblock-webcomponent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245191634,"owners_count":20575248,"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":["adblock","detect","javascript"],"created_at":"2024-10-14T17:50:27.857Z","updated_at":"2025-03-24T00:54:43.626Z","avatar_url":"https://github.com/C-Lodder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# block-adblock-webcomponent\nDetect if a user is using an Ad Blocker\n\nBased on: https://github.com/sitexw/BlockAdBlock\n\n# Usage\n\nLoad the `block-adblock.js` file:\n```\n\u003cscript src=\"block-adblock.js\"\u003e\u003c/script\u003e\n```\n\nAdd the Custom Element anywhere on your HTML page:\n```\n\u003cblock-adblock\u003e\u003c/block-adblock\u003e\n```\n\nBy default, the element will render a red alert at the top of the web page stating that it's detected an adblocker.\nYou can of course customize the script in any way you like.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc-lodder%2Fblock-adblock-webcomponent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc-lodder%2Fblock-adblock-webcomponent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc-lodder%2Fblock-adblock-webcomponent/lists"}