Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • While this is a more elegant solution, you can simply inject a <script> tag to the page and then access the execution content of the main page. Commented Nov 30, 2015 at 4:54
  • 1
    @gladsocc Advantage with this method is you can communicate between both content scripts and normal scripts using this approach. You just need two placeholders. Commented Nov 30, 2015 at 4:59
  • looks a bit confusing to me at first, but I'm going to try this one, seems like it's gonna work, thanks a lot for response! Commented Nov 30, 2015 at 6:43