From 06746c4ab8d92cf194aaaa6d49c6337f1e65cb7c Mon Sep 17 00:00:00 2001 From: "Yu (Alex) Zhao" Date: Thu, 4 Aug 2016 03:29:53 +0800 Subject: [PATCH 1/8] Create wxinjector.js --- wxinjector.js | 153 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 153 insertions(+) create mode 100644 wxinjector.js diff --git a/wxinjector.js b/wxinjector.js new file mode 100644 index 0000000000..896121d48e --- /dev/null +++ b/wxinjector.js @@ -0,0 +1,153 @@ +window.rawSend = function(user,text,message,wait,callback,totalCount){ + var chatFactory = angular.element(document.body).injector().get('chatFactory'); + var confFactory = angular.element(document.body).injector().get('confFactory'); + if (totalCount==null || totalCount<=0){ + totalCount = 1; + } + var json = { + MsgType: confFactory.MSGTYPE_TEXT, + Content: text, + ToUserName:user.UserName + }; + json = $.extend({},json,message); + var message = chatFactory.createMessage(json); + (function(user,message,totalCount,callback,wait,chatFactory){ + setTimeout(function(){ + chatFactory.sendMessage(message); + if (callback!=null){ + callback(user,message,totalCount); + } + }, wait); + })(user,message,totalCount,callback,wait,chatFactory); + } + window.broadCastTo = function(list,text,message,step,callback,debug){ + var length = list.length; + var sendFunc = window.rawSend; + if (step==null || step<0){ + step = 250; + } + for(i=0;i0){ + percent = Math.ceil( 100*Number(count)/Number(totalCount)); + }else{ + percent = 100; + } + $("#bProgressPassed").attr("style","width:"+percent+"%;border-top: 2px solid #3a98fb;"); + } + if ($("input[name=range]:checked").val()==="all"){ + window.broadCastAll(text,message,step,callback,debug); + }else{ + window.broadCastTo(list,text,message,step,callback,debug); + } + } + + window.initBroadCastUI = function(){ + var root = $(".create_chatroom_dlg"); + var init = root.attr("b_ui_inited"); + if (init==null || init==false){ + $(root.find(".ngdialog-content")[0]).attr("style","width:800px"); + $(root.find(".selector")).attr("style","width:50%;"); + $(root.find(".title")).text("群发"); + $(root.find(".dialog_bd")).attr("style","width:50%;"); + var right = '
'+ + '

群发内容

'+ + ''+ + '

选项

'+ + '
'+ + '群发范围:'+ + '选择的'+ + '所有
'+ + '速度选项:
'+ + '间隔:秒'+ + '
'+ + '
'+ + '高级'+ + '
'+ + 'message(json):
'+ + ''+ + '
'+ + '
'; + + var progress = '
'+ + '
'+ + '
'; + right = right + progress; + $(root.find(".dialog_bd")).after(right); + $(root.find(".dialog_ft>a")).text("发送"); + + + + $(".create_chatroom_dlg").find('.dialog_ft').on("DOMNodeInserted", + function(){ + setTimeout(function(){ + $(".create_chatroom_dlg").find(".dialog_ft>a").text("发送"); + },100); + angular.element($(".create_chatroom_dlg").find(".dialog_ft>a")).scope().create = function (e){ + window.uiSendClick(e); + }; + }); + $(".create_chatroom_dlg").find('.dialog_ft').on("DOMNodeRemoved", + function(){ + setTimeout(function(){ + $(".create_chatroom_dlg").find(".dialog_ft>a").text("发送"); + },100); + + angular.element($(".create_chatroom_dlg").find(".dialog_ft>a")).scope().create = function (e){ + window.uiSendClick(e); + }; + }); + + root.attr("b_ui_inited",true); + }else{ + alert("ui not init"); + } + } + + if ($("#b_start").length===0){ + + var link = '群发'; + $(".main>.main_inner>.panel").before(link); + $("#b_start").on("click",function(){ + $(".header").find(".opt").click(); + angular.element($("#mmpop_system_menu").find("ul>li>a")[0]).scope().createChatroom(); + setTimeout(function(){ + window.initBroadCastUI(); + },500); + + }); + } From b8e8164e282fd2f2161e22767e15938c64f51ed1 Mon Sep 17 00:00:00 2001 From: "Yu (Alex) Zhao" Date: Thu, 4 Aug 2016 03:32:18 +0800 Subject: [PATCH 2/8] Create bookmark.html --- bookmark.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 bookmark.html diff --git a/bookmark.html b/bookmark.html new file mode 100644 index 0000000000..f12f8a8a2d --- /dev/null +++ b/bookmark.html @@ -0,0 +1,13 @@ + + + 微信群发 + + + + 把群发拖到书签栏 +
+ 拖动上面的链接到chrome书签栏,然后打开wx.qq.com + 在wx.qq.com登录成功后,点击刚刚拖过去的书签栏的书签,就可以群发了. +
+ + From befb5ad32f1f1caef68bc82be1f5e19318f0dfbb Mon Sep 17 00:00:00 2001 From: "Yu (Alex) Zhao" Date: Fri, 5 Aug 2016 12:35:22 +0800 Subject: [PATCH 3/8] Update wxinjector.js --- wxinjector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxinjector.js b/wxinjector.js index 896121d48e..04292fb9ca 100644 --- a/wxinjector.js +++ b/wxinjector.js @@ -82,7 +82,7 @@ window.rawSend = function(user,text,message,wait,callback,totalCount){ $(root.find(".ngdialog-content")[0]).attr("style","width:800px"); $(root.find(".selector")).attr("style","width:50%;"); $(root.find(".title")).text("群发"); - $(root.find(".dialog_bd")).attr("style","width:50%;"); + $(root.find(".dialog_bd")).attr("style","width:48%;"); var right = '
'+ '

群发内容

'+ ''+ From 62ea4fd798cf46d78dde43e9820b340effce097d Mon Sep 17 00:00:00 2001 From: "Yu (Alex) Zhao" Date: Fri, 16 Aug 2019 19:39:24 +0800 Subject: [PATCH 4/8] Set theme jekyll-theme-tactile --- _config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_config.yml b/_config.yml index ac6a907bb2..a3b03c87ed 100644 --- a/_config.yml +++ b/_config.yml @@ -129,3 +129,5 @@ JB : # ./_includes/custom/[HELPER] # where [HELPER] is the name of the helper you are overriding. + +theme: jekyll-theme-tactile \ No newline at end of file From 94c3f6d0f9299d71d0d53bf15b897be8e236e14a Mon Sep 17 00:00:00 2001 From: "Yu (Alex) Zhao" Date: Fri, 16 Aug 2019 19:41:22 +0800 Subject: [PATCH 5/8] Create CNAME --- CNAME | 1 + 1 file changed, 1 insertion(+) create mode 100644 CNAME diff --git a/CNAME b/CNAME new file mode 100644 index 0000000000..b4255e5f6e --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +www.binance.us.com \ No newline at end of file From 0cf39cc53cc1bc14dabe6441f63b617104b67913 Mon Sep 17 00:00:00 2001 From: "Yu (Alex) Zhao" Date: Fri, 16 Aug 2019 20:14:08 +0800 Subject: [PATCH 6/8] Update _config.yml --- _config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_config.yml b/_config.yml index a3b03c87ed..470fe8c0b0 100644 --- a/_config.yml +++ b/_config.yml @@ -12,8 +12,8 @@ markdown: redcarpet title : New Blog tagline: Site Tagline author : - name : Name Lastname - email : blah@email.test + name : Vicki + email : vicki@t-ori.com github : username twitter : username feedburner : feedname @@ -130,4 +130,4 @@ JB : # where [HELPER] is the name of the helper you are overriding. -theme: jekyll-theme-tactile \ No newline at end of file +theme: jekyll-theme-tactile From 8a35e6868d0ba7b434848dfef98918c04e60d638 Mon Sep 17 00:00:00 2001 From: "Yu (Alex) Zhao" Date: Fri, 16 Aug 2019 20:14:46 +0800 Subject: [PATCH 7/8] Update _config.yml --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 470fe8c0b0..b1099d9bfa 100644 --- a/_config.yml +++ b/_config.yml @@ -9,7 +9,7 @@ markdown: redcarpet # Themes are encouraged to use these universal variables # so be sure to set them if your theme uses them. # -title : New Blog +title : Blog tagline: Site Tagline author : name : Vicki From 56929ae1802466c9f755ae233ce78bc92061ef89 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 16 Aug 2019 20:19:07 +0800 Subject: [PATCH 8/8] update bootstrap --- .../bootstrap/css/bootstrap-theme.min.css | 0 .../bootstrap/css/bootstrap.min.css | 0 .../bootstrap/css/bs-sticky-footer.css | 0 .../fonts/glyphicons-halflings-regular.eot | Bin .../fonts/glyphicons-halflings-regular.svg | 0 .../fonts/glyphicons-halflings-regular.ttf | Bin .../fonts/glyphicons-halflings-regular.woff | Bin .../bootstrap/js/bootstrap.min.js | 0 .../themes/{bootstrap-3 => bootstrap}/css/style.css | 0 9 files changed, 0 insertions(+), 0 deletions(-) rename assets/themes/{bootstrap-3 => bootstrap}/bootstrap/css/bootstrap-theme.min.css (100%) rename assets/themes/{bootstrap-3 => bootstrap}/bootstrap/css/bootstrap.min.css (100%) rename assets/themes/{bootstrap-3 => bootstrap}/bootstrap/css/bs-sticky-footer.css (100%) rename assets/themes/{bootstrap-3 => bootstrap}/bootstrap/fonts/glyphicons-halflings-regular.eot (100%) rename assets/themes/{bootstrap-3 => bootstrap}/bootstrap/fonts/glyphicons-halflings-regular.svg (100%) rename assets/themes/{bootstrap-3 => bootstrap}/bootstrap/fonts/glyphicons-halflings-regular.ttf (100%) rename assets/themes/{bootstrap-3 => bootstrap}/bootstrap/fonts/glyphicons-halflings-regular.woff (100%) rename assets/themes/{bootstrap-3 => bootstrap}/bootstrap/js/bootstrap.min.js (100%) rename assets/themes/{bootstrap-3 => bootstrap}/css/style.css (100%) diff --git a/assets/themes/bootstrap-3/bootstrap/css/bootstrap-theme.min.css b/assets/themes/bootstrap/bootstrap/css/bootstrap-theme.min.css similarity index 100% rename from assets/themes/bootstrap-3/bootstrap/css/bootstrap-theme.min.css rename to assets/themes/bootstrap/bootstrap/css/bootstrap-theme.min.css diff --git a/assets/themes/bootstrap-3/bootstrap/css/bootstrap.min.css b/assets/themes/bootstrap/bootstrap/css/bootstrap.min.css similarity index 100% rename from assets/themes/bootstrap-3/bootstrap/css/bootstrap.min.css rename to assets/themes/bootstrap/bootstrap/css/bootstrap.min.css diff --git a/assets/themes/bootstrap-3/bootstrap/css/bs-sticky-footer.css b/assets/themes/bootstrap/bootstrap/css/bs-sticky-footer.css similarity index 100% rename from assets/themes/bootstrap-3/bootstrap/css/bs-sticky-footer.css rename to assets/themes/bootstrap/bootstrap/css/bs-sticky-footer.css diff --git a/assets/themes/bootstrap-3/bootstrap/fonts/glyphicons-halflings-regular.eot b/assets/themes/bootstrap/bootstrap/fonts/glyphicons-halflings-regular.eot similarity index 100% rename from assets/themes/bootstrap-3/bootstrap/fonts/glyphicons-halflings-regular.eot rename to assets/themes/bootstrap/bootstrap/fonts/glyphicons-halflings-regular.eot diff --git a/assets/themes/bootstrap-3/bootstrap/fonts/glyphicons-halflings-regular.svg b/assets/themes/bootstrap/bootstrap/fonts/glyphicons-halflings-regular.svg similarity index 100% rename from assets/themes/bootstrap-3/bootstrap/fonts/glyphicons-halflings-regular.svg rename to assets/themes/bootstrap/bootstrap/fonts/glyphicons-halflings-regular.svg diff --git a/assets/themes/bootstrap-3/bootstrap/fonts/glyphicons-halflings-regular.ttf b/assets/themes/bootstrap/bootstrap/fonts/glyphicons-halflings-regular.ttf similarity index 100% rename from assets/themes/bootstrap-3/bootstrap/fonts/glyphicons-halflings-regular.ttf rename to assets/themes/bootstrap/bootstrap/fonts/glyphicons-halflings-regular.ttf diff --git a/assets/themes/bootstrap-3/bootstrap/fonts/glyphicons-halflings-regular.woff b/assets/themes/bootstrap/bootstrap/fonts/glyphicons-halflings-regular.woff similarity index 100% rename from assets/themes/bootstrap-3/bootstrap/fonts/glyphicons-halflings-regular.woff rename to assets/themes/bootstrap/bootstrap/fonts/glyphicons-halflings-regular.woff diff --git a/assets/themes/bootstrap-3/bootstrap/js/bootstrap.min.js b/assets/themes/bootstrap/bootstrap/js/bootstrap.min.js similarity index 100% rename from assets/themes/bootstrap-3/bootstrap/js/bootstrap.min.js rename to assets/themes/bootstrap/bootstrap/js/bootstrap.min.js diff --git a/assets/themes/bootstrap-3/css/style.css b/assets/themes/bootstrap/css/style.css similarity index 100% rename from assets/themes/bootstrap-3/css/style.css rename to assets/themes/bootstrap/css/style.css