way to control "writer" through javascript

hello.
I have 2 questions.

  1. “way to control “writer” through java script”. Is it possible ? or not?
  • If yes, How I can start with? where is API guide document for this? (I tried to find it out, but no way…)
  1. I want ‘writer pops out on browser, then end user can edit document based on web’. Is it possible?
    • if yes, would you please give tips or information for that.

thanks for your kindness.
have a good weekend.