Before You Continue to Google or YouTube: How to Stop the Consent Prompt

Martin Brinkmann
Updated •
Internet, Youtube

"Before you continue to Google" (or "to YouTube") is Google's cookie consent page. It appears when you visit Google Search or YouTube signed out or in an Incognito window and your browser has no saved consent choice. To stop it, pick Reject all or Accept all once and let the browser keep cookies for Google and YouTube, or sign in to your Google account. Private windows and cookie cleaning on exit bring it back every time.

This guide explains where the prompt comes from, why it keeps popping up, how to check that the page is genuine, and the browser settings that make your choice stick in Chrome, Firefox and Edge.

Google Before you continue to YouTube cookie consent prompt

What is the "Before you continue to Google" page?

The "Before you continue to Google" page is the consent screen Google shows signed-out visitors of Search and YouTube in Europe before it sets optional cookies. Google rolled out the current version in France in April 2022, after the French regulator CNIL fined it over its earlier banner, and announced it for the rest of the European Economic Area, the UK and Switzerland. The Google announcement describes the first screen with two equal buttons:

  • Reject all: Google uses only the base set of cookies needed to deliver services, protect against spam and fraud, and measure audiences.
  • Accept all: Google also uses cookies to develop new services, measure ad effectiveness, and personalize content and ads.
  • More options: opens a page where you switch the individual purposes on or off.

Both choices let you use Google Search and YouTube. The prompt is not a sign-in requirement and it is not an error. Google's cookie policy says the choice is stored in a cookie called SOCS that lasts 13 months, which is why the page normally appears only once per browser.

Why does "Before you continue to Google" keep popping up?

"Before you continue to Google" keeps popping up when your browser cannot keep the SOCS consent cookie, so Google sees every visit as a first visit. The common causes are:

  • Private or Incognito windows: cookies are deleted when the window closes, so each new private session asks again.
  • Cookies deleted on exit: a browser setting that clears cookies and site data when you close it removes the saved choice.
  • Cleanup tools and extensions: system cleaners and cookie auto-delete extensions wipe the cookie in the background.
  • Blocked site data: if the browser blocks first-party cookies for Google or YouTube, the choice cannot be saved at all.
  • Different sites or browsers: the choice lives in one browser profile, so another browser, profile or device asks again, and Google Search and YouTube may each ask once.

If none of these apply and the prompt returns after a reload, delete the cookies for google.com and youtube.com once, restart the browser and make the choice again.

Is the consent page safe? Check the address

The genuine consent page loads on a Google domain: consent.google.com for Google Search and consent.youtube.com for YouTube. After you click a button, the address briefly changes to a path such as consent.youtube.com/save and then returns you to the page you wanted. Those addresses are normal and are part of how Google records your choice.

Be careful if a "Before you continue" page asks for your Google password, a phone number, payment details or a software download. The real consent page only offers cookie choices. A sign-in request on a page whose address does not end in google.com or youtube.com is a phishing attempt; close it and open google.com directly from the address bar.

How to stop the prompt: keep your choice saved

The reliable way to stop the prompt is to make one choice and let your browser keep cookies for Google and YouTube, even if it clears other sites on exit. These are the official settings paths:

  1. Chrome: open Settings, then Privacy and security, Site settings, Additional content settings, On-device site data. Choose "Allow sites to save data on your device", or keep "Delete data sites have saved to your device when you close all windows" and add google.com and youtube.com under Customized behaviors as sites that may keep their data. The default options are described in Chrome Help.
  2. Firefox: open Settings, Privacy & Security, Cookies and Site Data, select Manage Exceptions, enter https://www.google.com and https://www.youtube.com, select Allow and save. With "Delete cookies and site data when Firefox is closed" enabled, sites set to Allow keep their cookies.
  3. Microsoft Edge: open Settings, Privacy, search, and services, go to the browsing data section and open "Choose what to clear every time you close the browser". If "Cookies and other site data" is on, add google.com and youtube.com to the list of sites whose data is not cleared. Edge renames these settings from time to time, so search Settings for "clear" if the labels differ.

Firefox Exceptions for Cookies and Site Data dialog with a website address field

Then visit google.com and youtube.com once and pick Reject all or Accept all. Choose Reject all if you only want to get past the page without optional tracking. Firefox users who clear history on close should also uncheck Cookies and Site settings in the "Clear history when Firefox closes" options, because exceptions are stored as site settings.

Sign in to skip the prompt entirely

Signing in to a Google account is the other legitimate way to avoid the "Before you continue" page, because Google shows it to signed-out visitors and Incognito sessions. Once you are signed in, you manage privacy and ad choices in your account through Google privacy tools and My Ad Center.

Signing in is a trade-off: it removes the consent prompt but links your searches and watch history to your account unless you turn those settings off. If you sign in for this reason, review Web and App Activity auto-delete and how to delete your Google history. If you prefer to stay signed out, the cookie exceptions above are the better fix.

How to reduce "Sign in to Google" popups

"Sign in to Google" popups are a separate prompt from the consent page: they ask you to sign in, not to choose cookies, and they appear on Google sites and on third-party sites that offer Sign in with Google. You cannot remove them everywhere, but two official settings reduce them:

  • Google Account: on the Sign in with Google settings page in your account, turn off Sign-in prompts. Google says this stops the prompt on Android and in Chrome and some other browsers, per How Sign in with Google works.
  • Chrome: open Settings, Privacy and security, Site settings, Additional content settings, Third-party sign-in, and select "Block sign-in prompts from identity services". The Chrome Help page on third-party sign-in notes that websites may still show similar prompts, and normal sign-in buttons keep working.

Google says you need both settings off to keep the prompt away in Chrome, and that Safari does not let you manage or disable these prompts. On Google Search and YouTube themselves, signed-out visitors can dismiss the sign-in reminder, but like the consent choice the dismissal is lost when the browser clears cookies, so the exceptions above help here too.

What about blocking cookies on consent.youtube.com?

Blocking cookies for consent.youtube.com is a 2021 workaround that this article originally recommended, and we no longer suggest it. At the time, adding consent.youtube.com to the browser's cookie block list sent visitors straight to YouTube without the consent screen.

The trick depends on undocumented behavior of Google's consent flow, which Google rebuilt in 2022 with the Reject all option, and it can stop working without notice. It also prevents the browser from storing any choice, so you never get a saved Reject all. Making the choice once and keeping the cookie is simpler and works across Google Search and YouTube.

Older Chrome cookie settings page from 2021 with a site added to the block list

FAQ

Does Reject all stop every Google cookie?

No. Google still uses a base set of cookies to deliver and secure its services and to measure audiences; Reject all turns off the optional purposes such as personalized ads and personalized content.

How long does my choice last?

Google's cookie policy says the SOCS cookie that stores your choice lasts 13 months, so you may see the page again about once a year or after you clear cookies.

How do I change my choice later?

Signed-out users can delete the cookies for google.com or youtube.com and reload the site to get the page again. Signed-in users manage these choices in their Google Account privacy and ad settings.

Related: configure Firefox to reject cookie banners, protect site-specific cookies with Cookie Quick Manager, Google Chrome content settings explained

