0
我正在使用crossrider創建IE擴展。在這個擴展中,我想通過點擊瀏覽器動作中的圖標來打開一個HTML頁面。當我點擊圖標的HTML頁面不會彈出。彈出式HTML頁面未在crossrider中打開
background.js
appAPI.ready(function($)
{
appAPI.browserAction.setResourceIcon('icon128.png');
appAPI.browserAction.setTitle('Tax2290 Extension');
appAPI.browserAction.setPopup({resourcePath:'index.html'});
});
extension.js
appAPI.ready(function($) {
// Includes remote JS file into extension.js scope
// Injects remote JS file into HTML page
appAPI.dom.addRemoteJS('images/feed.js');
// Injects remote CSS file into HTML page
appAPI.dom.addRemoteCSS('images/style.css');
});
請幫助。