# Safari 4 Beta/Webkit Reloading Image Before I Can Verify It

**URL:** <https://www.ruby-forum.com/t/safari-4-beta-webkit-reloading-image-before-i-can-verify-it/164725>\
**Category:** Captchator\
**Created:** [April 4, 2009, 7:43pm UTC](https://www.ruby-forum.com/t/safari-4-beta-webkit-reloading-image-before-i-can-verify-it/164725 "2009-04-04T19:43:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bburcham](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f9ae1b/32.png) [@bburcham](https://www.ruby-forum.com/u/bburcham)\
**Post date:** [April 4, 2009, 7:43pm UTC](https://www.ruby-forum.com/t/safari-4-beta-webkit-reloading-image-before-i-can-verify-it/164725/1 "2009-04-04T19:43:24Z")

</div>

I’m running WebKit and also have Safari 4 Beta installed (reason I  
mention the latter is because Webkit seems to “inherit” some Safari 4  
Beta features like the new tab behavior).

Anyhoo, I noticed my captchas stopped working. From looking at the  
inspector under the “resources” section I see that Webkit is loading the  
captcha image twice when the page loads.

That shouldn’t necessarily be a problem but somehow I think the browser  
is displaying the first image result and not the second. As a result  
when my app submits the captcha for verification it’s always wrong.

No such problem in Firefox 3.1b3.

Am I losing it or is Webkit/Safari 4 Beta doing something very wierd.

(and yes I checked out the demo [http://captchator.com/test.php](http://captchator.com/test.php) and that  
works fine! I’m puzzled)

---

<div class="post-metadata">

**Author:** ![bburcham](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f9ae1b/32.png) [@bburcham](https://www.ruby-forum.com/u/bburcham)\
**Post date:** [April 4, 2009, 7:47pm UTC](https://www.ruby-forum.com/t/safari-4-beta-webkit-reloading-image-before-i-can-verify-it/164725/2 "2009-04-04T19:47:24Z")

</div>

BTW here’s a screenshot of the Webkit/Safari Inspector showing the  
resources view. See the captcha image being loaded twice there?
