bookmarks-commander
bookmarks-commander copied to clipboard
fix: Stop using the InstallTrigger API to detect Firefox
The InstallTrigger API has been deprecated since Firefox version 100. On recent builds of Firefox Developer Edition, it is undefined, causing rootID to be set to "0". On Firefox-based browsers, calling bookmarks.getChildren() with this value throws an error.
This commit changes this browser detection technique to User Agent matching.
@brian-girko
+1