8

I don't know when this happened, but today I noticed that I cannot paste text into Youtube comments on Firefox 40.0.3. It still works just fine on Chrome. I tried to use an addon to copy plain text only, but that didn't help, nor have I ever needed it before. Restarting the browser didn't help either.

What I mean is: When I press "paste" either by right clicking or Ctrl + V, nothing happens. I could still type into the comments normally. I can otherwise paste just fine to anywhere else, just not into Youtube comments...

Is this Google's latest monopoly trick or something, or what is going on?

Any ideas?

7

NOTE: The following "fix" has been known to cause problems on some sites. Please see this answer for a better solution.


Answered on Tomshardware by pcdude234:

I have a fix. go to your address bar and type "about:config" no quotes, and then hit the "i'll be careful, I promise" button, next type "dom.event.clipboardevents.enabled" then double click it, so the value is false. And that should do the trick.

Worked :P

  • Please read How to reference material written by others – DavidPostill Aug 30 '15 at 17:17
  • An anonymous ninja said "IT WORKED FOR ME TOO, on firefox; thanks, Gennaro" – kokbira Aug 31 '15 at 15:50
  • 1
    This fix works in Mozilla SeaMonkey, too. I think this is a deliberate move by Google as of August 2015 in an attempt to reduce repetitive spam posting; Facebook did something similar in late 2014, but it only lasted a few months until it was rescinded, probably due to pressure from users. – Andrew P. Sep 11 '15 at 14:42
  • @AndrewP. In Firefox only? Bizarre. – Marc.2377 Jun 11 '18 at 2:50
3

This is a pretty old question now, but I re-installed windows a while back and when I ran into this problem again, I decided to find a better fix.

Don't touch about:config. This way, any other functionality dom.event.clipboardevents provides doesn't break.

Instead, install this userscript by Sergey Rozhenko. (Userscripts can be installed with the help of an addon such as Greasemonkey or Violentmonkey.)

// ==UserScript==
// @id             Fix paste on YouTube
// @name           Fix paste on YouTube
// @version        1.0
// @namespace      GrayFace
// @author         Sergey "GrayFace" Rozhenko
// @description    Fixes paste function in comments on YouTube
// @include        https://www.youtube.com/*
// @include        http://www.youtube.com/*
// ==/UserScript==

function handler(e){
    e.stopPropagation();
}

addEventListener('paste', handler, true);

protected by Community Sep 7 '15 at 19:58

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.