vondip
vondip

Reputation: 14029

How to get chrome to run extensions automatically?

I am trying to develop a chrome extensions. I've developed a few firefox extensions a few years ago. In firefox it was possible to automatically run your extension of the page, and alter the page's content (add HTML and style it). I'd like the extension to automatically change the html, without requiring the user to click a button up in the browser's window. How to get chrome to run extensions automatically?

Thank you

Upvotes: 1

Views: 2033

Answers (1)

check_ca
check_ca

Reputation: 1746

You just have to declare a content script in your manifest.json, it will be automatically executed on all pages matching the corresponding URL pattern without any user interaction.

Upvotes: 6

Related Questions