Git Product home page Git Product logo

saeedkohansal / javascript-country-restriction-with-blacklist-and-whitelist Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 189 KB

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.

Home Page: https://saeedkohansal.github.io/JavaScript-Country-Restriction-With-Blacklist-And-Whitelist/

License: GNU General Public License v3.0

JavaScript 13.18% HTML 75.65% CSS 11.17%
gilgeekify javascript vpn country-blocker country-restriction blacklist restricted countryblocker block blocker

javascript-country-restriction-with-blacklist-and-whitelist's Introduction

JavaScript Country Restriction With Blacklist And Whitelist

How To Create JavaScript Country Restriction With Blacklist And Whitelist HTML/CSS/JS

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

ย 

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

javascript-country-restriction-with-blacklist-and-whitelist's People

Contributors

saeedkohansal avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

p01t0t0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.