Adguardfilters: google.* EU consent popup rule breaks settings link in search results

Created on 8 Sep 2020  路  5Comments  路  Source: AdguardTeam/AdguardFilters

Description:

Google recently introdcued a consent popup for users from within EU countries.
You seem to have tackled it with...
google.*##html:style(overflow: visible !important;)

  • Current behaviour:

...which doesn't allow to edit the search settings within the search results.
Clicking on settings is now non-functional.

  • Expected behaviour:

Settings should be accesseable.

Steps to reproduce the problem:

Search Google with a IP from a EU member state and try to click on the settings link in the search results.

System configuration

Filters:

I'm on FF80 with uBlockOrigin using your Annoyance list.

All 5 comments

Please ensure your filters are up2date. We do not have such rule anymore as we switched to a JS rule.

google.*,youtube.com#%#(function(){try{var b=(new Date).getTime(),c=new Date(b+1314E6),a=location.host;a.startsWith("google.")||a.startsWith("youtube.")||(locSubString=a.substring(a.indexOf(".")+1));loc=locSubString||a;document.cookie="CONSENT=YES+; domain="+loc+"; path=/; expires="+c.toUTCString()}catch(d){}})();

Your lists were indeed outdated (2 days old).
I updated all of them manually, but now the consent popup is back in its full glory.
I also restarted Firefox and cleaned the browser cache, same result, the popup is back now.

Please add the rule I posted to user filter. FF can't get JS rules until a new extension version (API restriction).

I'm on FF80 with uBlockOrigin using your Annoyance list.

Can you test this in uBlock Origin:

by CSS:

www.google.*##body.QVCmK:style(position: static !important; overflow-y: visible !important;)
www.google.*##html.QVCmK:style(overflow-y: visible !important;)
www.google.*###main #lb > div[id^="_"] > div[class*=" "]:not([id]):empty:matches-css(opacity: 0.7)
www.google.*###main #lb > div[id^="_"] > div[class*=" "]:not([id]):has( > span > div[role="dialog"] > #cnsw > iframe[src*="://consent.google.com"])

by :remove():

www.google.*###main #lb > div[id^="_"] > div[class*=" "]:not([id]):empty:matches-css(opacity: 0.7):remove()
www.google.*###main #lb > div[id^="_"] > div[class*=" "]:not([id]):has( > span > div[role="dialog"] > #cnsw > iframe[src*="://consent.google.com"]):remove()

I suppose also break "Search settings" (but I can use "more" / "settings" / "tools" buttons - so you have other options)?

This works fine for me, I haven't experienced any problems so far, "Settings/Advanced search" does work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adguard-bot picture adguard-bot  路  77Comments

adguard-bot picture adguard-bot  路  60Comments

adguard-bot picture adguard-bot  路  126Comments

adguard-bot picture adguard-bot  路  59Comments

adguard-bot picture adguard-bot  路  128Comments