2012-07-02 43 views
1

我正在開發一個通過'chrome.tabs.captureVisibleTab'使用屏幕捕獲功能的chrome插件,但它在https頁面上失敗。我請求安全頁面的許可:chrome.tabs.captureVisibleTab安全頁面上?

permissions:[ 
    "tabs", "http://*/*", "https://*/*" 
], 

這甚至可以在安全頁面上使用嗎?

這是我與樣品URL看到的錯誤:

Error during tabs.captureVisibleTab: Cannot access contents of url "https://www.host.com/test". Extension manifest must request permission to access this host. 

回答