Skip to content

Instantly share code, notes, and snippets.

@alextwl
Created January 15, 2018 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alextwl/977e184631630d69c3d1ec94469e720a to your computer and use it in GitHub Desktop.
Save alextwl/977e184631630d69c3d1ec94469e720a to your computer and use it in GitHub Desktop.
THSR + chrome autofill extension
### PROFILES ###
Profile ID Name Site Overwrite
c2 THSR TPE-TCG1 1
### AUTOFILL RULES ###
Type Name Value Site Profile
3 ^trainCon:trainRadioGroup$ 10 irs.thsrc.com.tw c2
3 ^seatCon:seatRadioGroup$ 010 irs.thsrc.com.tw c2
3 ^bookingMethod$ 10 irs.thsrc.com.tw c2
2 ^selectStartStation$ "1" irs.thsrc.com.tw c2
2 ^selectDestinationStation$ "6" irs.thsrc.com.tw c2
2 ^toTimeTable$ 600P irs.thsrc.com.tw c2
0 ^idInputRadio:idNumber$ A123456789 irs.thsrc.com.tw c2
0 ^eaiPhoneCon:phoneInputRadio:mobilePhone$ 0900123456 irs.thsrc.com.tw c2
0 ^email$ bob@example.com irs.thsrc.com.tw c2
3 ^TicketMemberSystemInputPanel:TakerMemberSystemDataView:memberSystemCheckBox1$ 1 irs.thsrc.com.tw c2
0 ^TicketMemberSystemInputPanel:TakerMemberSystemDataView:memberSystemRadioGroup:memberShipNumber$ A123456789 irs.thsrc.com.tw c2
3 ^TicketMemberSystemInputPanel:TakerMemberSystemDataView:memberSystemRadioGroup:memberSystemShipCheckBox$ 1 irs.thsrc.com.tw c2
3 ^agree$ 1 irs.thsrc.com.tw c2
3 ^idInputRadio$ 10 irs.thsrc.com.tw c2
3 ^eaiPhoneCon:phoneInputRadio$ 01 irs.thsrc.com.tw c2
3 ^TicketMemberSystemInputPanel:TakerMemberSystemDataView:memberSystemRadioGroup$ 10 irs.thsrc.com.tw c2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment