How to deal with Google's and YouTube's aggressive popups (before you continue, sign
#1
Lightbulb 
Quote:
[Image: block-google-before-you-continue.png]

When you visit Google's main website for the first time, or after clearing cookies, you get a "before you continue" popup. On YouTube, another Google property, you will get a "sign in to YouTube" popup instead.

You need to click on "I agree" on Google's site or "no thanks" on YouTube to get rid of these popups and start using the sites.

Problem is: if you clear cookies regularly, you will get these prompts again. It can be quite annoying to deal with these popups each time, e.g. to inform YouTube for the hundredth time that you don't want to sign-in to the site.You have a handful of options at your disposal to deal with this. One of the easier ones is to use a different search engine and site, without losing access to Google search results or YouTube videos.

You could use Startpage Search, as it is powered by Google's results, and for YouTube, you could use an Invidious mirror site, a desktop program like SMPlayer, or an app like NewPipe.

If you prefer to use the original sites, you could block the popups that Google displays on its main site and on YouTube instead.

For that, you need to use a content blocker such as uBlock Origin; it should work with others as well as the syntax is used by many.

To block YouTube's "sign in to YouTube" popup

Add the following lines to the My filters tab of the uBlock Origin settings:
 
Quote:www.youtube.com###dialog
www.youtube.com##.opened

The first blocks the actual popup, the second a fullscreen overlay that YouTube displays once you block the popup.

YouTube won't display the popup anymore after you add these options. Note that you need to reload the pages, and that there is a downside to using these as all videos will pause a moment after they have started. You can hit the play button to start playback anew though and watch the videos like you normally do.

Note: if you notice issues with the first, some users reported that search stops working, you may want to try the following lines instead:
 
Quote:youtube.com##ytd-popup-container
youtube.com##ytd-consent-bump-lightbox.style-scope
www.youtube.com##.opened
...
Continue Reading
[-] The following 2 users say Thank You to harlan4096 for this post:
  • silversurfer, Ultimo
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)
[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Recent Posts
Ubuntu 24.04.2 LTS / 24.10
Ubuntu 24.04.2 LTS...harlan4096 — 08:43
Microsoft Defender Antivirus security in...
Microsoft Defender...harlan4096 — 08:41
Microsoft Edge 133.0.3065.82
Version 133.0.3065...harlan4096 — 08:39
Ventoy 1.1.03
Ventoy 1.1.03​ ...harlan4096 — 08:38
AdGuard Browser Extension 5.0.198 (Relea...
AdGuard Browser Ex...harlan4096 — 08:37

[-]
Birthdays
Today's Birthdays
No birthdays today.
Upcoming Birthdays
avatar (45)dimaWeami
avatar (43)Baihu

[-]
Online Staff
There are no staff members currently online.

>