r/ClaudeCode • • 5h ago

Tips & Workflows Fix for Claude Code not being able to visit Amazon Pages

Anthorpic recently started blocking Amazon completely from their Claude Code Extension. You cannot access any domain or subdomain from Amazon with their Client. However you can easily fix it by yourself. Download the Chrome Extension from the Chrome Store. Unzip it and go to /assets. There you will find a JS file called "security-....". In this file search up this function and lastly change the parameter c to const c = "category0";

The reason for this is that for some reason Anthropic started to give Amazon an ID that is completely hardblocked.
You can also read about it here !

0 Upvotes

2 comments sorted by

•

u/AutoModerator 5h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Rebelrockstar 1h ago

This is a security risk. If you do it this way it disables the check for every site. That check also protects against a page that tries to hijack claude with hidden instructions while logged in as you. You can get into major issues.

Better to create a very targeted fix that ONLY designates the specific site as cateogry0 but leaves the rest alone.

I won't explain how here because it could violate T&S but im sure someone can figure it out.

The better approach is for everyone to email claude or log something in github - the sudden categorization of amazon as restricted for chrome MCP is super weird.