WAP version Sina Weibo sharing button JS code

From , 5 Years ago, written in JavaScript, viewed 111 times.
URL https://pastebin.vip/view/b0585160
  1. <script type="text/javascript">
  2.         function WapTosinaweibo(vid) {
  3.             var _rt = encodeURI("脚本分享网");
  4.             var _ru = encodeURIComponent("http://www.sharejs.com");
  5.             var _appkey = encodeURI("8010xxxxx"); //填写你自己的appkey
  6.             var _st = new Date(parseInt(new Date().valueOf()/1000)*100);
  7.             var _u = 'http://weibo.cn/ext/share?ru=' + _ru + '&rt=' + _rt  + '&st=333&appkey=' + _appkey;
  8.             window.location.href = _u;
  9.         }
  10.  
  11.         function createimg() {
  12.             $.ajax({
  13.                 async: false,
  14.                 type: "get",
  15.                 url: "?random=" + Math.random(),
  16.                 data: { type: "createimg" },
  17.                 success: function (data) {
  18.  
  19.                 }
  20.             });
  21.         }
  22.     </script>
  23.  
  24.  
  25. <input id="btnShare" type="button" value="分享到新浪微博" onclick="javascript:WapTosinaweibo();" />
  26. //javascript/5016

Reply to "WAP version Sina Weibo sharing button JS code"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website