豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Unable to read the Google Sheet Web Page #1912

@maxsxu

Description

@maxsxu

Description of the bug

  The Chrome DevTools evaluation showed: JavaScript isn't enabled in your browser, so this file can't be opened. This typically happens when Chrome is loading a restricted
  Google properties page (like Google Sheets, Google Docs) and the DevTools Protocol is being blocked from executing scripts on it.

  Google actively restricts automated tools and DevTools extensions from running arbitrary JavaScript on their sensitive domains (accounts.google.com, docs.google.com,
  chrome.google.com) for security reasons.

  Let's try another approach. Instead of injecting JavaScript to pull text out, I will take a full accessibility tree snapshot of the page and parse it locally. The snapshot
  tool uses native Chrome APIs that bypass these JS restrictions.

Reproduction

  1. Open a google sheet web page https://docs.google.com/spreadsheets/d/xxxx
  2. Ask "summary the web page https://docs.google.com/spreadsheets/d/xxxx" in the Gemini CLI

Expectation

There should have no restrictions when the mcp-tools read the web page I've opened.

MCP configuration

No response

Chrome DevTools MCP version

v0.21.0

Chrome version

147.0.7727.101

Coding agent version

Gemini

Model version

Gemini 3

Chat log

No response

Node version

v25.9.0

Operating system

macOS

Extra checklist

  • I want to provide a PR to fix this bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions