Developing a chrome extension allows us to do powerful things within existing web pages. We can delete an image from a blog post or change your background color. However, implementing an identical set of features in various websites comes with an array of challenges. In this talk, we'll cover DOM manipulation techniques, such as injecting code into an existing webpage, handling event propagation and modifying the page content.
The Wordtune extension helps users discover alternative ways to express themselves. A user can highlight a text in any site and receive a list of different alternative phrasing suggestions. One of our main challenges was to provide the same user experience for all kinds of text inputs. To solve this, we've designed an SDK for text manipulation, with different implementations for each type of text input. In this presentation, we'll explain more of the challenges involved in editing your text and how we resolve them.