Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ryduh
· 9y ago · 0 comments
The MagTek reader acts as a USB HID (aka a keyboard). When the cursor focus is put on a text field and you swipe a card, the MagTek device acts as if someone typed each character into the field. Then the javascript detects that and parses it out
Comments
[–]
s1mpl3
9y ago
omg i see. That makes a lot of sense. Will test this out. Thanks a lot :)