Skip to content

Fix noteNameFormat and address value selectors on Google Maps template#16

Open
ky1ejs wants to merge 1 commit intokepano:mainfrom
ky1ejs:patch-1
Open

Fix noteNameFormat and address value selectors on Google Maps template#16
ky1ejs wants to merge 1 commit intokepano:mainfrom
ky1ejs:patch-1

Conversation

@ky1ejs
Copy link

@ky1ejs ky1ejs commented Nov 15, 2025

I was seeing the following error in the console with the Google Maps template:

Error in extractContentBySelector: SyntaxError: Failed to execute 'querySelectorAll' on 'Document': 'button[aria-label^="Address:"]:aria-label' is not a valid selector.

The Web Clipper docs say that selectors should actually look like this, using a ? instead of a :.

I don't know query selector syntax super well, but this fix worked for me.

I was seeing the following error in the console with the Google Maps template:
```
Error in extractContentBySelector: SyntaxError: Failed to execute 'querySelectorAll' on 'Document': 'button[aria-label^="Address:"]:aria-label' is not a valid selector.
```

The Web Clipper docs say that selectors should actually look like [this](https://help.obsidian.md/web-clipper/variables#Selector+variables), using a `?` instead of a `:`.

I don't know query selector syntax super well, but this fix worked for me.
andersoal pushed a commit to andersoal/obsidian-web-clipper-templates that referenced this pull request Jan 25, 2026
Add author and senderEmail in Google Mail template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant