Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let nodes=document.querySelectorAll(".item-list__ListItemStyled-sc-18yjqdy-1");
- let allowedCountries = ['kuwait', 'qatar', 'saudi arabia', 'united arab emirates']
- for (const elem of nodes) {
- try {
- if (!allowedCountries.includes(elem.children[0]
- .children[1]
- .children[0]
- .children[0]
- .children[1]
- .children[1]
- .textContent.toLowerCase())){
- elem.style.display = 'none';
- }
- } catch {}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement