需要删除Google Chrome扩展程序弹出页面中的工具栏
我正在努力在vuejs中创建chrome扩展程序,我添加了弹出页面,但我需要删除工具栏
我的代码打开弹出页面
app.js
el: "#app",
data: structs.data,
methods: {
handleTipBtn: function () {
this.createWindow();
console.log('btn click')
structs.btnClick()
},
createWindow: function () {
chrome.windows.create({
url: 'popup.html',
type: "panel",
width: 400,
height: 700,
left: 900,
top: 200,
}, function (window) {
});
在按钮上
<button class="tip-button" @click="handleTipBtn" >
Tips Left: <span > {{tipsLeft}}</span>
</button>
需要在弹出页面中删除工具栏