To not be dependent of language, have to search other element than string. On Firefox can search the definition of the svg but Chrome it's hidden. So hardcoded for the moment was the best solution
The like button in comment have the svg code too, but the user have to scroll to comments section to start load of this section so we could not get the pattern before the user scroll : not relevant
To not be dependent of language, have to search other element than string. On Firefox can search the definition of the svg but Chrome it's hidden. So hardcoded for the moment was the best solution The like button in comment have the svg code too, but the user have to scroll to comments section to start load of this section so we could not get the pattern before the user scroll : not relevant