javascript - Script sending form on my behalf -
i have account in patient portal on can search available dates appointment , book visit doctor. there few available dates though end entering portal , refreshing search, tiresome. i've been thinking moment , have came idea there script run on vps, sends periodically forms fabricated data on behalf , when available date interested in came notified email.
i don't know html , javascript found in page source this:
button search call filterformsubmit():
<input type="submit" class="button pretty" onclick=" javascript: filterformsubmit(); return false;" value="search">this function looks this:
<script type="text/javascript"> function filterformsubmit() { var searchvisitsbreakdownreservation = 'false' == 'true' ? true : false; if (!searchvisitsbreakdownreservation) { window.ismylink = true; $("#advancedresevation").submit(); return true; } else { $("#searchvisitsbreakdownreservation").show(); return false; } } </script>
and on step stuck: didn't understand line $("#advancedresevation").submit(); does.
my next step analyze packets in wireshark. thought fabricate packet can send patient portal's server, receive response , parse response in proper way, unfortunately packets send tlsv1.1.
my question is: should learn , should search make idea come true?
onclick=" javascript: filterformsubmit(); wrong. contents of onclick javascript. should just
onclick="filterformsubmit; return false" the javascript pseudo-url usage in href:
<a href="javascript:filterformsubmit();"> ^^^^
Comments
Post a Comment