need a script writer to auto click "ok" on page load

Status
Not open for further replies.

seeker255

Newbie
Joined
Sep 18, 2014
Messages
26
Reaction score
1
looking for a script that can be used with firefox.. most likely using greasemonkey.. when the page initially loads, a javascript prompt pops up asking user to click ok or cancel. clicking ok continues loading the page, clicking cancel redirects. need a script that automatically selects ok every time the page loads.
 
Add me on skype i should be able to code that for you

Skype ID : floralchamp

Regards
 
You can use this script

<script type="text/javascript">
$(document).ready(function(){
$("#replacewithyoubuttonid").trigger('click');
});
</script>
 
Status
Not open for further replies.
This thread has been auto closed due to the forum's thread age policy. Read more.
Back
Top