Select Div ID or class to identify adSlots
This feature is directly handled within the app : Select Div ID or class to identify your adSlots
When setting the Technical divId, you can now directly use css selectors by using the prefix css:
and typing your selector.
Feel free to check the mozilla documentation for good use of the css selectors:
https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Selectors
eg : I want to target all ID that starts with “inread” but do not start by “inread_top” :
css:[id^=inread]:not(id^=inread_top)
You can check your selection by using :
document.querySelectorAll('[id^=rgt-rec-d]:not([id=rgt-rec-d-1],[id=rgt-rec-d-2])')