Question: So I have a page with about 60 of links on it, with random URL's, each one needs to be clicked and downloaded individually.

I'm working on the fundamental script to tab over to the next link, hit enter, and then 'ok' to download to desktop.

I'm new, but I cannot seem to get the 'floating' window which pops up, to let me keystroke 'return' or click on 'OK'. I'm looking to save the file to desktop, but I can't seem to reference the window by title in the app, or guess the index number or window ID.

Any help is much appreciated..

I've also seen the dictionary, in script editor, and many of the properties of 'window' for Firefox, throw syntax and other errors.

```
tell application "System Events"
tell application "Firefox" to activate
tell window "$thewindowtitle"
    keystroke tab
    delay 1.0
    keystroke return
end tell
tell application "Firefox"
    tell window visible
    click button "OK"
    end tell
end tell
end tell
end tell

```

Thanks!

Answer: 
Try passing `fastIframe: false` in the colorbox configuration. It makes colorbox wait until all contents of the iframe are loaded before attempting to show anything.

```
$('a').colorbox({ iframe: true, fastIframe: false });

```
The white flash is the result of colorbox dynamically generating the iframe. While the iframe is loading you see the background color of the colorbox window itself.

One way to solve this issue is to use the "black" colorbox css styles as demonstrated in [this jsfiddle](http://jsfiddle.net/XSzq5/4/embedded/result/). You can find this colorbox.css file in the "Example 3" folder when you [download colorbox](http://www.jacklmoore.com/colorbox). Using this style you will of course see a black flash rather than and white flash, but it blends in better with the translucent black of the colorbox overlay.

Alternatively you can customize the colorbox.css file that's best suited to your needs. There's 5 prebuilt styles, which you can see demonstrated at the official colorbox site.