Fix noteNameFormat and address value selectors on Google Maps template#16
Open
ky1ejs wants to merge 1 commit intokepano:mainfrom
Open
Fix noteNameFormat and address value selectors on Google Maps template#16ky1ejs wants to merge 1 commit intokepano:mainfrom
ky1ejs wants to merge 1 commit intokepano:mainfrom
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I was seeing the following error in the console with the Google Maps template:
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.