diff --git a/README-zh.md b/README-zh.md index 0a69668..2c433d2 100644 --- a/README-zh.md +++ b/README-zh.md @@ -33,7 +33,7 @@ ```html diff --git a/README.md b/README.md index 8f5e9f2..8bd7ca4 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ An in-page UI agent in javascript. Control web interfaces with natural language. ```html diff --git a/pages/docs/integration/cdn-setup/page.tsx b/pages/docs/integration/cdn-setup/page.tsx index 4b3ebf5..aabfa4e 100644 --- a/pages/docs/integration/cdn-setup/page.tsx +++ b/pages/docs/integration/cdn-setup/page.tsx @@ -16,7 +16,7 @@ export default function CdnSetup() { className="mb-8" code={` // 仅供测试使用,稳定 CDN 待定 - + `} +`} language="html" /> diff --git a/pages/page.tsx b/pages/page.tsx index 528bcb7..11011f4 100644 --- a/pages/page.tsx +++ b/pages/page.tsx @@ -9,7 +9,7 @@ import Footer from './components/Footer' import Header from './components/Header' const injection = encodeURI( - "javascript:(function(){var s=document.createElement('script');s.src=`https://hwcxiuzfylggtcktqgij.supabase.co/storage/v1/object/public/demo-public/v0.0.2/page-agent.js?t=${Math.random()}`;s.setAttribute('crossorigin', true);s.type=`text/javascript`;s.onload=()=>console.log('PageAgent script loaded!');document.body.appendChild(s);})();" + "javascript:(function(){var s=document.createElement('script');s.src=`https://hwcxiuzfylggtcktqgij.supabase.co/storage/v1/object/public/demo-public/v0.0.4/page-agent.js?t=${Math.random()}`;s.setAttribute('crossorigin', true);s.type=`text/javascript`;s.onload=()=>console.log('PageAgent script loaded!');document.body.appendChild(s);})();" ) const injectionA = `