Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rimiti/abm

✋ Detects AdBlock and display an unclosable modal. (AdBlockModal)
https://github.com/rimiti/abm

adblock ads advertising block blocker modal

Last synced: about 5 hours ago
JSON representation

✋ Detects AdBlock and display an unclosable modal. (AdBlockModal)

Awesome Lists containing this project

README

        

# abm

[![MIT License][license-badge]][license]
[![PRs Welcome][prs-badge]][prs]

## Description

Adblock modal blocker.

## Install

```
$ yarn add @rimiti/abm
```

## Demo

[Live demo](https://rimiti.github.io/abm/demo/)

## How it works?

1. Add these rows into the *head* block:

```html

```

2. Add this HTML block into the *body*:

```html




Adblock detected


Please, turn off your ad blocker in order to continue browsing.


Refresh the page



```

## Scripts

Run using yarn command.

clean - remove temporary files
build - compile source files
build:dev - compile source files for development

## License

MIT © [Dimitri DO BAIRRO](https://github.com/rimiti/abm/blob/master/LICENSE)

[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square
[license]: https://github.com/rimiti/abm/blob/master/LICENSE
[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
[prs]: http://makeapullrequest.com