Banglar Bhumi Utils
A Chrome extension that enhances the functionality of the banglarbhumi.gov.in website.
Features
Automatic CAPTCHA Handling
- Know Your Property Page - Hides CAPTCHA section and stubs validation to allow proceeding without solving CAPTCHA
- Application Receipt Page - Hides CAPTCHA section and stubs form validation to bypass CAPTCHA requirement
Front-end Optimizations
- Stop Blocking (Global) - Disables website's copy/paste/right-click blocking by proxying jQuery's
.bind()and.keydown()methods, and re-enables context menu - Login Form Caching (Global) - Caches login area HTML to avoid re-fetching on subsequent
viewLoginAreaActionrequests
PDF Download Functionality
- Know Your Property Page
- Adds "Download PDF" button after successful khatian/plot details fetch
- Downloads khatian details or plot information as formatted PDF with district/block/mouza context
-
Handles both khatian (khDetailsAction_LandInfo.action) and plot (plotDetailsAction_LandInfo.action) detail views
- Replaces form submit with custom handler
- Fetches declaration PDF from server, overlays Sangha Facilitation Centre banner image and date stamp on last page
-
Triggers download as "Declaration.pdf"
- Adds two toolbar buttons: "SAVE PDF" and "SAVE PDF (NO LABEL)"
- Fetches and renders map layer data (plot polygons) and centroid data (plot number labels)
- "SAVE PDF" includes plot number labels on map
- "SAVE PDF (NO LABEL)" exports map without labels
- Click-to-highlight plot polygons on SVG map with area/plot number info panel
- Search by plot number to display specific plot information
Demo
How to Build
Requirements
- Node.js (>= 22)
- NPM
Building
git clone https://github.com/arpitchakladar/banglar-bhumi-utils
cd banglar-bhumi-utils
npm install
npm run build
