TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Is there a way to identify sites blocked by the website visitor's ISP?

1 pointsby suramya_tomarover 3 years ago
There are countries that block sites for various reasons, India being one of them. If a site is blocked by an ISP you will get a message similar to &quot;The website has been blocked as per direction&#x2F;order of Hon’ble Court.&quot;<p>Is there a way for me to detect this on a webpage using client side javascript or something? I am working on a site that shows all the sites that are censored&#x2F;blocked by various ISP&#x27;s. I can check from my ISP but want to have a site that will allow users to click a button and check sites from a predefined list to see if they are blocked or not by <i>their</i> ISP. The results will then be stored centrally.<p>Tried searching the web but didn&#x27;t find any usable ideas on how to achieve this, so any suggestions would be welcome.

2 comments

Minor49erover 3 years ago
You may hit some issues with CORS if you&#x27;re trying to do this on a webpage that you&#x27;re serving, though the ISP&#x27;s interference may change this (I&#x27;m really not sure, though I wouldn&#x27;t count on it).<p>It might work better if you make a TamperMonkey script or some other client-side application that doesn&#x27;t rely on a browser. In the latter case, it might even be a better idea to have small cloud-base instances set up in various regions around the globe and have them try to access sites directly where they are or use specific ISP proxies (if available) to determine access. Though that could also be a challenge.
评论 #30091332 未加载
stubezover 3 years ago
Open Rights Group, a UK-based organisation focussed on privacy and free speech run blocked.org.uk, does something like this for UK ISPs. They provide Raspberry Pis which people run from their networks. The devices perform regular requests to various sites to check if any are blocked.