Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup communication to obtain source and target language data in Extension Context #2

Open
Parikshit-Hooda opened this issue Sep 19, 2021 · 2 comments
Assignees

Comments

@Parikshit-Hooda
Copy link
Owner

Send data from content_script1.js to background.js.

Data:

  • source language data
  • target language data
@Parikshit-Hooda Parikshit-Hooda self-assigned this Sep 19, 2021
@Parikshit-Hooda
Copy link
Owner Author

@Parikshit-Hooda
Copy link
Owner Author

more useful links:

Prospective solution to only send message to a certain tab: send tabId from content script to background. Then from background, send message to content script to get sourceData and targetData.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant