AppleScript app is not recognized as default browser
I do not think that you can build a browser like that, but I do know that there is a very simple browser out that which will take whatever URL it is sent and pass it to the clipboard:

https://github.com/alistairmcmillan/short/tree/master/Copy%20URL%20to%20Clipboard

Perhaps that might help.