MozillaZine


Can't comment in Youtube/Google+; 3rd-party cookies disabled

Discussion of general topics about Mozilla Firefox
BunkFace

User avatar
 
Posts: 71
Joined: December 31st, 2003, 7:50 am

Post Posted November 20th, 2013, 2:49 am

Ever since Youtube required Google+ to comment, I had been unable to comment on Youtube videos, even though I have a Google+ account linked to my Youtube account. Clicking on a comment box opens up a new tab with an URL that looks something like https://plus.google.com/u/0/wm/4/up/?type=st&client=7&gpsrc=gpfw0&parent=https%3A%2F%2Fapis.google.com&proxy=I1_...&rsz=1&hl=en_US, then that tab get closed and I get returned to the Youtube page I am viewing, still unable to comment.

Upon further troubleshooting, I realized that this is due to having 'accept third-party cookies' set to 'Never' in Firefox' settings. Allowing third-party cookies for all sites (setting it to 'always') makes me able to comment in Youtube normally.

I still would prefer to disable third party cookies for all websites and just make an exception for Youtube, though. So, I tried making an exception for 'youtube.com' and 'plus.google.com' in Firefox options > Privacy > History > Exceptions and have set it to 'allow', but I still can't comment. Adding 'google.com' in the cookie settings exception fixes this issue but this will also allow third party cookies for all google.com websites. I'd rather not do that to prevent Google from tracking me more than it already does.

How do I configure Firefox to allow commenting in Youtube while still mostly not allowing third-party cookies by default? Are there extensions that can allow this in such a way that third-party cookies are still mostly disabled (just allow it at times I would like to comment in Youtube, or make an exception for Youtube)?

I'm using Firefox 25.0.1 on Windows 7.

malliz
Folder@Home

User avatar
 
Posts: 44213
Joined: December 7th, 2002, 4:34 am
Location: Australia

Post Posted November 20th, 2013, 4:57 am

Maybe something here
viewtopic.php?f=38&t=2767529
What sort of man would put a known criminal in charge of a major branch of government? Apart from, say, the average voter.
"Terry Pratchett"

Omega X

User avatar
 
Posts: 8197
Joined: October 18th, 2007, 2:38 pm
Location: A Parallel Dimension...

Post Posted November 20th, 2013, 7:21 am

Latest: Firefox/84.0 *ESR/78.6.0 - Mobile/81.1.5 - Thunderbird/78.5.0
Nightly: Nightly/86.0a1 - Mobile/GV 86.0a1 - Daily/85.0a1

BunkFace

User avatar
 
Posts: 71
Joined: December 31st, 2003, 7:50 am

Post Posted November 24th, 2013, 4:47 am

Reposting solution that worked for me here:

Omega X wrote:For future reference: (For those without NoScript.)

The new Youtube comments uses Google Plus. In order for the scripts to work, you have to allow the Third Party Google.com iframe to set cookies within the First Party Youtube.com.

If you have block Third Party enabled, go to Options > Privacy > Exceptions and add the two subdomains below and ALLOW them to be set and accessed.

1. plus.google.com
2. apis.google.com

Those two will properly allow the cookies to set and the scripts to do their thing. Without them, blocking Third Party Google.com won't have access to the Youtube.com First party domain.

I found that plus.googleapis.com not to get the job done so to speak. Plus.google.com will allow the notification panel to work and apis.google.com for the comments iframe/scripts to work.

I only added `apis.google.com` as an exception and set it to 'allow for session'.

Omega X

User avatar
 
Posts: 8197
Joined: October 18th, 2007, 2:38 pm
Location: A Parallel Dimension...

Post Posted November 24th, 2013, 10:12 am

If you allow for session, you'll have to log in again the next time you want to post a comment.

Adding an exception for plus.google.com allows the notification bell to work when you receive a reply or other activity on your Youtube or G+ profile.
Latest: Firefox/84.0 *ESR/78.6.0 - Mobile/81.1.5 - Thunderbird/78.5.0
Nightly: Nightly/86.0a1 - Mobile/GV 86.0a1 - Daily/85.0a1

BunkFace

User avatar
 
Posts: 71
Joined: December 31st, 2003, 7:50 am

Post Posted November 25th, 2013, 8:43 am

Omega X wrote:If you allow for session, you'll have to log in again the next time you want to post a comment.

In my experience, YouTube does not require me to log in every time I want to comment, even if I set `apis.google.com` to 'allow for session'. This is even after I have closed and reopened the browser (new browser session). `

Omega X

User avatar
 
Posts: 8197
Joined: October 18th, 2007, 2:38 pm
Location: A Parallel Dimension...

Post Posted November 25th, 2013, 11:08 am

It was only a suggestion to make sure everything worked as intended. But its your choice as how to handle sessions. Good luck.
Latest: Firefox/84.0 *ESR/78.6.0 - Mobile/81.1.5 - Thunderbird/78.5.0
Nightly: Nightly/86.0a1 - Mobile/GV 86.0a1 - Daily/85.0a1

Return to Firefox General


Who is online

Users browsing this forum: No registered users and 3 guests