admin管理员组

文章数量:1122826

General question

Hey so I'm making a chrome extension that creates an isolated window that is unaffected by other chrome extensions for web testing purposes. Is there any way to do this with chrome extensions popups? If no is there a better way if doing this? Does something like this already exist?

Thanks.

What I've tried

Right now I am just creating a popup window on a button click like this:

document.getElementById('clickMe').addEventListener('click', () => {
    chrome.windows.create({
        url: ";,
        type: "popup",
        width: 800,
        height: 600
      });
});

It works in creating a popup window but it is still effected by my chrome extensions. I see that there is an icon of my profile in the bottom right, could I change the profile to a guest profile to maybe circumvent this? I really am inexperienced and have no real starting point for anything like this.

本文标签: Isolating chrome extension popups from other extensionsStack Overflow