From 11b322051bec0cd67a536f55c6715e3951d7d415 Mon Sep 17 00:00:00 2001 From: "Morag S." <5771389+morags@users.noreply.github.com> Date: Fri, 3 Oct 2025 13:55:57 +0300 Subject: [PATCH] Fix context menu search doesn't show search engine icons --- JS/contextMenuMods.uc.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/JS/contextMenuMods.uc.js b/JS/contextMenuMods.uc.js index 7524475..00d5e47 100644 --- a/JS/contextMenuMods.uc.js +++ b/JS/contextMenuMods.uc.js @@ -1,6 +1,6 @@ // ==UserScript== // @name Context Menu Mods -// @version 1.1.1 +// @version 1.1.2 // @author aminomancer // @homepageURL https://github.com/aminomancer/uc.css.js // @description Add some new items to the main content area context menu. @@ -224,10 +224,7 @@ item.setAttribute("engine-id", engine.id); item.setAttribute("label", engine.name); if (engine.iconURL) { - item.style.setProperty( - "--engine-icon", - `url('${engine.iconURL}')` - ); + item.image = engine.iconURL; } fragment.appendChild(item); }