play68.js 823 B

1234567891011121314151617
  1. function play68_init() {
  2. updateShare(0);
  3. }
  4. function play68_submitScore(score) {
  5. updateShareScore(score);
  6. Play68.shareFriend();
  7. //setTimeout( function() { Play68.shareFriend(); }, 1000 )
  8. }
  9. function updateShare(score,a) {
  10. var descContent = "消消看,挑战1000分";
  11. score > 1000 ? shareTitle ="挑战1000分成功!我取得了" + score + "分,超过了" + a + "%的网友,据说全球只有0.1%的人能过1500分!":score > 0 ? shareTitle ="据说全球只有0.1%的人能过1500分!我取得了" + score + "分,超过了" + a + "%的网友,挑战1000分确实有困难呀!" : shareTitle ="挑战1000分,据说全球只有0.1%的人能过1500分!"; appid = '';
  12. Play68.setShareInfo(shareTitle,descContent);
  13. document.title = shareTitle;
  14. }
  15. function updateShareScore(score) {
  16. updateShare(score);
  17. }