How could I use Social Share to work on the browser or is there any alternatives to implement something similar on the web browser

Social Share currently only works on a device(iOS) but it won’t work on the web browser(safari) since it is not supported by cordova. Is there any alternative way to implement something similar to social share to work in iOS/Android and the web browser(safari/chrome)?

When I try using social share on the web browser I get this problem: [Cordova is not available. Make sure to include cordova.js or run in a device/simulator (running in emulator)]