I have a copy text button that I'm using ZeroClipboard with in order to copy certain text on the page. It works in Chrome and IE but it doesn't copy text in Firefox and the `complete` event is never fired.

My JavaScript for setting up the button looks something like this:

```
ZeroClipboard.setDefaults({
  moviePath: '/js/zeroclipboard/ZeroClipboard.swf',
  allowScriptAccess: 'always',
  forceHandCursor: true
});

function enableCopyButton(container) {
  var button = container.find('.text-copy'),
      source = container.find('.text'),
      clip = new ZeroClipboard(button);

  clip.setText(source.val());

  clip.on('load', function (client) {
    console.log('ZeroClipboard loaded.');

    client.on('complete', function (client, args) {
      console.log('Text copied: ' + args.text);
    });
  });

  clip.on('noFlash', function () {
    console.error('No Flash installed!');
  });
  clip.on('wrongFlash', function () {
    console.error('Wrong Flash installed!');
  });
}

```

The console ends up showing `"ZeroClipboard loaded."` and nothing else. No errors are thrown, and I've confirmed that `ZeroClipboard.swf` is being loaded and placed on the page. The `mousedown` and `mouseup` events are being fired, as well. The page this is running on is using a valid SSL certificate, and all assets on the page are loaded via HTTPS.

The library's demo page on GitHub works fine in FireFox, so I suspect it's something I'm doing.
['https://Stackoverflow.com/questions/18342961', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/784368/']
I'm not sure if this would help, but recently I have been working on using zeroclipboard for more than a month. Sometimes it works but sometimes it fails due to some very tiny things(maybe because I'm very new to javascript and html stuff)...and I understand the upset very well...

In your case, have you ever tried this event before?
Instead using clip.setText(source.val()) alone, move it inside a 'dataRequested' event like this:

```
clip.on('dataRequested', function(client, args) {
    client.setText(source.val());
});

```

Then after clicking on the button, see if the complete event gets fired. 

BTW, I'm wondering if your 'noflash' or 'wrongflash' got fired normally? In my case, if users don't have flash installed, the event is still not fired...not sure what's wrong with it...

Anyways, good luck :)
Latest version of zeroclipboard uses event.stopImmediatePropagation which not exists in firefox before version 28.0, it fails with error:

```
event.stopImmediatePropagation is not a function

```

You can see browser comparison here:

<http://compatibility.shwups-cms.ch/de/home?&property=TrackEvent.prototype.stopImmediatePropagation>

I use this polifil to add missing functionality:

<https://github.com/mattcg/stopImmediatePropagation>