- Go to
chrome://extensions/ - Find "Ankur's Wiki Notes"
- Click the refresh/reload button (↻)
- IMPORTANT: After reloading, you must refresh or reload any open web pages for the content scripts to take effect
- Go to
chrome://extensions/ - Click "Details" on Ankur's Wiki Notes
- Scroll down to "Permissions"
- Make sure it has:
- Read and change all your data on all websites
- Manage your downloads
- Display notifications
Some pages (like chrome:// URLs or extension pages) block content scripts.
- Open a regular website like
https://www.google.com - Select some text
- Right-click and look for the context menu items
- Open the page where you're testing
- Press
F12to open DevTools - Go to the "Console" tab
- Select some text and right-click
- Look for any error messages in red
- Go to
chrome://extensions/ - Find "Ankur's Wiki Notes"
- Click "service worker" link (it will say "Inspect views service worker")
- This opens the background script console
- Try using the context menu again
- Watch for console messages showing:
- "Context menu clicked: [menu item name]"
- "Message sent successfully"
- Open the side panel by clicking the extension icon
- Right-click anywhere in the side panel
- Select "Inspect"
- This opens the side panel's DevTools
- Watch the Console tab for messages like:
- "Side panel received message"
- "Adding text to notes"
- "Text added successfully"
- Context menu items appear
- You click them but nothing happens
- No text appears in the notes
-
Make sure side panel is open:
- The extension now auto-opens the side panel when you use these options
- Wait 1-2 seconds after clicking for text to appear
-
Check if you're on the right page:
- In "Per-Page Mode", text is only added if you're viewing notes for the current page
- Try switching to "Global" mode by clicking the purple button
-
Verify the note editor is ready:
- Click in the notes area first
- Then try the context menu again
- Right-click menu shows "Highlight Only"
- Click it but text doesn't get highlighted in yellow
-
Reload the web page:
- After updating the extension, content scripts only work on pages loaded AFTER the update
- Press
Ctrl+RorCmd+Rto reload the page - Try highlighting again
-
Check if content script is injected:
- Press
F12to open DevTools - Go to Console tab
- Type:
document.querySelector('.wiki-notes-highlight') - If it returns
null, content script is loaded - Select text, right-click "Highlight Only"
- Type the same command again - if it returns an element, highlighting worked!
- Press
-
Test with simple text:
- Try highlighting a single word first
- Some complex HTML structures may not highlight properly
- Avoid selecting across multiple elements
-
Check console for errors:
- Press
F12→ Console - Look for messages starting with "Highlighted:" or error messages
- Press
- Highlighting works but disappears when you reload the page
-
Check storage permissions:
- Go to
chrome://extensions/→ Details - Make sure storage permission is granted
- Go to
-
View stored highlights:
- Press
F12→ Console - Type:
chrome.storage.local.get(['allHighlights'], console.log) - You should see your saved highlights
- Press
- Buttons are cut off or overlapping
- Can't click all buttons
-
Widen the sidebar:
- Drag the edge of the sidebar to make it wider
- Buttons will resize automatically
-
Buttons will wrap on narrow sidebars:
- This is normal behavior
- Buttons stack vertically when sidebar is < 400px wide
- Click Export button but nothing happens
- Or download fails
-
Check downloads permission:
- Go to
chrome://extensions/→ Details - Verify downloads permission is granted
- Go to
-
Try keyboard shortcut:
- Focus the notes editor
- Press
Ctrl+E(Windows/Linux) orCmd+E(Mac)
-
Check browser download settings:
- Go to chrome://settings/downloads
- Make sure "Ask where to save each file" is enabled
All right-click functions now log to the console:
-
Background Worker Console:
chrome://extensions/→ service worker → Inspect- Shows context menu clicks and message sending
-
Side Panel Console:
- Open side panel → Right-click → Inspect
- Shows messages received and text being added
-
Page Console:
F12→ Console- Shows highlighting actions and errors
- Extension is enabled in
chrome://extensions/ - Extension has all required permissions
- Web page is reloaded after extension update
- Side panel is open when using "Add to Notes" features
- Content script is injected (check console)
-
Remove and reinstall the extension:
- Export your notes first!
- Remove extension from
chrome://extensions/ - Restart Chrome
- Load unpacked again
-
Try in an Incognito window:
- Enable extension in Incognito
- Test if it works there
- If yes, regular Chrome may have conflicting extensions
-
Check Chrome version:
- Go to
chrome://version/ - Requires Chrome 114+ for side panel API
- Update Chrome if needed
- Go to