VisionTech

Job Card Re-issuance — Auto Processor

Mark hundreds of Job Card records on the VBG-RAM-G portal without clicking each one. This guide walks you through it from scratch — no coding needed.

Download auto.js ⏱️ Setup takes ~5 minutes 🖥️ Google Chrome only 📍 Works from India only

What this does

On the portal you normally tick 10 checkboxes, click Update, click OK on the popup — then do it all again for the next page, the next village, and the next panchayat. Hundreds of times.

This script does that clicking for you. You start it once and walk away.

It only clicks what you would click

Nothing is bypassed or changed. It does not touch your login, skip validation, or reach any data you can't already see. It is your own browser pressing the same buttons, faster.

Before you start

Make sure you have all four of these:

Don't use the computer for other things while it runs

Chrome slows down tabs that aren't visible. Leave this tab on screen and untouched. You can still look at it — just don't click on the page.

The steps

Open the portal page

Log in to the VBG-RAM-G portal and go to the Job Card Re-issuance page.

Choose your State, District and Block so the Panchayat dropdown fills up with names. If that dropdown is empty, the script has nothing to work with.

Check before moving on

Click the Panchayat dropdown. You should see a list of panchayat names.

Open developer tools

Press F12 on your keyboard.

A panel opens on the right or bottom of the window with tabs like Elements, Console, Sources. That's the right place. If F12 does nothing, try Ctrl+Shift+I.

Now click the Sources tab.

Turn off breakpoints — don't skip this

In the Sources tab, look at the top-right for a row of small icons. Click the flag icon with a line through it. Hovering it says "Deactivate breakpoints".

Elements Console Sources Network Performance Memory Application vbgramg ReIssue_JC.aspx Click this one "Deactivate breakpoints" — it turns blue when on
The Sources toolbar. Click the circled flag icon to deactivate breakpoints.
Why this matters

The portal's own code contains debugger statements. With breakpoints active, Chrome freezes the page and shows "Paused in debugger" — and the script cannot continue. If that happens, press F8 to unfreeze, then do this step properly.

Create a snippet

Still in Sources, find the Snippets tab in the small left-hand panel. It sits next to Page — if you don't see it, click the » arrows to reveal more tabs.

Click + New snippet. Name it vbgramg and press Enter.

It must be a Snippet, not the Console

Pasting into the Console tab causes an error about "caller, callee and arguments". Snippets are required.

Paste the script

You need the whole script on your clipboard. Either way works:

Then click into the big empty editor area on the right and press Ctrl+V.

It must be the whole file

Don't select the text with your mouse and risk missing the last line — use Ctrl+A or GitHub's copy button. A half-pasted script will not run.

Save it

Press Ctrl+S.

The asterisk * next to the snippet name disappears once it's saved. You only do steps 4–6 once — next time your snippet is already there, ready to run.

Run it

Press Ctrl+Enter.

You should see a blue VisionTech banner appear:

 VisionTech  VBG-RAM-G Auto Processor  v1.0 
Bulk Job Card marking — panchayat → village → page
✓ UpdatePanel hooks installed

To watch progress, click over to the Console tab. The script keeps running while you look at it.

Pick your panchayats

A box pops up listing every panchayat with a number. Type what you want and click OK:

Type thisAnd it will process
ALL or leave blankEvery panchayat in the list
7Only number 7
1,4,9Those three
2-6Numbers 2, 3, 4, 5 and 6
somaspurAny name containing it — SOMASPUR-I and SOMASPUR-II
1,5-8,gurapMix numbers, ranges and names together

Clicking Cancel stops everything without changing any data — safe if you opened it by mistake.

Doing it in batches

You don't have to do all of them at once. Finish 1-8 today and type 9-18 tomorrow. Nothing is lost in between.

Wait for it to finish

Now leave it alone. The Console shows progress as it goes:

[1/18] P1. BELMURI
  22 village(s)

  [V1/22] Belmuri/I-1
    +10 (10 total) — Valid Record(s) updated successfully !!
    +10 (20 total) — Valid Record(s) updated successfully !!
    ⇒ 20 record(s) in 2 update(s)
    ↻ verifying (sweep 2)

  [V2/22] Belmuri/II-2
    ⚠ no data / already marked

Reading that:

When everything is done you get the green finish badge:

 VisionTech  RUN COMPLETE 
   Panchayats : 18 of 18
   Records    : 4820 marked
   Elapsed    : 47m 12s

That's it. You can close the tab.

Always verify a sample

Open a couple of villages on the portal and confirm the records show as marked. The script reports what it did — but you own the data.


If something goes wrong

What you seeWhat to do
Paused in debugger Step 3 was skipped. Press F8 to unfreeze, deactivate breakpoints, then run again.
caller, callee and arguments... You pasted into Console instead of Snippets. Redo step 4.
panchayat dropdown not found Wrong page. Open the Job Card Re-issuance page and pick your district and block first.
Nothing happens after Ctrl+Enter Open the Console tab and look for red text. Refresh the page (F5) and start again from step 2.
village stuck on ... The portal didn't switch village. The script skips it and carries on. Re-run that panchayat afterwards to catch it.
sweep limit hit Something unusual in that village — check it by hand on the portal.
Logged out halfway Log in again, reopen the page, run again. Work already saved stays saved.
It seems stuck on one village Villages with many records take a while. Wait 2 minutes. If the Console adds no new lines at all, refresh and re-run.

Common questions

Can I run it twice by mistake and cause a problem?

No. Once a record is marked it drops off the portal's list, so a second run simply finds nothing to do and finishes quickly. Re-running after an interruption is the recommended fix.

Can I stop it in the middle?

Yes — just refresh the page (F5). Everything already saved stays saved, because each batch is submitted to the portal as it goes.

Does it change any data on its own?

It ticks the checkboxes and presses Update, exactly as you would. It makes no decisions about which records qualify — the portal decides what appears in the list, and the script marks what's shown.

Do I have to set it up again next time?

No. Your snippet stays saved in Chrome. Next time: open the page, deactivate breakpoints, open the snippet, press Ctrl+Enter.

Can I use Edge or Firefox?

Microsoft Edge works the same way — it uses the same developer tools. Firefox does not have Snippets in the same form, so stick to Chrome or Edge.