Azure Portal Resource Group Search Enhancer
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Azure Portal Resource Group Search Enhancer adds powerful search capabilities to Azure Portal resource group pages. It detects the resource grid and adds filter buttons for resource type—All, VMs, Storage, SQL, and Web Apps—so you can quickly narrow down resources by category. A "smart sort" dropdown lets you sort resources by Name, Type, or Location, making it easier to find what you need. A quick-jump menu provides one-click navigation to common resource types like Virtual Machines, Storage Accounts, SQL Databases, App Services, Function Apps, and Virtual Networks. The script also saves your search history, allowing you to re-run previous searches with a single click. A panel overlay shows current filter settings, search history, and a resource count summary. This turns Azure's basic resource group view into a powerful resource management tool.
WHERE IT RUNS
This script runs on Azure Portal resource group pages (*.portal.azure.com/*). It operates entirely within your browser tab, reading the page's DOM to locate the search input, resource grid, and resource items. The script cannot access other tabs, your browsing history, bookmarks, downloads, or any data outside the current page. All settings—including filter enablement, history saving, default sort order, quick-jump menu visibility, and auto-detect preference—are stored locally using GM_setValue and never transmitted anywhere.
HOW TO USE
After installing with the BotGentz extension, the script automatically detects Azure Portal resource group pages and enhances the search interface (if auto-detect is enabled). A filter bar appears below the search input with buttons for All, VMs, Storage, SQL, and Web Apps—click any to filter your resources instantly. A sort dropdown lets you order resources by Name, Type, or Location. The quick-jump menu provides one-click access to specific resource types. Your searches are saved in the panel's history section—click any past search to re-run it instantly. The panel shows a resource count summary and the current filter status. Use the panel to clear your search history, enable or disable advanced filters, toggle search history saving, set the default sort order, and show or hide the quick-jump menu.
THE REAL MECHANISM
The script detects Azure Portal resource group pages by checking if the URL contains '/resourcegroups' or '/resource-groups'. It locates the search input using selectors like input[type="search"], input[placeholder*="Search"], and [data-testid="search-input"]. The resource grid is detected using selectors like .resource-grid, .resource-list, and .ms-List. The filter bar is injected as a div with filter buttons, sort dropdown, and quick-jump menu, positioned below the search input. Each filter button toggles the display of resource items based on their text content—checking for keywords like "virtual machine," "storage account," "sql database," and "app service." The sort function reorders items in the DOM based on the selected criteria: name sorting uses string comparison, type sorting extracts the resource type from text, and location sorting extracts location from parentheses. Search history is stored in GM_setValue as a JSON array with timestamps, with a maximum of 20 entries. The resource count updates dynamically as filters are applied. All DOM manipulation uses safe methods with no innerHTML from untrusted content.
THE PANEL
The Search Enhancer panel is a BGPanel component that you can drag anywhere on your screen by its header. It snaps to the nearest edge when released, keeping your workspace organized. The panel collapses to a small bubble showing only the emoji icon when minimised—click to expand it again. You can resize the panel horizontally to see more of the search history and settings. Press the Escape key to collapse the panel instantly. Your panel position and size are saved per-site.
PLEASE NOTE
This script requires the free BotGentz browser extension to function. Azure Portal frequently updates its web interface, which may change class names, data-testid attributes, and DOM structure—the script may require updates to maintain compatibility. The filter and sort functions operate on the visible resource items; they work best when the full resource list is loaded in the DOM. The search history is stored locally and is not synced across devices. The script never reads or writes password fields, hidden inputs, or file inputs. It stores only your filter enablement, history enablement, default sort order, quick-jump menu visibility, and auto-detect preference locally. No resource data, Azure information, or personal information is ever collected, transmitted, or shared.