From 6aab4747e9b473dc326f1543c1e96f6a3e365038 Mon Sep 17 00:00:00 2001 From: "Morag S." <5771389+morags@users.noreply.github.com> Date: Thu, 14 Aug 2025 12:14:14 +0300 Subject: [PATCH] Add search engine ordering --- JS/contextMenuMods.uc.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/JS/contextMenuMods.uc.js b/JS/contextMenuMods.uc.js index 7524475..1699ac6 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. @@ -116,9 +116,11 @@ id: engine.id, name: engine.name, iconURL: await engine.getIconURL(16), + order: engine._metaData.order, }); }) ); + this.engines.sort((a, b) => a.order - b.order); enginesLocked = false; };