Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
easrng
on May 19, 2022
|
parent
|
context
|
favorite
| on:
Gov.uk drops jQuery from their front end
:has doesn't exist but you can do [].map.call(document.querySelectorAll("a img[src$='.gif']"), (e)=>e.closest("a")).filter(e=>e)
robertoandred
on May 19, 2022
[–]
:has certainly does exist, but only in Safari. Hopefully Chrome and Firefox will catch up soon.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: