Skip to content

Instantly share code, notes, and snippets.

@jecfish
Last active June 6, 2021 12:51
Show Gist options
  • Save jecfish/0759e68c3168595490e5e12fabc6665f to your computer and use it in GitHub Desktop.
Save jecfish/0759e68c3168595490e5e12fabc6665f to your computer and use it in GitHub Desktop.
Prefill for AstraZeneca vaccination
const gid = (id) => document.getElementById(id);
gid('idtype').value = "1"; // 1=IC
gid('nric').value = "Replace_your_IC"; // e.g. 901231032468
gid('ic-numbern').value = "Replace_your_IC"; // e.g. 901231032468
checkic();
gid('msid').value = "Replace_your_MySejahteraID"; // your phone or email
gid('phone').value = "Replce_your_phone";
gid('phone-numbern').value = "Replace_your_phone";
boxclickppv('kl'); // or replace with "selangor"
@chengkangzai
Copy link

btw guys, the IC should be only numeric "900101010000" as opposed to "90010-10-10000"
and the MySejahtera id is generally your phone number with country code "60123456789" (at least for my case)

@deobda
Copy link

deobda commented May 26, 2021

btw guys, the IC should be only numeric "900101010000" as opposed to "90010-10-10000"
and the MySejahtera id is generally your phone number with country code "60123456789" (at least for my case)

i do have relatives whose MySejahtera ID is their email address, might want to double check first to be on the safe side.

@yclim95
Copy link

yclim95 commented May 26, 2021

Gosh Today when register, I did not think of using this kind of method haha lol... can prepare beforehand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment