0

I want to create an application that can read the values in the HTML and output them in the popup. I am confused, how can I get the HTML source of the website that the user is connected to?

Olivia Smith
  • 45
  • 2
  • 7

1 Answers1

0

Use a content script to insert a JavaScript file into the page (see here). You can use document.documentElement.innerHTML to access the complete innerHTML of a page. (See also this answer to another question)

AdamRaichu
  • 149
  • 1
  • 13