Comments

  1. joe said on
    Reply

    can someone create a decent openscource addon which combines all the working stuff please, my youtube was working fine up until about 10-15 days ago, everything blocked perfectly then i updated to the latest versions of ublock and noscript(for the first time in about 18months+) and now the consent forms are back, this time my comments section is not loading, i wonder what happened in the recent updates of ublock and noscript to make this happen as it worked fine before, i never had any adverts + rarely got an nag screen(i previously found that i could usually bypass the nag screen by loading to a youtube video page instead of the main youtube homepage so i always keep a video bookmarked as my way into youtube). I tried reverting back to the older versions of ublock and noscript but still have same problem, something changed after i updated or maybe the youtube scripts updated.

    Im sure youtube’s people read this site and do everything they can to combat everyones efforts to bypass stuff sadly, youtube is getting to invasive, bitchute here we come.

  2. Martin said on
    Reply

    How ban that crap via host file and any NO rooted android phone! This is malware!

  3. narvalow said on
    Reply

    This hack worked perfectly… but is now broken (as of today 0:00 GMT)… :-(

  4. DemonFromWalmart said on
    Reply

    This was a triumph.
    I’m making a note here:
    HUGE SUCCESS.
    It’s hard to overstate my satisfaction.

  5. Anonymous said on
    Reply

    So far only way without blocking YT comments :

    ViolentMonkey or TamperMonkey browser addon + script “Youtube – dismiss sign-in”

  6. TelV said on
    Reply

    Easiest way to watch youtube videos is to go to the site and make a note of the URL to each video you like.

    Then download VLC media player, hit Ctrl + N to open the Network field and paste the link in there. Click Play, or just hit Enter. https://www.videolan.org/

    No ads, no pesky cookie notices, no need to login to youtube etc., etc.

  7. Xiquin said on
    Reply

    On Firefox (Windows 10) blocking consent.youtube.com will prevent comments from loading on all videos, unless I am connected to my account.

  8. Elisa said on
    Reply

    Really Bravo

  9. aplo said on
    Reply

    Most of the above didn’t work for me, but the FF “Consent Blocker” add-on does the job flawlessly for both Google and YouTube.

    It apparently also works on many other sites, something I haven’t tested.

    But I would like to see that add-on open-source its code.

  10. Alexandre said on
    Reply

    I can’t set exception to block only YouTube cookies with firefox for android.
    I put few lines in ublock origin to skip consent, and third cookies blocked, but only works when setting for cookies are turned on all blocked. With this setting, for many websites, it’s impossible to log-in or even read. And there’s not a plenty of add-on on Firefox for Android.

  11. PN Internet User said on
    Reply

    Hi Everyone,

    For once I have a happy contribution to make :)

    For all those using the Vivaldi Browser, to overcome this insanely aggravating problem, the solution in Vivaldi is quite simple. At the consent popup page click the padlock icon in the address bar, click cookies, highlight the entry in the window, choose block, check that the entry is in the block list, click done.

    It might be a good idea to block ALL cookies from YouTube as well and in combination with the plugins “Cookie Auto Delete”, “Ublock origin”, “Clear URLs”, and “Do Not Consent”

    Other Chrome based browsers may have similar sorts of cookie control as Vivaldi, check and experiment to find the best combination that works for you.

    PN Internet User.

  12. mitsouko said on
    Reply

    this solution is partial

    it breaks youtube comments display

    needs improvement with some filter rule for adblocker to unbreak it

  13. XYZ said on
    Reply

    This did not work for me, so now we have also lost the age confirmation bypass, and therefore without validation of a document it will no longer be possible to see videos with content not suitable for minors :(

  14. Anonymous said on
    Reply

    hiya I have a problem were if I press ‘ I agree’ it will redirect me to Before you can continue to youtube. And it goes again and again and again…. so cud anybody give some help….
    tnx.

  15. Max said on
    Reply

    For everyone who has successfully removed the consent and log in banners on Youtube but is annoyed at the missing auto start when opening a video:

    https://stackoverflow.com/questions/63680896/how-to-block-the-annoying-sign-in-to-youtube-popup

    Using the script in the marked answer restored the video auto start to normal. No banners and the video starts immediately :)

  16. Benjamin said on
    Reply

    Next zu ublock origin and some cookie manager, forget me not, i use

    https://addons.mozilla.org/en-US/firefox/addon/user-agent-platform-spoofer/

    Anyone else ?

  17. wad said on
    Reply

    @aix i don’t know.. as i’m no expert, but before i blocked consent.google.com cookies on my firefox (noscript, ubo, umatrix, block loads of cookies) i get a prompt everytime i search (since 1st apr or 31 mar i think).. i can’t even complete the form to get rid of it because ubo then blocks something (googleadservice or whatever) upon submission.

    after i blocked cookies consent.g i have no problems… yet. got lucky somewhere i guess.

    1. DuMuT6p said on
      Reply

      @wad,
      did you block it as the article or in one of mentioned add ons ?

  18. Anonymous said on
    Reply

    Thanks a lot, with Consent-Blocker, Google cannot redirect me to consent.youtube.com now.

  19. thomas said on
    Reply

    thanx a lot for the tip: Consent-Blocker in combination with “I don’t care about cookies” does ist perfect!!

    In uBlock, my filters, add:

    http://www.google.co.uk##.jw8mI
    http://www.google.co.uk##.vUd4jb

    That’s Google consent blocked. Now for Youtube – easiest way is to add “Consent Blocker” Addon / Extension

  20. Anonymous said on
    Reply

    Hopefully someone can create a simple filter like they did for the pre-2021 Youtube popup.
    Having to accept a cookie to confirm that we don’t want cookies is just so counter-productive & resets every time we clear our cookies.

    I’m also not downloading any add-ons from these companies to disable cookies due to it again being counter-productive as it follows you around the web.

    There needs to be some additions to the privacy laws so that these companies can’t sneak their way around them.

  21. Anonymous said on
    Reply

    I always open it in private window but I never got this prompt.. Maybe because I’m using ublock?

  22. PN Internet User said on
    Reply

    I wonder how many people still love this evil corporation because of the convenience it offers, has it occurred to “goggle” that by taking these measures they are progressively shooting themselves in the foot, in terms of passive users who have no commercial interests in this site ?, and how will a reduced use of the site by those whom are aware of their dirty tricks, affect the audiences of legitimate contributors.

    Find some alternatives, get the word out to as many people as you can, and STOP using YouTube until they STOP this arrogant nonsense. They are behaving like a petulant child and need to be ignored !

    I’ve come to the end of my patience with this dictatorial, fascist, corporation who thinks its God, it needs a dose of extended humility.

    Thanks to Martin and all above who supplied the fix, the failure to display comments in YT is not a vital function, but will be missed.

  23. Anonymous said on
    Reply

    I solved it by creating a rule for the Redirector extension.

  24. Lucas said on
    Reply

    i was stunned google would now go that far to enforce use of cookies.
    i had to change my blocking in uMatrix to allow consent.google.com but blocking cookies (and that one thing in the other column) made me able to use google again (and it works even if i only allow the CSS to make it a bit prettier)
    Thanks Martin for showing us how to use google without being nagged

  25. Anonymous said on
    Reply

    The exceptions setting in Firefox hasn’t worked properly for me for ages, i suspect it’s something to do with that First Party Isolation setting they rolled out a number of releases ago but i don’t know. So just putting in ‘https://consent.youtube.com’ and setting it to block doesn’t work, however if i go through page info (Ctrl+I) then permissions and block it that way it places an entry in exceptions as – ‘https://consent.youtube.com^firstPartyDomain=youtube.com’ and when i set that to block it suddenly works. Anyone else have this problem?

  26. Anonymous said on
    Reply

    I found this works in the UK for Firefox:

    In uBlock, my filters, add:

    http://www.google.co.uk##.jw8mI
    http://www.google.co.uk##.vUd4jb

    That’s Google consent blocked. Now for Youtube – easiest way is to add “Consent Blocker” Addon / Extension

    Now you can clear all your cookies when you quit and you won’t get pestered again.

    Google sucks! Remember all the promises about Youtube being left to run independently when Google took over….

  27. nax said on
    Reply

    Many thanks, this is quite useful.

  28. Anonymous said on
    Reply

    Google completely ruined YouTube. Now they are running experiments on people by hiding the thumbs down on videos. Google needs to be broken up further.

  29. TelV said on
    Reply

    VLC can’t stream videos on youtube now because the consent page loads before the video.

    However, in some cases creating a log file and then copy/pasting the main debug which contains the prefix https://consent.youtube.com= followed by the URL and other data to the video works. Here’s an example:
    https://consent.youtube.com/ml?continue=https://www.youtube.com/watch?v%3DcAoEtttA1vU&gl=NL&hl=en&pc=yt&uxe=23983172&src=1

    The original link to the same video which won’t play in VLC is https://www.youtube.com/watch?v=cAoEtttA1vU

    1. Anonymous said on
      Reply

      Consider trying an embedded youtube video link instead of the regular one, since the embedded does not seem to open up any popup/page for consent so for https://www.youtube.com/watch?v=cAoEtttA1vU the embedded link would be https://www.youtube.com/embed/cAoEtttA1vU

    2. XYZ said on
      Reply

      This did not work for me, so now we have also lost the age confirmation bypass, and therefore without validation of a document it will no longer be possible to see videos with content not suitable for minors :(

    3. Marko said on
      Reply

      I found an easier workaround :D Tools -> Preferences -> Show settings: All -> Input/Codecs -> Access modules -> HTTPS -> uncheck Cookies forwarding

      1. TelV said on
        Reply

        @ Marko,

        Cookie forwarding over https is there for a reason.

        Removing that option implies that cookies will still be sent, but over an unencrypted connection. Any hackers sniffing the network can hijack a session cookie and play havoc with it.

        So I’ll stick with my tried and tested solution as above ;)

  30. Anonymous said on
    Reply

    if i block consent.youtube.com in cookie settings this redirect is gone BUT comments below youtube videos are broken. there is only that rotating circle loading-thingamajigs where comments should be shown. :(

    1. Tom Hawack said on
      Reply

      @ All ‘Anonymous’ : please free your imagination, who’s who in this anonymous galaxy?
      @Anonymous who said on April 1, 2021 at 2:25 pm,
      @Anonymous who said on April 1, 2021 at 2:33 pm

      1- Further Consent cookies are blocked, but have you checked if previous ones have been removed?
      2- Try ‘YouTube Popup Tamer’ [https://addons.mozilla.org/en-US/firefox/addon/youtube-popup-tamer/]

  31. Anonymous said on
    Reply

    if i block consent.youtube.com in cookie settings, comments below youtube videos aren’t showing anymore. there is only that always rotating loading-thingamajigs where comments should be shown. :(

  32. Anonymous said on
    Reply

    Thanks for the information Martin.

  33. Anonymous said on
    Reply

    Automatic redirection to Invidious (and more):

    https://addons.mozilla.org/firefox/addon/privacy-redirect/

  34. m3city said on
    Reply

    This method – thanks, set it right away. But I use desktop freetube, that asks no questions, does not bubble me, track or whatever. Breaks from time to time – yes. But it’s easy to swallow for me.

  35. DuMuT6p said on
    Reply

    Thanks for the article, Martin.

    However do you or someone else know how to do this in uBlock origin? So it can be backed up along with block for other promps.

  36. FoxPilled said on
    Reply

    I wasn’t aware of this trick Martin, many thanks!
    Did that ins Firefox’s uMatrix instead since I prefer it over this.

    (I also wrote a script as fallback that can speed it up in case those pesky Google engineers break your method.)

  37. Sol Shine said on
    Reply

    Handy. Thanks.

    1. Sol Shine said on
      Reply

      Update:
      I applied this tip, but when I clear my browsing history, the ‘consent.youtube.com’ cookie exception I added is removed.
      This happens in Firefox and Ungoogled Chromium.
      I clear my browsing history often, so this tip does not work for me.

  38. Anonymous said on
    Reply

    Adblock Plus? uMatrix? I don’t care about cookies? Something is doing the trick.

    1. ryuk said on
      Reply

      uBO Dashboard -> My filters tab

      ! YT consent youtube.com##+js(set, ytInitialData.topbar.desktopTopbarRenderer.interstitial.consentBumpRenderer.forceConsent, false) youtube.com##+js(json-prune, [].response.topbar.desktopTopbarRenderer.interstitial.consentBumpRenderer) youtube.com##+js(json-prune, topbar.desktopTopbarRenderer.interstitial.consentBumpRenderer)

      1. Bun said on
        Reply

        Works for me on uBlock Origin Chrome.
        Add the following to “My filters”:

        consent youtube.com##+js(set, ytInitialData.topbar.desktopTopbarRenderer.interstitial.consentBumpRenderer.forceConsent, false) youtube.com##+js(json-prune, [].response.topbar.desktopTopbarRenderer.interstitial.consentBumpRenderer) youtube.com##+js(json-prune, topbar.desktopTopbarRenderer.interstitial.consentBumpRenderer)

      2. NotAnonymousInReality said on
        Reply

        Unfortunately that YT consent filter doesn’t work for me @ryuk.
        Zelanium’s google.*##^script:has-text(consentCookiePayload) filter worked a treat for the Google one though.

        Google are awful, EU introduces a law so we can opt-out of cookies & Google keeps making new scripts so even after blocking cookie nag-ups a new one pops up.
        It’s clear they don’t want to play nice with their customers.

  39. wad said on
    Reply

    thanks for that… might want to block consent.google.com as well… something changed there today or so as well…

    1. aix said on
      Reply

      Yeah, I’ve been getting these pop-ups on the main search page as well (for clean browser sessions), so thanks for the heads up.

      1. aix said on
        Reply

        Nevermind, consent.google.com didn’t work, only the youtube one.

      2. Zelanium said on
        Reply

        Cookie blocking doesn’t help me on YouTube. The Google popup can be removed (apparently without breaking the tools/search) with adding

        google.*##^script:has-text(consentCookiePayload)

        to your uBlock filters. Will now read more comments to find a solution for YouTube. Thanks to every contributor.

      3. Anonymous said on
        Reply

        Finally, I tried dozens of filters seen all over the web and this was the first one that really works.
        Thank you very much!!!

      4. Tommy said on
        Reply

        Thank you Zelanium for that one it works well, Cheers

      5. Zelanium said on
        Reply

        Edit: Currently it seems that disabeling first party isolation and blocking the cookies works. I only get the YouTube popup for a short moment, then it vanishes. So active first party isolation breaks the fix (apparently). If it still doesn’t work for some readers and you have uMatrix, disable it and try again. I made several tests before this post, on two laptops (Win7 and Win10). The Google popup is gone for me too. I make this post “as it is” because the picture might look different again in an hour.

        P.S. While looking for a solution I have read that blockig the consent cookies can cause YouTube videos to pause and other failures. This is unverified. I advise everybody to test it.

Leave a Reply

By commenting, you accept our privacy policy and keep the discussion respectful and on topic.