0

I am working on a chrome extension app, here I am opening a new window(with url:xyz.com) from chrome extension app, and the same codebase is deployed in a server(url:xyz.com) as well as with the same functionality(opening new window popop, url:xyz.com). But unable to distinguish that window popup is opened from normal tab or from a chrome extension.

following is the data flow :

here someurl.com is a third party url.

enter image description here

Sk Asif
  • 65
  • 7
  • There's no way to know it after the fact. Depending on where exactly in the code you need to know it, you can implement some workarounds. – wOxxOm Sep 24 '18 at 11:56
  • since i am opening the popup window with same page url, there only i want to know it. any helpfull suggession would be appreciated. – Sk Asif Sep 24 '18 at 12:06
  • What you're asking for is not clear. Where do you want to know if the specific tab has been opened by an extension or not? In the tab itself (code that is on xyz.com) or from your extension? – Marco Bonelli Sep 24 '18 at 14:24
  • I have updated my question for more clarity. – Sk Asif Sep 25 '18 at 07:04

0 Answers0