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 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Try this: selector: '[class^="MixItUp"]'Be careful about the quotes :-) https://www.w3.org/TR/selectors-4/#attribute-substrings Have fun! |
Beta Was this translation helpful? Give feedback.
-
|
It worked, thanks! |
Beta Was this translation helpful? Give feedback.
Try this:
Be careful about the quotes :-)
https://www.w3.org/TR/selectors-4/#attribute-substrings
Have fun!