javascript - How do I get a browser button to display in Internet Explorer using Crossrider? -


we small uk charity , local web design company has built browser extension using crossrider. our problem browser icon not display in ie, fine in firefox , chrome. have been unable find wrong. unfortunately, javascript novice. when looked @ background.js file think has been coded wrong. there reference images chrome , firefox not ie understanding of crossrider need have single reference , not specify individual browsers? appreciate anyone's on simple question.

appapi.ready(function($) {  if(appapi.browser.name == "firefox") {     appapi.browseraction.setresourceicon('tiny_icon_23.png'); } else if(appapi.browser.name == "chrome") {     appapi.browseraction.setresourceicon('tiny_icon_24.png'); } else {     appapi.browseraction.setresourceicon('tiny_icon_23.png'); }  appapi.browseraction.setpopup({     resourcepath:'popup.html',     width: 366,     height: 207 }); 


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -