如何在Chrome扩展程序弹出窗口中删除工具栏?

时间:2018-09-28 09:18:47

标签: javascript vue.js google-chrome-extension popup

需要删除Google Chrome扩展程序弹出页面中的工具栏

我正在努力在vuejs中创建chrome扩展程序,我添加了弹出页面,但我需要删除工具栏

enter image description here

我的代码打开弹出页面

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>

需要在弹出页面中删除工具栏

0 个答案:

没有答案
相关问题