如何隐藏/移除Google Docs中换行时出现的@插入弹窗按钮?
移除Google Docs中@插入弹窗按钮的方法
修正AdGuard过滤规则
之前用的##docs-instant-bubble规则不够精准,试试下面这组更具体的规则,添加到AdGuard的自定义规则里:google.com##.docs-instant-bubble-container google.com##.docs-smart-chip-suggestion-bubble保存后刷新Google Docs页面,要是还没效果,右键点击@弹窗选择「检查」,找到它对应的CSS类名,替换到规则中即可。
使用Tampermonkey用户脚本(更稳定)
- 给浏览器安装Tampermonkey扩展
- 打开Tampermonkey创建新脚本,把默认代码替换成下面这段:
// ==UserScript== // @name Hide Google Docs @ Bubble // @namespace http://tampermonkey.net/ // @version 0.1 // @description Hide the @ insert bubble in Google Docs // @author You // @match https://docs.google.com/document/* // @grant none // ==/UserScript== (function() { 'use strict'; const style = document.createElement('style'); style.textContent = ` .docs-instant-bubble-container, .docs-smart-chip-suggestion-bubble { display: none !important; } `; document.head.appendChild(style); })();- 保存脚本后打开Google Docs,弹窗会被自动隐藏,且每次打开文档都会生效。
临时隐藏(仅当前页面会话有效)
按下F12打开浏览器开发者工具,点击左上角的元素选择器图标,选中@弹窗,在右侧样式面板里给该元素添加display: none !important;样式,就能临时隐藏它。
内容的提问来源于stack exchange,提问作者Winter Pack
相关产品推荐
相关产品推荐

