When I’m in the browser, I prefer to stay in the browser. When I visit amazon.com I don’t want the app. I wish there were a way to disable this behavior on a domain by domain basis.
On Android, You can open settings > Apps and notifications > Amazon > Open By Default > Clear Defaults. Then set 'open supported links' to 'dont't open' or 'open'
When a universal link opens an application, there should be a link in the top right of the screen to open it in Safari. If I remember correctly, when you choose this option, iOS will save your preference and stay in Safari instead of opening in that particular application in the future.
I like how Firefox for Android does it: "Open in App" is the first menu item when you're on a site that has a matching app installed. Best of both worlds: user retains control of their app / browser experience, and can easily opt in to using the app.
Somehow it always opens Google Drive app wherever I try to open https://drive.google.com in Incognito mode in Firefox for Android. In hate it very much and it doesn't even ask me. (I'm not authenticated with that account on device, so it makes impossible to access documents without login on Android)
This indicates that the app claimed the URL, so to prevent that you'd need to go into the app settings (at an Android level) and stop Google Drive from claiming those URLs.