Execute JavaScript in the browser's page context. Great for inspecting DOM, computed styles, or testing fixes.
Executes JavaScript in the browser page context to inspect DOM, styles, and test fixes.
/plugin marketplace add AnthemFlynn/ccmp/plugin install website-debug@ccmp<javascript expression>haikuExecute JavaScript in the active browser tab's page context.
node ~/.claude/plugins/**/website-debug/skills/website-debug/scripts/browser-eval.js '$ARGUMENTS'
Get element info:
document.querySelector(".selector")
Check computed styles:
getComputedStyle(document.querySelector(".btn")).backgroundColor
Count elements:
document.querySelectorAll("a").length
Get bounding rect:
document.querySelector(".header").getBoundingClientRect()
Return the result to the user and explain what it means in context.