I found ways to share my game on mobile but how do i do it on html5 web browser project?
Use the web share api. (Works in "all" situations except webview)
The built-in Share plugin works in all situations, including in Cordova (Android/iOS with webview. There's no need to use scripting.
Develop games in your browser. Powerful, performant & highly capable.
I want to share on social media.
According to the example of Construct I do not see the possibility of doing this. I'm wrong?
Scroll down a bit - you can just about see the icons of apps you can share with at the bottom, but they are partially covered up. Any installed social media apps you can share with appear there. For example Twitter appears there for me.