Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox updated itself to version 17, but I see it's not released yet. More - copy to clipboard from javascript doesn't work anymore.

  • 5 replies
  • 5 have this problem
  • Last reply by trancephorm

more options

It asked me for update as always, I allowed it and it's now 17 which is not officially released + javascript is unable to copy data to clipboard anymore.

All Replies (5)

more options


It has been officially released. Please see this.

Is the copy/paste problem happening only on particular sites... If so, could you please provide some links??

If it is happening generally, you can reset Firefox and start afresh.

The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. Note: This will cause you to lose any Extensions, Open websites, and some Preferences.

To Reset Firefox do the following:

  1. Go to Firefox > Help > Troubleshooting Information.
  2. Click the "Reset Firefox" button.
  3. Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
  4. Firefox will open with all factory defaults applied.

Further information can be found in the Refresh Firefox - reset add-ons and settings article.

Did this fix your problems? Please report back to us!

more options

This morning, FF17 wasn't yet officially released, and it updated yesterday. That's the case here, but it's alright now.

This Javascript function used to work, now it doesn't.

function copy_clip(meintext) {

if (window.clipboardData) 
  // the IE-manier
  window.clipboardData.setData("Text", meintext);
  // waarschijnlijk niet de beste manier om Moz/NS te detecteren;
  // het is mij echter onbekend vanaf welke versie dit precies werkt:
  else if (window.netscape) 
  // dit is belangrijk maar staat nergens duidelijk vermeld:
  // you have to sign the code to enable this, or see notes below'UniversalXPConnect');
  // maak een interface naar het clipboard
  var clip = Components.classes[';1']
  if (!clip) return;
  // maak een transferable
  var trans = Components.classes[';1']
  if (!trans) return;
  // specificeer wat voor soort data we op willen halen; text in dit geval
  // om de data uit de transferable te halen hebben we 2 nieuwe objecten 
  // nodig om het in op te slaan
  var str = new Object();
  var len = new Object();
  var str = Components.classes[";1"]
  var copytext=meintext;;
  var clipid=Components.interfaces.nsIClipboard;
  if (!clip) return false;
  //alert("Following info was copied to your clipboard:\n\n" + meintext);
  return false;


You still think resetting would help? I do have pretty much customized FF, it's the last resort for me...


more options

Please see this. The MozillaZine forum would also be helpful.

more options

Is this code used in an extension or code on a web page?

The latter may not be working anymore because security measures tend to get tighter in each Firefox version.

Do you see any (possibly security related) error messages in the Error Console?

more options

please excuse me, but i downgraded firefox to 16.0.2, i can't tell you nothing more about it, please would someone notify me when this works out? ;)