TanaTanoi / messenger_formatter

Simple chrome extension that adds support for `code` tags with backticks
0 stars 1 forks source link

Improve walking algorithm to be more efficient #11

Open TanaTanoi opened 8 years ago

TanaTanoi commented 8 years ago

It probably doesn't need to walk the entire document, investigate and find out what specific classes we can search for to just walk across messages? jquery is probably faster

pdonias commented 7 years ago

This seems pretty consistent on my side:

Note that the inner span can be wrapped in an extra span if there is a link, an emoji, etc... Let's wait and see if it is actually consistent and if it doesn't change over time.