亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

navigator.share not working properly on Windows 10 Chrome + Edge browsers
P粉459440991
P粉459440991 2024-03-28 16:45:10
0
1
631

I'm using the Network Sharing API, which according to the caniuse website should be supported on Windows OS (browsers Chrome and Edge). But when I try to use navigator.share({ title: 'Title' }); I get an empty window with a message.

For example, if I use Mac OS Safari, it works fine and shows all ways to share content.

My question is why on Windows I see empty windows and how to fix it.

P粉459440991
P粉459440991

reply all(1)
P粉545682500

The problem is that Windows requires the url parameters to be sent along with the header. If you change it to navigator.share({ title: 'Title', url: 'url' }); it will start working on Windows and MacOS.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template