jefferywang / nativeshare.js Goto Github PK
View Code? Open in Web Editor NEW一个在手机网页端可以直接调用原生分享的js
Home Page: http://blog.wangjunfeng.com/archives/618
License: MIT License
一个在手机网页端可以直接调用原生分享的js
Home Page: http://blog.wangjunfeng.com/archives/618
License: MIT License
var qApiSrc = {
lower: "https://3gimg.qq.com/html5/js/qb.js",
higher: "https://jsapi.qq.com/get?api=app.share"
};
需要将http改成https 才能正常引入站点
是不是要先设置注入权限验证配置这些步骤??
微信或微信客户端打开的页面为什么触发不了分享的事件
对qq浏览器,uc浏览器的版本有限制么 低版本的也能兼容么?
如题,因为最近在做移动版网页,对于目标用户,他们还是希望网页直接带分享功能的
对UC和QQ浏览器的版本有什么要求嘛?
不会是试出来的吧?
window.location = "weixin:";
可以直接打开微信,然后,就没有然后了。。。
不知道怎么调用微信内置浏览器,也许根本就没有这种方法
楼主有碰到类似的需求么?
rt.
在魅族PRO5及锤子T1下测试,更多
类型无法分享(最近刚发现,之前未发生此情况)。
UA: Mozilla/5.0 (Linux; U; Android 5.1; zh-cn; PRO 5 Build/LMY47D) AppleWebKit/537.36 (KHTML, like Gecko)Version/4.0 Chrome/37.0.0.0 MQQBrowser/7.0 Mobile Safari/537.36
如题,我想分享后做一些处理,可以有回调吗?
UC浏览器下分享图片不对,不是传进去的图片
ios下的qq与uc没有问题;
但是android里的uc浏览器qzone没有反应,监测版本和qzone没有问题;
可能原因:ucweb.startRequest("shell.page_share", [title, desc, url, to_app, "", "@" + from, ""]);没有响应;
解决:暂时找不到方法,各位有法子吗?望告知!
现在都是分享出去链接,可以改为分享纯文字或者一张图片吗?
我试了下,为什么现在QQ浏览器的browser对象和window.qb对象都取不到了
用起来不错,赞!
我想问下,假设我分享完,我不想跳转到6个分享的界面,想直接跳转到另一个界面。这边有没有一个接口给我调用?
能否加MIT?謝!
感谢作者的分享,很酷。。
试用了一下UC,发现分享出的图片始终是UC中当前页面截图,亲有解决方案吗?
如题。
现在打开demo页面,分享到微博、微信、QQ等这些都是固定的。能不能通过配置,让用户自定义分享到哪里。
例如,默认情况下,全部显示,可以通过配置只分享到微信。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.