<body>
<p id="pageLink" style="word-break:break-all;">aaa</p>
<div>
<p align="center" style="margin-bottom: 20px;margin-top: 0px;">MSDK Embeded WebView Test Page</p>
<h2>浏览器能力:</h2>
<input class="btn" type="button" onclick="CloseWeb()" value="关闭页面" />
<input class="btn" type="button" onclick="GoBack()" value="后退一页" />
<input class="btn" type="button" onclick="GoForward()" value="前进一页" />
<input class="btn" type="button" onclick="GetUserAgent()" value="获取UserAgent">
<input class="btn" type="button" onclick="QueryNetworkType()" value="查询网络状态" />
<a href="./msdktest2.html">跳转到测试页2</a>
<h2>伪协议测试:</h2>
<a href="mqqwpa://im/chat?chat_type=wpa&uin=2996337391">跳转到手Q</a>
<br><br>
<a href="weixin://dl/business/?ticket=t5084d55f4f843869154aafc47a483fe2#wechat_redirect">跳转到微信</a>
<br><br>
<a href="tmast://">跳转到应用宝</a>
<br><br>
<h2>与游戏交互:</h2>
<textarea name="msgToGame" id="msgToGame" cols="40" rows="5"></textarea><br/>
<input class="btn" type="button" onclick="SendToGame()" value="发送信息到游戏" />
<h2>分享能力(使用网页截图):</h2>
<input class="btn" type="button" value="QQ结构化消息分享To空间" onclick="msdkShare(QQStructuredShare2zone)"/>
<input class="btn" type="button" value="QQ结构化消息分享To会话" onclick="msdkShare(QQStructuredShare2friend)"/>
<input class="btn" type="button" value="QQ音乐分享To空间" onclick="msdkShare(QQMusicShare2zone)"/>
<input class="btn" type="button" value="QQ音乐分享To会话" onclick="msdkShare(QQMusicShare2friend)"/>
<input class="btn" type="button" value="QQ大图分享To空间" onclick="msdkShare(QQPhotoShare2zone)"/>
<input class="btn" type="button" value="QQ大图分享To会话" onclick="msdkShare(QQPhotoShare2friend)"/>
<br/>
<input class="btn" type="button" value="微信结构化消息分享" onclick="msdkShare(WXStructuredShare)"/>
<input class="btn" type="button" value="微信音乐分享To朋友圈" onclick="msdkShare(WXMusicShare2zone)"/>
<input class="btn" type="button" value="微信音乐分享To会话" onclick="msdkShare(WXMusicShare2friend)"/>
<input class="btn" type="button" value="微信大图分享To朋友圈" onclick="msdkShare(WXPhotoShare2zone)"/>
<input class="btn" type="button" value="微信大图分享To会话" onclick="msdkShare(WXPhotoShare2friend)"/>
<input class="btn" type="button" value="微信URL分享To朋友圈" onclick="msdkShare(WXUrlShare2zone)"/>
<input class="btn" type="button" value="微信URL分享To会话" onclick="msdkShare(WXUrlShare2friend)"/>
<h2>分享能力(使用网页截图):</h2>
<h3>使用网络图片(仅限Android QQ分享):</h3>
<input class="btn" type="button" value="QQ结构化分享(其他QQ分享类似)" onclick="msdkShare(QQShareCustomImage)"> <br/>
<h3>使用图片数据(Android/iOS;图片数据大会造成页面卡顿,建议根据实际情况进行压缩):</h3>
<p>QQ结构化消息分享To会话<input type="file" id="22" onchange="ReaderImgage(this,1)"></p>
<p>QQQ大图分享To空间<input type="file" id="33" onchange="ReaderImgage(this,2)"></p>
<p>QQ大图分享To会话<input type="file" id="44" onchange="ReaderImgage(this,3)"></p>
<p>微信结构化消息分享<input type="file" id="55" onchange="ReaderImgage(this,4)"></p>
<p>微信大图分享To朋友圈<input type="file" id="66" onchange="ReaderImgage(this,5)"></p>
<p>浏览器设置位置和大小</p>
<p>
<span>x: <input type="text" id="x" size="3"></span>
<span>y: <input type="text" id="y" size="3"></span>
<span>w: <input type="text" id="width" size="3"></span>
<span>h: <input type="text" id="height" size="3"></span>
</p>
<p><input type="button" value="设置浏览器位置和大小" onclick="SetPosition()"></p>
</div>
<div id="log">
</div>
-
Notifications
You must be signed in to change notification settings - Fork 0
ExponentialChiller/testGit
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
for my test
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published