1

I want to excecute content script in view-scource scheme. As in the content script match patter they didn't specified it. Anyone know how to do that?

Blauharley
  • 4,186
  • 6
  • 28
  • 47
janaravi
  • 106
  • 1
  • 8

1 Answers1

0

We can't do that.

Further details. Rendering and script execution is not allowed to happen when opening a webpage in view-source mode.

By design, Google Chrome will initiate a new GET request to the server and provide the client browser with the unrendered version of the webpage when in view-source mode.

Check this out a related issue is discussed here.

Aefits
  • 3,399
  • 6
  • 28
  • 46