PageSourceSearch

https://www.h2o-china.com/news/js/wxshare.js

js h2o-china.com collected 2026-10-02 07:48:44 UTC 1,036 bytes, 34 lines download raw bytes

1$(document).ready(function()
2{    
3    $.getJSON("/news/wxapi", function(json)
4    {
5        jsondata = JSON.stringify(json); 
6        wx.config({
7            debug: false, 
8            appId: json.appid, 
9            timestamp: json.timestamp, 
10            nonceStr: json.nonceStr, 
11            signature: json.signature,
12            jsApiList: ["onMenuShareTimeline", "onMenuShareAppMessage"]
13        }); 
14
15        wx.ready(function(){
16            
17            // 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口
18            wx.onMenuShareTimeline({
19                title: shareTitle,
20                link:json.link,
21                imgUrl: imgUrl
22            });
23
24            // 获取“分享给朋友”按钮点击状态及自定义分享内容接口
25            wx.onMenuShareAppMessage({
26                title: shareTitle,
27                desc: descContent,
28                link:json.link,
29                imgUrl: imgUrl
30            });
31        });
32    });
33
34});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.