-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,14 +16,14 @@ To create widgets from Javascript code, [see **Option B** below](#option-b-progr | |
|
||
Add the following to your website's HTML: | ||
```html | ||
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].9/site.min.js" async defer></script> | ||
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].9/site.compat.min.js" async defer></script> | ||
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/site.min.js" async defer></script> | ||
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/site.compat.min.js" async defer></script> | ||
``` | ||
|
||
::::tip | ||
#### Using the scripts without a CDN | ||
|
||
You can [download the latest release files](https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].9/) and serve them from your own server. | ||
You can [download the latest release files](https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/) and serve them from your own server. | ||
Remember to update these scripts regularly. | ||
:::: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,9 +33,9 @@ Instead you would replace the hCaptcha plugin and install a plugin that supports | |
``` | ||
with the hCAPTCHA-compatible Friendly Captcha scripts. | ||
```html | ||
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].9/contrib/hcaptcha-site.min.js" | ||
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/contrib/hcaptcha-site.min.js" | ||
async defer></script> | ||
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].9/contrib/hcaptcha-site.compat.min.js" | ||
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/contrib/hcaptcha-site.compat.min.js" | ||
async defer></script> | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,9 +32,9 @@ Instead you would replace the reCAPTCHA plugin and install a plugin that support | |
``` | ||
with the reCAPTCHA-compatible Friendly Captcha scripts. | ||
```html | ||
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].9/contrib/recaptcha-site.min.js" | ||
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/contrib/recaptcha-site.min.js" | ||
async defer></script> | ||
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].9/contrib/recaptcha-site.compat.min.js" | ||
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/contrib/recaptcha-site.compat.min.js" | ||
async defer></script> | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,9 +13,9 @@ Replace the `friendly-challenge` scripts | |
``` | ||
with the new `@friendlycaptcha/sdk` scripts | ||
```html | ||
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].9/site.min.js" | ||
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/site.min.js" | ||
async defer></script> | ||
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].9/site.compat.min.js" | ||
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/site.compat.min.js" | ||
async defer></script> | ||
``` | ||
## 2. 🇪🇺 Update custom API endpoints | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters