Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saeedkohansal/javascript-country-restriction-with-blacklist-and-whitelist
Allow Whitelist Countries & Block Blacklist Countries - Display ACCESS DENIED Error - Using Free IP Info API Third Parties, In this video, I'm gonna show you how to create a country restriction widget with two options for visitors to see my website, whitelisted countries or blacklisted countries, I'm using Vanilla JavaScript, you can customize my script and use it on your website or web application, I must say that if JavaScript is disabled in the user's browser, nothing will happen because our processing is done on the client-side or frontend. so if you want to handle a safe country restriction I suggest you use a server-side or backend country restriction like a PHP script or apache htaccess or any other choice.
https://github.com/saeedkohansal/javascript-country-restriction-with-blacklist-and-whitelist
404 access access-denied allowlist blacklist block blocker blocklist country-blocker country-restriction countryblocker gilgeekify html javascript js limit restricted vanilla-javascript vpn whitelist
Last synced: 6 days ago
JSON representation
Allow Whitelist Countries & Block Blacklist Countries - Display ACCESS DENIED Error - Using Free IP Info API Third Parties, In this video, I'm gonna show you how to create a country restriction widget with two options for visitors to see my website, whitelisted countries or blacklisted countries, I'm using Vanilla JavaScript, you can customize my script and use it on your website or web application, I must say that if JavaScript is disabled in the user's browser, nothing will happen because our processing is done on the client-side or frontend. so if you want to handle a safe country restriction I suggest you use a server-side or backend country restriction like a PHP script or apache htaccess or any other choice.
- Host: GitHub
- URL: https://github.com/saeedkohansal/javascript-country-restriction-with-blacklist-and-whitelist
- Owner: saeedkohansal
- License: mit
- Created: 2022-06-21T05:25:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-22T14:09:40.000Z (7 months ago)
- Last Synced: 2024-12-03T03:21:52.111Z (2 months ago)
- Topics: 404, access, access-denied, allowlist, blacklist, block, blocker, blocklist, country-blocker, country-restriction, countryblocker, gilgeekify, html, javascript, js, limit, restricted, vanilla-javascript, vpn, whitelist
- Language: HTML
- Homepage: https://saeedkohansal.github.io/JavaScript-Country-Restriction-With-Blacklist-And-Whitelist/
- Size: 186 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JavaScript Country Restriction With Blacklist And Whitelist
_How To Create JavaScript Country Restriction With Blacklist And Whitelist HTML/CSS/JS_
![Thumbnail](https://raw.githubusercontent.com/saeedkohansal/JavaScript-Country-Restriction-With-Blacklist-And-Whitelist/main/JavaScript%20Country%20Restriction%2C%20Whitelist%20And%20Blacklist.png "Thumbnail")
Allow Whitelist Countries & Block Blacklist Countries - Display ACCESS DENIED Error - Using Free IP Info API Third Parties, In this video, I'm gonna show you how to create a country restriction widget with two options for visitors to see my website, whitelisted countries or blacklisted countries, I'm using Vanilla JavaScript, you can customize my script and use it on your website or web application, I must say that if JavaScript is disabled in the user's browser, nothing will happen because our processing is done on the client-side or frontend. so if you want to handle a safe country restriction I suggest you use a server-side or backend country restriction like a PHP script or apache htaccess or any other choice.
## Video Tutorial [ Creating This Widget From Scratch ]
[https://youtu.be/XqGepBsejAM](https://youtu.be/XqGepBsejAM)
## If You Enjoy My Content, Please Support Me 😍🙏
💙 PAYPAL DONATION
https://paypal.me/gilgeekify
❤️ PATREON
https://www.patreon.com/gilgeekify
💛 BUY ME A COFFEE
https://www.buymeacoffee.com/gilgeekify
🪙 My Public Address To Receive BTC • Bitcoin
bc1qerc5ev074cqknu9nz589w4vjf5ecmhuc2df83h
🥈 My Public Address To Receive ETH • Ethereum
0x566A47B9731209A5144336D274D44224bfb9C0ea