I haven't checked firefox or Microsoft edge for the functionality yet, as I primarily use chrome.
On Chrome, if you go into settings, there should be a link labelled, "Manage Search Engines." Under, "Other search engines," if D&D beyond isn't there yet, you'll want to add "D&D Beyond" as the...