| Index: background.js |
| =================================================================== |
| --- a/background.js |
| +++ b/background.js |
| @@ -128,15 +128,15 @@ |
| iconFilename = excluded ? "icons/abp-19-whitelisted.png" : "icons/abp-19.png"; |
| } |
| - tab.pageAction.setIcon(iconFilename); |
| - tab.pageAction.setTitle(ext.i18n.getMessage("name")); |
| + tab.browserAction.setIcon(iconFilename); |
| + tab.browserAction.setTitle(ext.i18n.getMessage("name")); |
| iconAnimation.registerTab(tab, iconFilename); |
| if (localStorage.shouldShowIcon == "false") |
| - tab.pageAction.hide(); |
| + tab.browserAction.hide(); |
| else |
| - tab.pageAction.show(); |
| + tab.browserAction.show(); |
| if (require("info").platform == "chromium") // TODO: Implement context menus for Safari |
| // Set context menu status according to whether current tab has whitelisted domain |