- Select text on any webpage
- A purple "Add Annotation" button should appear near your selection
- Click the button to open the annotation modal
- Enter your comment and submit
- Open any webpage
- Open browser DevTools (F12 or Cmd+Option+I)
- Go to Console tab
- Type:
window.__graphitiContentScriptLoaded - Should return
trueif loaded
- Open extension popup
- Look for "Annotations" toggle switch
- Make sure it's ON (enabled)
Or in console:
chrome.storage.local.get('annotationsEnabled', (result) => {
console.log('Annotations enabled:', result.annotationsEnabled !== false);
});- Open DevTools Console
- Look for errors starting with
[Graphiti] - Check for:
- "Content script loaded" message
- "Annotation manager initialized" message
- Any red error messages
- Select some text (at least 1 character, max 1000 characters)
- Check console for:
- "handleTextSelection called"
- "Text selected" with length
- "Showing annotation button"
- "Annotation button added to DOM"
Button doesn't appear:
- Content script not loaded → Reload extension
- Annotations disabled → Enable in popup
- Text too short/long → Select 1-1000 characters
- Selection collapsed → Make sure you actually selected text
Button appears but clicking does nothing:
- Check console for errors
- Try clicking the button directly (not just the text)
- Open any webpage (e.g., example.com)
- Open DevTools Console
- Select some text
- You should see debug logs like:
[Graphiti] [DEBUG] ContentScript: handleTextSelection called [Graphiti] [DEBUG] ContentScript: Text selected {length: 10, preview: "..."} [Graphiti] [INFO] ContentScript: Showing annotation button [Graphiti] [INFO] ContentScript: Annotation button added to DOM
Press Alt+Shift+A (Mac: Option+Shift+A) to toggle annotations on/off.