Skip to content

iframe communication #4

@channprj

Description

@channprj

요약

  • 익스텐션이 현재 활성화된 탭의 주소와 제목을 가져오고 있습니다.
  • 이 값들을 iframe 으로 전달하고 자동으로 값을 채우기 위해서는 window.postMessage() 를 사용해야 합니다.
  • API 를 하나 추가하는 게 더 빠르고 근본적인 해결방안..이긴 하지만 일단은 postMessage 를 이용하는 게 어떨까요?

https://github.com/tebica/devnews-chrome/blob/master/src/App.js#L23-L34

참고 링크

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions