Skip to content

Commit

Permalink
fix unverified typo; add auto param
Browse files Browse the repository at this point in the history
  • Loading branch information
ovx committed Jan 20, 2024
1 parent fced018 commit ed78ac1
Show file tree
Hide file tree
Showing 9 changed files with 520 additions and 463 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,19 @@ https://altcha.org

ALTCHA widget is distributed as a "Web Component" and [supports all modern browsers](https://developer.mozilla.org/en-US/docs/Web/API/Web_components#browser_compatibility).

### 1. Add `<script>` tag to your website
### 1. Install ALTCHA

```sh
npm install altcha
```

import `altcha` in your main file:

```js
import 'altcha';
```

or insert `<script>` tag to your website:

```html
<script async defer src="/altcha.js" type="module"></script>
Expand Down Expand Up @@ -47,6 +59,7 @@ Required options (at least one is required):

Additional options:

- __auto__ - Automatically verify without user interaction (possible values: `onload`, `onsubmit`).
- __hidefooter__ - Hide the footer (ALTCHA link).
- __hidelogo__ - Hide the ALTCHA logo.
- __maxnumber__ - The max. number to iterate to (defaults to 10,000,000).
Expand Down
2 changes: 1 addition & 1 deletion dist/altcha.iife.js

Large diffs are not rendered by default.

Loading

0 comments on commit ed78ac1

Please sign in to comment.