---
title: "Comment by Ákos Kőműves on \"Browser extensions - spicing it up with React\" | Hashnode"
description: "Thanks for sharing this, Chris! I&#39;m building a browser extension that manipulates the DOM on Twitter.com. How would you approach something like this with a"
url: "https://hashnode.com/posts/browser-extensions-spicing-it-up-with-react/62f9e56bbe14cfbd5d7c7187/comment/6345276f60309c105535ba23"
---

[Discussion](https://hashnode.com/posts/browser-extensions-spicing-it-up-with-react/62f9e56bbe14cfbd5d7c7187)

Comment [Browser extensions - spicing it up with React](https://hashnode.com/posts/browser-extensions-spicing-it-up-with-react/62f9e56bbe14cfbd5d7c7187)

[Ákos Kőműves](https://hashnode.com/@akoskm)

[Oct 11, 2022](https://hashnode.com/posts/browser-extensions-spicing-it-up-with-react/62f9e56bbe14cfbd5d7c7187/comment/6345276f60309c105535ba23)

Thanks for sharing this, Chris!

I'm building a browser extension that manipulates the DOM on Twitter.com.

How would you approach something like this with a React-based browser extension?

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Oct 11, 2022](https://hashnode.com/posts/browser-extensions-spicing-it-up-with-react/62f9e56bbe14cfbd5d7c7187/comment/6345276f60309c105535ba23#reply-63452e08cfbf1112fc98f934)

Hey Akos,

Depending on the size of the extension yeah would probably go with React. You can set the permissions to be only on Twitter and inject on then.

The pro about React is that it's a bit more flexible to make changes.

Do let me know if you want to discuss it in person, happy to help where possible.

[Ákos Kőműves](https://hashnode.com/@akoskm)

[Oct 11, 2022](https://hashnode.com/posts/browser-extensions-spicing-it-up-with-react/62f9e56bbe14cfbd5d7c7187/comment/6345276f60309c105535ba23#reply-63452eb3cfbf1112fc98f950)

Thanks [Chris Bongers](https://hashnode.com/@dailydevtips)!

I started with plain JavaScript and found manipulating the existing DOM exceptionally hard.

Twitter classes are obfuscated, and the layout is complex. 🤷🏻‍♂️

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Oct 12, 2022](https://hashnode.com/posts/browser-extensions-spicing-it-up-with-react/62f9e56bbe14cfbd5d7c7187/comment/6345276f60309c105535ba23#reply-634659176cd3e81ff0320e4c)

[Ákos Kőműves](https://hashnode.com/@akoskm) Oh yes 100% it also changes over time 🤯
