AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / computer / 问题 / 1595367
Accepted
Martin Monperrus
Martin Monperrus
Asked: 2020-09-22 10:10:07 +0800 CST2020-09-22 10:10:07 +0800 CST 2020-09-22 10:10:07 +0800 CST

如何阻止谷歌上烦人的“继续之前”弹出窗口?

  • 772

在禁用 cookie 或扩展Cookie-AutoDelete或类似功能的情况下使用 Google 之前。

几个星期以来,这种情况消失了。每次删除 cookie 后,我都会收到一个弹出窗口,我必须“接受”。

在您继续之前

Google 使用 cookie 和其他数据来提供、维护和改进我们的服务和广告。如果您同意,我们将根据您在 Google 服务(如搜索、地图和 YouTube)上的活动来个性化您看到的内容和广告。我们也有合作伙伴来衡量我们的服务是如何使用的。点击“查看更多”查看您的选项或随时访问 g.co/privacytools。

[我同意]

这意味着我们基本上被迫接受无所不能的谷歌cookie。

这类似于“登录到 youtube”弹出问题

如何在保留短暂的可抛出 Google cookie 的同时避免“继续之前”弹出窗口?

注意:Google Consent Dialog Remover存在,但不再起作用。

privacy cookies
  • 4 4 个回答
  • 46449 Views

4 个回答

  • Voted
  1. Stephen Stephenson
    2020-09-23T05:54:19+08:002020-09-23T05:54:19+08:00

    只需阻止您看到此弹出窗口的页面的所有 cookie,瞧。

    打开查看站点信息窗格

    阻止您在此处看到的所有 cookie

    • 13
  2. Best Answer
    Jonas
    2020-09-22T12:05:57+08:002020-09-22T12:05:57+08:00

    通过扩展程序(例如 Tampermonkey for Chrome或Firefox)将以下 JavaScript 添加到您的浏览器:

    // ==UserScript==
    // @name         avoid Google's "before you continue"
    // @namespace    http://tampermonkey.net/
    // @version      0.2
    // @description  How to block the annoying “Before you continue” popup on Google?
    // @author       jonas
    // @url          https://stackoverflow.com/a/63999294/1153476
    // @match        https://www.google.com/*
    // @grant        none
    // @run-at       document-start
    // ==/UserScript==
    
    // This will remove the popup but there are some problems:
    // Buttons and menus like 'More', 'Tools', and many others will not work
    const style = document.createElement('style');
    style.innerHTML = /* css */ `
      div[aria-modal] {
        display: none !important;
      }
    `;
    document.head.append(style);
    
    // This solves the previous problems but it's probably not that great for privacy
    const consentMatch = document.cookie.match(/CONSENT=(PENDING|YES)\+(\d+)/);
    document.cookie=`CONSENT=YES+${consentMatch ? consentMatch[2] : '0'}; domain=.google.com`;
    

    在 Tampermonkey 中,在脚本Settings页面上,设置Run at为document-start.

    • 7
  3. Gerrit Doornenbal
    2021-02-12T03:57:05+08:002021-02-12T03:57:05+08:00

    除了 Stepan 的回答之外,您还可以将两个域 (google.com和www.google.com) 添加到 Google 组策略设置中。您可以在以下位置找到此设置:Google-Google Chrome-内容设置-在这些网站上阻止 cookie。通过这种方式,您可以在整个公司范围内推广。此外,当您的用户使用 时google.<countrycode>,还要添加这些。这有助于本地谷歌网站用户。

    • 0
  4. Wolph
    2021-04-05T02:15:37+08:002021-04-05T02:15:37+08:00

    似乎此处发布的用户脚本已停止工作,所以这是一个更简单的版本,对我有用:)

    使用 tampermonkey 安装的直接链接: https ://gist.github.com/WoLpH/985a6072b35926eb4a3f9d2cdd0a2dad/raw/596925b09a38c1003cac97a3419db12e4b02f005/google-cookie-consent.user.js

    如果您有建议或问题:https ://gist.github.com/WoLpH/985a6072b35926eb4a3f9d2cdd0a2dad

    
    // ==UserScript==
    // @name         Google Cookie Consent Remover
    // @namespace    https://gist.github.com/WoLpH/985a6072b35926eb4a3f9d2cdd0a2dad
    // @version      0.1
    // @description  Remove Google's annoying cookie consent questions (especially annoying for Incognito windows)
    // @author       Wolph
    // @match        https://www.google.com/*
    // @grant        none
    // ==/UserScript==
    
    document.querySelector('div[aria-modal]').remove();
    
    • 0

相关问题

  • Google Analytics Opt-out Browser Add-on 有什么作用?

  • 试图通过 Tor 或 VPN 在网络浏览器中伪造一个位置,但它不起作用

  • office pro plus 2016 按组织划分的隐私问题

  • Firefox 66 - 清除所有历史记录不清除活动登录和购物车

  • Chrome 的 Cookie 和本地存储存储在哪里?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何减少“vmmem”进程的消耗?

    • 11 个回答
  • Marko Smith

    从 Microsoft Stream 下载视频

    • 4 个回答
  • Marko Smith

    Google Chrome DevTools 无法解析 SourceMap:chrome-extension

    • 6 个回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Martin Hope
    CiaranWelsh 如何减少“vmmem”进程的消耗? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Windows 10 搜索未加载,显示空白窗口 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    v15 为什么通过电缆(同轴电缆)的千兆位/秒 Internet 连接不能像光纤一样提供对称速度? 2020-01-25 08:53:31 +0800 CST
  • Martin Hope
    fixer1234 “HTTPS Everywhere”仍然相关吗? 2019-10-27 18:06:25 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve