AIStudio2API icon indicating copy to clipboard operation
AIStudio2API copied to clipboard

[Bug/Feature]: UI fails to load due to AdBlockers blocking CDN resources (ERR_BLOCKED_BY_CLIENT)

Open xmrea opened this issue 11 months ago • 1 comments

I realized the issue is caused by my browser extensions (AdBlocker/uBlock) blocking the external CDN links for vue.global.min.js and marked.min.js.

Console Error: Failed to load resource: net::ERR_BLOCKED_BY_CLIENT vue.global.min.js:1

Solution/Suggestion: While disabling the AdBlocker fixes it for me, it would be much more robust if these dependencies (Vue, Marked, Tailwind) were bundled locally within the project instead of relying on external CDNs. This would prevent issues for users with strict privacy settings or no internet access.

Image

xmrea avatar Dec 17 '25 09:12 xmrea

Thank you so much for reporting this. I've bundled Vue and Marked locally in commit 444fabe

Changes:

  • vue.global.min.js and marked.min.js are now served from /static/vendor/ instead of external CDNs
  • This should resolve the ERR_BLOCKED_BY_CLIENT errors caused by AdBlockers

You can pull the latest changes and let me know if the issue persists.

Note: TailwindCSS still uses CDN (cdn.tailwindcss.com) as it requires runtime compilation. If this is also being blocked for you, please let me know and I may look into a pre-compiled CSS solution.

Mag1cFall avatar Dec 17 '25 12:12 Mag1cFall