How to use a dynamically generated selector? #1070
|
Hi, Recently, I found this project, and it could be exactly what I need for certain websites. One of the websites I want to subscribe to, dynamically generates the CSS selector for the container with the items (articles). The selector always starts with the string How could a selector like that be used in the |
Answered by
gildesmarais
Feb 26, 2026
Replies: 2 comments
|
Try this: selector: '[class^="MixItUp"]'Be careful about the quotes :-) https://www.w3.org/TR/selectors-4/#attribute-substrings Have fun! |
0 replies
Answer selected by
me-at-cz
|
It worked, thanks! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this:
Be careful about the quotes :-)
https://www.w3.org/TR/selectors-4/#attribute-substrings
Have fun!