Copy and paste does not work in comments field on youtube!

User Help for Mozilla Firefox
MichaelIsGreat
Posts: 4
Joined: April 30th, 2014, 6:30 am

Copy and paste does not work in comments field on youtube!

Post by MichaelIsGreat »

POSSIBLY A BUG IN FIREFOX?
When I write a comment on youtube.com in the comments field while I am logged into youtube.com , when I try to copy and paste anything in this comments field on youtube.com , it is impossible!! Despite the fact that this copy and paste works perfectly fine when I try to use it in notepad or in any other program! That is really weird. Is it a problem due to youtube.com or is it due to Firefox, I do not know at all!

I use Firefox 40 with Windows 7 Ultimate.
User avatar
MarkRH
Posts: 1360
Joined: September 12th, 2007, 2:30 am
Location: Edmond, OK
Contact:

Re: Copy and paste does not work in comments field on youtub

Post by MarkRH »

Hmmm interesting, I can't paste into the comments box either. CTRL-V and Right-Click Paste also doesn't work. I can copy content from the comments field though.

Maybe it's some kind of code to prevent bots from commenting?

I tried 39.0.3 and it also doesn't work. Something with YouTube's code is doing it.
scar
Posts: 29
Joined: November 4th, 2004, 6:36 pm

Re: Copy and paste does not work in comments field on youtub

Post by scar »

same here with firefox 40.0 as well as iceweasel 31.6.0
User avatar
madmudmob
Posts: 810
Joined: August 30th, 2006, 7:34 am
Location: Somerset, UK

Re: Copy and paste does not work in comments field on youtub

Post by madmudmob »

I'm having a similar problem .... I can type in the comment box but it refuses to let me actually post the comment so have to use horrid IE instead when commenting on YouTube vids..
Mud is good!
mikejo28
New Member
Posts: 1
Joined: August 27th, 2015, 8:48 pm

Re: Copy and paste does not work in comments field on youtub

Post by mikejo28 »

Yes- I just found on 8-27-2015 PM, that I cannot paste an address from my FIrefox address line
into a comment box in YouTube !!!!
This is my standard way of pointing people to good pages !!!
THis is using ctl-C/ ctl-V
and also the Edit menus cut and paste.
Neither works !!!

So I guess I'll have to try dragging this info somehow.

I am not going to type it in by hand !!!

Mike

Damn Youtube !!!!!!!!!!
Damn Geegle Plus !!!!!!!
it USED TO BE GOOD !!!!
antdude
Posts: 21
Joined: December 12th, 2005, 1:23 pm
Location: An Ant Farm
Contact:

Re: Copy and paste does not work in comments field on youtub

Post by antdude »

Same here, guys! Here is what I noticed. It is only with Gecko web browsers. Safari and Chrome had no problems. I didn't try IE though. I see other people are posting abou it in https://productforums.google.com/forum/ ... es/youtube too! You guys should post there too like I did. ;)
Ant @ The Ant Farm (http://antfarm.home.dhs.org) and Ant's Quality Foraged Links (http://aqfl.net).
User avatar
therube
Posts: 21714
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Copy and paste does not work in comments field on youtub

Post by therube »

Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Fiantella
New Member
Posts: 1
Joined: August 28th, 2015, 12:51 pm

Re: Copy and paste does not work in comments field on youtub

Post by Fiantella »

I think Youtube (Google) is trying to force Firefox Users to use Chrome (their browser), and this abusing people's rights. I won't switch just for that. Firefox is way better browser: richer in Addons and features, and now even faster. Don't fall for it. They are trying to abolish the most obvious competitor.
antdude
Posts: 21
Joined: December 12th, 2005, 1:23 pm
Location: An Ant Farm
Contact:

Re: Copy and paste does not work in comments field on youtub

Post by antdude »

Fiantella wrote:I think Youtube (Google) is trying to force Firefox Users to use Chrome (their browser), and this abusing people's rights. I won't switch just for that. Firefox is way better browser: richer in Addons and features, and now even faster. Don't fall for it. They are trying to abolish the most obvious competitor.
Heh. Yeah, nice try Google! FYI as a temporary workaround until Google fixes it (if ever):

From https://groups.google.com/a/googleprodu ... rce=footer thread's post as a workaround (Google still needs to fix it since they broke its paste feature):

"Solved! In just 3 steps

open about:config in mozilla
search dom.event.clipboardevents.enabled in the search box which comes.
Now turn this to false.

Done
Source: http://merabheja.com/fix-can-not-paste- ... g-mozilla/ "
Ant @ The Ant Farm (http://antfarm.home.dhs.org) and Ant's Quality Foraged Links (http://aqfl.net).
antdude
Posts: 21
Joined: December 12th, 2005, 1:23 pm
Location: An Ant Farm
Contact:

Re: Copy and paste does not work in comments field on youtub

Post by antdude »

Wouldn't this be Google's fault?
Ant @ The Ant Farm (http://antfarm.home.dhs.org) and Ant's Quality Foraged Links (http://aqfl.net).
User avatar
MarkRH
Posts: 1360
Joined: September 12th, 2007, 2:30 am
Location: Edmond, OK
Contact:

Re: Copy and paste does not work in comments field on youtub

Post by MarkRH »

Judging from this: https://developer.mozilla.org/en-US/doc ... ts.enabled YouTube is probably detecting the paste and not allowing it for some reason. The about:config toggle lets it work.
User avatar
OldManRivuh
Posts: 401
Joined: October 5th, 2004, 9:48 am
Location: Northern, CA

Re: Copy and paste does not work in comments field on youtub

Post by OldManRivuh »

But you generally do not want to disable dom.event.clipboardevents.enabled.

You can have an about:config tab open with that value and double-click it to
disable and enable it if you are doing multiple YouTube comment pastes.

But it would be nice to have a bookmarklet or something that can be clicked
to fix the problem without having to do the about:config "fix".

Or a Greasemonkey script.

I haven't found a way to "fix" the problem with JavaScript yet, though.
User avatar
MarkRH
Posts: 1360
Joined: September 12th, 2007, 2:30 am
Location: Edmond, OK
Contact:

Re: Copy and paste does not work in comments field on youtub

Post by MarkRH »

You can use Custom Buttons, https://addons.mozilla.org/en-US/firefo ... m-buttons/ , to make a button to toggle the setting. Use the following initialization code:

Code: Select all

/*Initialization Code*/
var Title = "YouTube";
var TTE = "YouTube Disabled";
var TTD = "YouTube Enabled";
var prefBranch = Components.classes["@mozilla.org/preferences-service;1"].
  getService(Components.interfaces.nsIPrefBranch);
 
this.onLeftClick=function(event)
{
  if (!prefBranch.getBoolPref("dom.event.clipboardevents.enabled")) {
    prefBranch.setBoolPref("dom.event.clipboardevents.enabled", true);
    custombuttons.alertSlide(Title, TTE);
  } else {
    prefBranch.setBoolPref("dom.event.clipboardevents.enabled", false);
    custombuttons.alertSlide(Title, TTD);
  }
}

this.execute= function(event)
{
   switch(event.button)
   {
      case 0:
         this.onLeftClick();
         break;
   }
}
this.setAttribute("onclick", "this.execute(event);");


With this code, "YouTube Enabled" means the setting is false to allow comments to work.
GrayFace
Posts: 3
Joined: July 11th, 2009, 8:45 pm

Re: Copy and paste does not work in comments field on youtub

Post by GrayFace »

Here's my fix: https://greasyfork.org/en/scripts/12433 ... on-youtube
Requires Scriptish/Greasemonkey.
Gubbio
Posts: 161
Joined: December 29th, 2008, 12:36 pm

Re: Copy and paste does not work in comments field on youtub

Post by Gubbio »

A while back, I came across a YouTube video which instructed to add the following cookies to allowed "Exceptions."

Enter in Options> Privacy> Cookies Exceptions:

plus.googleapis.com

google.com

plus.google.com

apis.google.com

I don't pretend to understand why it works, but it does.

-Mike
Locked