Skip to content

Instantly share code, notes, and snippets.

@dot3dash4dot
dot3dash4dot / VirginMediaHub5Router.cs
Last active February 9, 2025 09:31
Connecting to a Virgin Media Hub 5 Router in C#
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Net.Http;
using System.Net.Http.Headers;
using Newtonsoft.Json;
public static class VirginRouter
{
public static async Task<IEnumerable<(string Name, string IP)>> GetWifiConnectedDevices(string routerIP, string routerPassword)
@masonwan
masonwan / -manage-chrome-search-engines.md
Last active October 20, 2025 15:06
Better way to manage Chrome's search engines

Problem

Chrome has the feature to automatically add search engine when it detects an input field on websites. After using Chrome months, it often resutls a bunch of search engines stayed in the settings. And the setting page does not provide a convinient way to remove them.

Updates on 2024-11-21

The editting the Web Data as SQLite file did not seem to work anymore. Chrome seems to revert all the changes when restart.

To make it even worse, it seems that the DOM tree is not accessable from the development console on the setting page, so even a bookmarklet could not work. Neighter does Chrome provide an API to access the search engines.