Skip to content

Solves the 'Lazy load third-party resources with facades' warning for Intercom's chat widget

License

Notifications You must be signed in to change notification settings

danielbachhuber/intercom-facade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intercom Facade

Solves the 'Lazy load third-party resources with facades' warning for Intercom's chat widget. A pure JavaScript adaptation of Calibre's React Live Chat Loader.

Installation

To download intercom-facade, run:

npm install --save intercom-facade

Alternatively, use the built/minified version of the latest tagged release in dist/.

Usage

Simply use intercom-facade in place of Intercom's embed snippet:

<script>
window.intercomSettings = {
  app_id: 'abc123',
  background_color: '#22CFC6', // optional, defaults to #333333.
}
</script>
<script src="/path/to/intercom-facade.min.js"></script>

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

Solves the 'Lazy load third-party resources with facades' warning for Intercom's chat widget

Resources

License

Stars

Watchers

Forks

Packages

No packages published