diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index d4bf94a..286a9eb 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -2422,7 +2422,10 @@ vAPI.toolbarButton = { break; } - if ( document.getElementById(tbb.id) !== null ) { + // https://github.com/gorhill/uBlock/issues/763 + // We are done if our toolbar button is already installed in one of the + // toolbar. + if ( palette !== null && toolbarButton.parentElement !== palette ) { return; }