welax0x
Newbie
- Jan 19, 2025
- 22
- 9
I want to run crypto related ads on Facebook but my ads always get rejected.
I found out about cloaking and decided to make my own script.
So far my script blocks unwanted visitors based on IP addresses, user agents, VPN usage, and geographic location.
I am open to suggestions or any ideas since this is my first time cloaking.
Thank you
I found out about cloaking and decided to make my own script.
So far my script blocks unwanted visitors based on IP addresses, user agents, VPN usage, and geographic location.
- IP Blocking: It checks the visitor's IP address against various external bots lists hosted on GitHub.
- User-Agent Filtering: It examines the user's browser user-agent string to detect bots, crawlers, and scrapers.
- VPN & Country Restriction: It determines if the visitor is using a VPN or if their country is not in the allowed list (US for example). If the IP is flagged as a VPN or comes from a restricted country, access is denied.
- Blacklist Management: The script maintains a local blacklist and blocks any previously flagged IPs to avoid wasting api calls and fetching the github lists over and over again.
- Visit Limit Enforcement: It tracks visits per IP . If an IP exceeds five visits, it is blacklisted.
- Redirection & Blog Page: If an IP is blocked, the user is redirected to a static blog page about meme coins and airdrops. Otherwise, they are redirected to an external site.
I am open to suggestions or any ideas since this is my first time cloaking.
Thank you