Chrome extension that adds different features depending on the web page

I'm developing a Chrome extension that adds functionality to a specific domain, but these depend on the page.

What are the most effective ways to achieve this goal?