@zhenmin2233
2017-09-01T08:25:42.000000Z
字数 2822
阅读 228
https://avgle.github.io/doc/#introduction
写api写不过一个毛片网站。
抓了以后直接magnent离线下载
<----------------------------------------------------------->
http://www.jianshu.com/p/d3b19968a4c2
移动端适配之雪碧图(sprite)背景图片定位
<----------------------------------------------------------->
this.$menuItems = [].slice.call(this.$element.find(this.options.itemSelector));
这样就可以使用 this.$menvItems.map((elment)=> {}) 来使用了
<----------------------------------------------------------->
http://jdev.tw/blog/734/autohotkey-introduction-chinese 教程
https://zhuanlan.zhihu.com/p/24020977 这个有提示下载autohotkey
个人改键代码!!!!! 非常好用,
<----------------------------------------------------------->
https://github.com/ExboCooope/WebHYZ/blob/master/GAME/boss_slz.js
对于学有余力的同学, 推荐学习一下专业的游戏引擎
<----------------------------------------------------------->
python下载视频 you-get 介绍: http://www.jianshu.com/p/a3f8df948395
you-get -o D:/1萧大新分享 --format=mp4 [视频网址]
<----------------------------------------------------------->
https://www.zhihu.com/question/63334274/answer/210862394?utm_medium=social&utm_source=qq
如果赌博输赢的概率是50%,那为什么长久赌博的人多会倾家荡产而不是收益均衡?
<----------------------------------------------------------->
提个问题, 同一网站下 加载过的库, 再进新页面是不是直接在缓存里离线加载, 速度快很多? 是
浏览器按照加载js后面的版本号来加载
src="http: //code.jquery.com/jqurey-3.2.1.min.js"
<----------------------------------------------------------->
发一个工具介绍:whistle
node 工具,学了 node 班的大佬应该用不到。
通过本地开启服务器转发请求,
主要用途是本地调试需要存储cookie的后台接口。
https://www.zybuluo.com/anoninz/note/852580
<----------------------------------------------------------->
$(document).on('mousewheel DOMMouseScroll', (e) => {
e.preventDefault();
}
可以使滚动事件不能滚轮 , 只能用scrollbar滚动页面
<----------------------------------------------------------->
iOS/Android 微信及浏览器中唤起本地APP:
http://blog.csdn.net/linshijun33/article/details/71429669?locationNum=10&fps=1
Android 通过网页打开自己的APP(scheme):
http://blog.csdn.net/qduningning/article/details/37602101
微信都不行, 因为微信封了,只能他同意的app才可以
<----------------------------------------------------------->
有没有针对 DIV 加载完成的 事件? 监视DOM变动么?
如果是监视的话,搜Mutation Observer
<----------------------------------------------------------->
好看的效果
.main {display: inline-block;padding: 10px;background: linear-gradient(to bottom, white, pink);}.coupon {position: relative;width: 200px;height: 40px;margin: 5px;background-color: #e9ac30;}.coupon::before {position: absolute;content: "";display: block;position: absolute;top: 0;left: -5px;width: 5px;height: 40px;border-radius: 2px 0 0 2px;background: radial-gradient(10px at left,transparent 50%, #e9ac30 50%);}.coupon::after {position: absolute;content: "";display: block;position: absolute;top: 0;right: -5px;width: 5px;height: 40px;border-radius: 0 2px 2px 0;background: radial-gradient(10px at right,transparent 50%, #e9ac30 50%);}<div class="main"><div class="coupon"></div><div class="coupon"></div><div class="coupon"></div><div class="coupon"></div><div class="coupon"></div></div>
<----------------------------------------------------------->