Skip to content

Broadcasting to the content scripts #30

@danbovey

Description

@danbovey

Hey

Just something that might be helpful towards this comment:

// Chrome doesn't have an easy way to broadcast a message to all
// content scripts, so just broadcast the message to every tab
// and rely on Chrome's manifest permission to restrict

You can totally do this with the chrome.runtime API 🎉

https://developer.chrome.com/extensions/runtime#method-sendMessage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions