diff options
Diffstat (limited to 'background.js')
-rw-r--r-- | background.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/background.js b/background.js new file mode 100644 index 0000000..44a5c2a --- /dev/null +++ b/background.js @@ -0,0 +1,9 @@ +var browser; + +if (chrome) { + browser = chrome; +} + +browser.runtime.onMessage.addListener(function() { + browser.tabs.insertCSS({ file: '/css/example.com.css' }); +}); |