【转载】博客园 添加小女孩
博客园添加小女孩
转载于https://www.cnblogs.com/fyssl/p/12191565.html
1、找到设置界面
2、申请JS权限(等待审核)
3、设置脚本
1 /* 看板娘 */ 2 3 canvas#live2dcanvas { 4 border: 0 !important; 5 left: 0; 6 }
1 <!-- 加了这个点击页面就会有小星星 --> 2 <script src="https://blog-static.cnblogs.com/files/ibigboy/clicklove.js"></script> 3 <!-- 加了这个点击页面就会有小女孩 --> 4 <script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script> 5 <script> 6 L2Dwidget.init({ "model": { jsonPath: 7 "https://unpkg.com/live2d-widget-model-shizuku@1.0.5/assets/shizuku.model.json", 8 "scale": 1 }, "display": { "position": "right", "width": 150, "height": 300, 9 "hOffset": 0, "vOffset": -20 }, "mobile": { "show": true, "scale": 0.5 }, 10 "react": { "opacityDefault": 0.7, "opacityOnHover": 0.2 } }); 11 </script>
1 /* 看板娘 */ 2 3 <script src="https://cdn.jsdelivr.net/npm/live2d-widget@3.0.4/lib/L2Dwidget.min.js"></script> 4 <script type="text/javascript"> 5 L2Dwidget.init(); 6 </script>