XPath is mainly used in XSLT but can also be used as a much more powerful way of navigating through the DOM. Source: https://developer.mozilla.org/en-US/docs/Web/XPath #BrightonSEO @nathanless
/ / l i n k [ c o n t a i n s ( @ r e l , " d n s - p r e f e t c h " ) o r c o n t a i n s ( @ r e l , " p r e c o n n e c t " ) o r c o n t a i n s ( @ r e l , " p r e l o a d " ) o r c o n t a i n s ( @ r e l , " p r e f e t c h " ) o r c o n t a i n s ( @ r e l , " p r e r e n d e r " ) ] 48 // Resource Hints #BrightonSEO @nathanless
/ / * [ s e l f : : h 1 o r s e l f : : h 2 o r s e l f : : h 3 o r s e l f : : h 4 o r s e l f : : h 5 o r s e l f : : h 6 ] 50 // Header Elements #BrightonSEO @nathanless
/ / i m g [ n o t ( c o n t a i n s ( @ l o a d i n g , " l a z y " ) o r c o n t a i n s ( @ c l a s s , " l a z y " ) o r c o n t a i n s ( @ c l a s s , " l a z y l o a d e d " ) ) ] 56 // Image Lazy Loading #BrightonSEO @nathanless