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
版权声明:本文标题:Isolating chrome extension popups from other extensions - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736283703a1927053.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论