AI Chatbot Chrome Extension
Creating a Chrome Extension to Communicate with Stammer's AI Chatbot API using Replit
Step 1: Create manifest.json
manifest.json{
"manifest_version": 3,
"name": "Stammer Chatbot",
"version": "1.0",
"description": "Send a message to the Stammer AI chatbot and get a response.",
"action": {
"default_popup": "popup.html",
"default_icon": {
"16": "icon16.png",
"48": "icon48.png",
"128": "icon128.png"
}
},
"permissions": [
"storage",
"activeTab",
"scripting"
]
}
Step 2: Build the User Interface in popup.html
popup.htmlStep 3: Writing the JavaScript Logic in popup.js
popup.jsStep 4: Testing Locally in Chrome
Using the Extension
Optional: Adding Icons
Sharing the Project on Replit
Last updated